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

Last commit made on 2021-11-01
Get this branch:
git clone -b ua-status-from-json-impish 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-impish
Repository:
lp:~chad.smith/software-properties

Recent commits

878c47b... by Chad Smith

SoftwarePropertiesGTK: ignore timezone offsets of contract expiry

Avoid 'Unable to process contract expiry' messages

cf0e4d7... by Chad Smith

changelog 0.99.13.1 for release

886de8f... 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.

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.

4c9407d... by Corey Bryant

releasing package software-properties version 0.99.11

60dc438... by Corey Bryant

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