~zhhuabj/layer-snap:lp1847574

Last commit made on 2019-10-14
Get this branch:
git clone -b lp1847574 https://git.launchpad.net/~zhhuabj/layer-snap
Only Hua Zhang can upload to this branch. If you are Hua Zhang please log in for upload directions.

Branch merges

Branch information

Name:
lp1847574
Repository:
lp:~zhhuabj/layer-snap

Recent commits

a9d507c... by Hua Zhang

Don't use encoding argument with subprocess

python3.5 subprocess.check_output() doesn't support encoding
argument, this change will make it compatible with both
python3.5(xenial) and python3.6(bionic).

LP: #1847574

136df37... by Jason Hobbs

Don't use universal_newlines with subprocess.

This causes decode errors when the locale is ascii, which it
is in the juju hook context.

LP: #1843745

ea31062... by Stuart Bishop

Log output in the event of install failure

From branch lpg-install-failure of lp:~fnordahl/layer-snap

3c1d063... by Frode Nordahl

Replace print statements with hookenv.log

c65fcd4... by Frode Nordahl

Log output in the event of install failure

ed37d7a... by Frode Nordahl

Fix lint

1af76d0... by George Kraft

Install/refresh core snap before other snaps

d5e4d3a... by Jason Hobbs

Remove workarounds for bad snap output.

Workarounds for bugs 1588322, 1622782, and 1677557
required capturing output from the snap command and searching
it for substrings. This is no longer required as those bugs are
fixed. Bug 1819231 was triggered by the use of these workarounds,
which prompted their removal.

LP: #1819231

0df2edc... by Stuart Bishop

Update Copyright years

11aefcb... by Stuart Bishop

Strip whitespace from 'snap get' output