Merge ~ltrager/maas:emulate_terminal_2.2 into maas:2.2
Proposed by
Lee Trager
Status: | Merged |
---|---|
Approved by: | Lee Trager |
Approved revision: | 028c4fadf293029093ef6fe8f6608e6e3486785a |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~ltrager/maas:emulate_terminal_2.2 |
Merge into: | maas:2.2 |
Diff against target: |
96 lines (+59/-4) 2 files modified
src/provisioningserver/refresh/maas_api_helper.py (+41/-4) src/provisioningserver/refresh/tests/test_maas_api_helper.py (+18/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lee Trager (community) | Approve | ||
Review via email: mp+328141@code.launchpad.net |
Commit message
Emulate a terminal when logging script output
Some applications don't properly detect that they are not being run in a
terminal and refresh output for progress bars, counters, and spinners. These
characters quickly add up making the log difficult to read. When writing output
from an application emulate a terminal so readable data is captured.
Fixes: LP: #1705792
Backport: abc094c196c4f7c
To post a comment you must log in.
Approved in https:/ /code.launchpad .net/~ltrager/ maas/+git/ maas/+merge/ 327927