Merge lp://qastaging/~mikemc/simplestreams/glance-extra-progress into lp://qastaging/~smoser/simplestreams/trunk
Status: | Merged |
---|---|
Merged at revision: | 354 |
Proposed branch: | lp://qastaging/~mikemc/simplestreams/glance-extra-progress |
Merge into: | lp://qastaging/~smoser/simplestreams/trunk |
Diff against target: |
197 lines (+105/-5) 3 files modified
simplestreams/mirrors/glance.py (+40/-2) simplestreams/util.py (+39/-1) tools/sstream-mirror-glance (+26/-2) |
To merge this branch: | bzr merge lp://qastaging/~mikemc/simplestreams/glance-extra-progress |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Pending | ||
Review via email: mp+226171@code.qastaging.launchpad.net |
Commit message
- Add support for per-file download progress callbacks to GlanceMirror
Description of the change
- Add support for per-file download progress callbacks to GlanceMirror
- Add simple progress_callback to util.get_local_copy to report when bytes are read.
- Add progress_callback to GlanceMIrror that uses get_local_copy's callback and adds more file metadata
- Add ItemInfoDryRunM
- Add util.ProgressAg
- ProgressAggregator can be initialized with a dict of items to download, and will use that to keep track of the overall total.
- Modify tools/sstream-
Updated after review comments to add --progress flag and fix lint issues.
post-merge, new 'make check' with pyflakes works well for me.