Merge lp:~james-w/linaro-image-tools/split-package-fetcher into lp:linaro-image-tools/11.11
Proposed by
James Westby
Status: | Merged |
---|---|
Merged at revision: | 74 |
Proposed branch: | lp:~james-w/linaro-image-tools/split-package-fetcher |
Merge into: | lp:linaro-image-tools/11.11 |
Prerequisite: | lp:~james-w/linaro-image-tools/add-dot-list-to-filenames |
Diff against target: |
249 lines (+100/-47) 2 files modified
hwpack/packages.py (+51/-10) hwpack/tests/test_packages.py (+49/-37) |
To merge this branch: | bzr merge lp:~james-w/linaro-image-tools/split-package-fetcher |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki (community) | Approve | ||
Review via email:
|
Description of the change
Hi,
This split PackageFetcher in to two, adding IsolatedAptCache. This
is useful if you want that functionality, but without aiming to download
packages. For instance, I'll want this in a minute in some tests.
It leaves prepare() and cleanup() of PackageFetcher fairly untested, but
I don't want to test the behaviour of those methods on IsolatedAptCache
twice.
Thanks,
James
To post a comment you must log in.
I did not follow hwpack development from the start but this seems like a simple refactoring. I ran the tests, read the diff and cannot point at anything broken.
Approve