lp://staging/~barry/ubuntu-system-image/lp1423622
- Get this branch:
- bzr branch lp://staging/~barry/ubuntu-system-image/lp1423622
Branch merges
- Michael Vogt: Pending requested
-
Diff: 369 lines (+201/-34)6 files modifiedsystemimage/api.py (+5/-2)
systemimage/curl.py (+3/-1)
systemimage/download.py (+9/-5)
systemimage/main.py (+54/-24)
systemimage/tests/test_main.py (+127/-1)
systemimage/udm.py (+3/-1)
Related bugs
Bug #1423622: Please provide machine parsable output | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 318. By Barry Warsaw
-
Downloaders can now have a list of callbacks.
Convert the old cli callbacks to individual ones:
- dots
- log file
- json on stdout (new)Add --progress
- 317. By Barry Warsaw
-
Disable tests which can't work when run as root, as happens during package
build. uid == 0 can always write to files and directories with permission
0o000. - 313. By Barry Warsaw
-
* The ``User-Agent`` HTTP header now also includes device and channel names.
(LP: #1387719) - 312. By Barry Warsaw
-
LP: #1421434 - When the udm downloader creates a group download and waits for
its finished signal, the reactor must only respond to signals on the
object_path for the group download it created. It turns out that in some
scenarios, multiple udm reactors can be active at a time and if they don't
filter on object_path, a reactor whose group download is not complete may
terminate prematurely. (This was the root cause of LP: #1413265, which I've
closed as invalid.)Add another test for 100% udm code coverage.
Simplify the _print() helper in the udm downloader and remove a test that was
depending on the previous behavior (and only existed for code coverage).Simply the tox.ini so that two environment variables which are not dependent
on the test environment, can be shared. - 311. By Barry Warsaw
-
* A new key, ``target_
version_ detail` ` has been added to the dictionary
returned by the ``.Information()`` D-Bus method. (LP: #1399687) - 310. By Barry Warsaw
-
* Support production factory resets. `system-image-cli --production-reset`
and a new D-Bus API method `ProductionReset()` are added. Given by Ricardo
Salveti. (LP: #1419027)Also:
* Modify the coverage.ini files, and their use in tox.ini so that we can
regain 100% coverage. We omit the downloader-specific files (e.g. curl.py
and udm.py) when that downloader is not being tested.* Fix the use of --p/-p in cli tests.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)