~chad.smith/software-properties:ua-status-from-json

Last commit made on 2021-11-01
Get this branch:
git clone -b ua-status-from-json https://git.launchpad.net/~chad.smith/software-properties
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
ua-status-from-json
Repository:
lp:~chad.smith/software-properties

Recent commits

9db2ab2... by Chad Smith

SoftwarePropertiesGTK: ignore timezone offsets of contract expiry

Avoid 'Unable to process contract expiry' messages

e2e7a5a... by Chad Smith

changelog for release

af1711f... by Chad Smith

utils: prefer ua status from status.json. Support schema 0.1 format

Adjust gtk.utils.get_ua_status to prefer reading
/var/lib/ubuntu-advantage/status.json instead of invoking
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/ubuntu-advantage/status.json.

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.

29b3016... by Corey Bryant

releasing package software-properties version 0.99.14

2d1ccdb... by Corey Bryant

cloudarchive: Enable support for the Yoga Ubuntu Cloud Archive on 20.04 (LP: #1948806).

ddedacf... by Robert Ancell

releasing package software-properties version 0.99.13

c0e426d... by Robert Ancell

Catch exception if UA status file is not written

59b8e29... by Robert Ancell

releasing package software-properties version 0.99.12

306dd79... by Robert Ancell

Remove unused code that is triggering pyflakes3

eb73823... by Robert Ancell

Show extended security maintenance status

Also worked on by Chad Smith.