Merge ppa-dev-tools:wait-watch into ppa-dev-tools:main
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Bryce Harrington | ||||
Merged at revision: | fca5c1ea787f886d1a78d26ba7d1b97766b2cde9 | ||||
Proposed branch: | ppa-dev-tools:wait-watch | ||||
Merge into: | ppa-dev-tools:main | ||||
Diff against target: |
146 lines (+61/-5) 3 files modified
ppa/ppa.py (+8/-2) scripts/ppa (+27/-3) tests/test_scripts_ppa.py (+26/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt (community) | Approve | ||
PpaDevTools Developers | Pending | ||
Canonical Server packageset reviewers | Pending | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+451001@code.staging.launchpad.net |
Description of the change
Adds a --watch argument that gives the appearance of waiting "in place". So, instead of an ever scrolling list of status updates, the user sees just the current state of everything. This is done by clearing the screen before each update.
I want to get this feature introduced so people can try it out, before adding further refinements, because while there's a few ideas we can already think of, the best way to know is to see how it works in practice. Moreover, test coverage for command_wait() is practically non-existent, and I'd like to take some time to get proper testing in place before the implementation gets too sophisticated.
Also fills in some missing docs and light testing for just the command line args themselves.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Maybe I miss the point, sorry in that case!
But either way I hope my input is useful to you.