~xavpaice/layer-snap:setup

Last commit made on 2021-01-28
Get this branch:
git clone -b setup https://git.launchpad.net/~xavpaice/layer-snap
Only Xav Paice can upload to this branch. If you are Xav Paice please log in for upload directions.

Branch merges

Branch information

Name:
setup
Repository:
lp:~xavpaice/layer-snap

Recent commits

04bc880... by Stuart Bishop

Correct lies and add dependencies to setup.py

4361980... by JuanJo Ciarlante

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

9618a1d... 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.

2d16a68... 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.

34f38de... by Aurelien Lourot

Retry on snap installation failures

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

Also made the linter happy.

9c69a33... 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.

9bf203f... by Stuart Bishop

Snap coherence support

f66622f... by Cory Johns

Add cohort API to README

c21666b... by Cory Johns

Add missing "local install" flag management

0c82567... by Cory Johns

Fix typo, improve comments