~canonical-is-bootstack/layer-snap:revert/c022e5e

Last commit made on 2021-02-01
Get this branch:
git clone -b revert/c022e5e https://git.launchpad.net/~canonical-is-bootstack/layer-snap
Members of Canonical IS BootStack can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
revert/c022e5e
Repository:
lp:~canonical-is-bootstack/layer-snap

Recent commits

7b051be... by Alvaro Uria

Revert "[jjo] add basic setup.py and charms/layer/__init__.py"

This reverts commit 43619801d812873df5c1fe738fe7960742e24507.

1c46ed1... by Stuart Bishop

Reblacken with newer black

3facd1a... by Stuart Bishop

Update lint rules

3d22615... by Stuart Bishop

Blacken

37feaee... by Stuart Bishop

Correct lies and add dependencies to setup.py

c022e5e... by JuanJo Ciarlante

[jjo] add basic setup.py and charms/layer/__init__.py

eab7934... by Stuart Bishop

Handle missing snap proxy config items

Snap proxy configuration is gone from the charm config
by default, so we probably should break completely
when they are not found.

f89c4d4... by Stuart Bishop

Remove snap proxy config, preserve Juju snap proxy config

Removes the snap proxy config items, deprecated in favour of using
Juju model configuration. Charmers can manually add them back if
necessary, such as maintaining old charms in old Juju deployments.

Avoid erasing snap proxy information set by Juju, unless we are
sure the charm snap proxy config has actually been changed and
the operator is trying to clear the settings.

06171a5... by Aurelien Lourot

Retry on snap installation failures

Fix for https://bugs.launchpad.net/layer-snap/+bug/1839616

Also made the linter happy.

d564202... by Haw Loeung

Better handle snap refresh failures - LP:1869630

If snap refresh calls fail, either due to not being able to connect to
the Snapstore or that it's currently unavailable, handle this and
return no refreshes available. This lets check_refresh_available()
continue with not setting appropriate refresh available flags.