~cjwatson/snapstore-client:master

Last commit made on 2017-06-23
Get this branch:
git clone -b master https://git.launchpad.net/~cjwatson/snapstore-client
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~cjwatson/snapstore-client

Recent commits

c362e62... by Colin Watson

Remove unnecessary pre-logger interpolation

eb96aef... by Colin Watson

Iterate over logger.handlers more carefully

f058638... by Colin Watson

Allow setting stricter requests log levels

8d6ff68... by Colin Watson

Unhardcode stdout FD number

f9a2008... by Colin Watson

Set up better output logging

Using a logger rather than plain `print` makes it easier to unit-test
things without extensive monkey-patching, and is just generally better
style.

The general approach is borrowed from snapcraft, although I changed a
number of details: in particular, I only use colours for errors to avoid
sensory overload.

Note that we must use %-style rather than {}-style formatting, since the
latter can't safely be used in logging records without considerable
complications.

d85cb1b... by Colin Watson

Ignore .coverage and htmlcov

6bda9d4... by Colin Watson

Add initial test framework and config tests

More or less copied from snapdevicegw.

e45be55... by Colin Watson

Restore _sync_snap_assertions call in _import_snap

William Grant says that he removed this by accident in
6fa0aa1c8bdf3f204aead95c47fe24b41a4fe469.

4255eda... by Colin Watson

Update snapident API URLs

c5e5edc... by Colin Watson

Update snaprevs API URLs