Merge ~chad.smith/software-properties:ua-status-from-json-impish into software-properties:ubuntu/impish
Status: | Merged |
---|---|
Merged at revision: | cf0e4d7a9c528fb90cd7b8596e94e17bd5d3eac4 |
Proposed branch: | ~chad.smith/software-properties:ua-status-from-json-impish |
Merge into: | software-properties:ubuntu/impish |
Diff against target: |
141 lines (+57/-31) 2 files modified
debian/changelog (+9/-0) softwareproperties/gtk/utils.py (+48/-31) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Corey Bryant | Approve | ||
Grant Orndorff | Pending | ||
Lucas Albuquerque Medeiros de Moura | Pending | ||
Robert Ancell | Pending | ||
Review via email: mp+411092@code.launchpad.net |
Commit message
utils: prefer ua status from status.json. Support schema 0.1 format
Adjust gtk.utils.
/var/lib/
ua status on the commandline due to a network roundtrip that
is performed while running the command.
This status.json file will exist on all machines attached to an
Ubuntu Advantage subscription.
Unattached machines will persist status.json due to a systemd timer
that will sync current unattached or attached status to
/var/lib/
Allow get_ua_status will now also check a _schema_version key from
ua status which will log if the schema version has changed from the
expected version "0.1".
Changes in schema version may imply incompatibility with reading
UA status.
I think this is safe to merge without Robert's approval. Robert approved the jammy and hirsute changes, which are the same.