lp://staging/~mvo/ubuntu-system-image/json-output
- Get this branch:
- bzr branch lp://staging/~mvo/ubuntu-system-image/json-output
Branch merges
- Registry Administrators: Pending requested
-
Diff: 73 lines (+17/-2)3 files modifiedsystemimage/config.py (+2/-0)
systemimage/download.py (+6/-1)
systemimage/main.py (+9/-1)
Related bugs
Bug #1423622: Please provide machine parsable output | High | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 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.
- 309. By Barry Warsaw
-
* A new D-Bus signal ``Applied(bool)`` is added, which is returned in
response to the ``ApplyUpdate()`` asynchronous method call. For devices
which do not need to reboot in order to apply the update, this is the only
signal you will get. If your device needs to reboot you will also receive
the ``Rebooting(bool)`` command as with earlier versions. The semantics of
the flag argument are the same in both cases, as are the race timing issues
inherent in these signals. See the ``system-image-dbus( 8)`` manpage for
details. (LP: #1417176)
* As part of LP: #1417176, the ``--no-reboot`` switch for
``system-image-cli( 1)`` has been deprecated. Use ``--no-apply`` instead
(``-g`` is still the shortcut).Also:
* Set the dbus.proxies logger to be the same as systemimage.dbus so that
during the test suite, various expected low level log messages don't get
printed to stderr.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)