layer-apt:pinning

Last commit made on 2018-05-28
Get this branch:
git clone -b pinning https://git.launchpad.net/layer-apt
Only Stuart Bishop can upload to this branch. If you are Stuart Bishop please log in for upload directions.

Branch merges

Branch information

Name:
pinning
Repository:
lp:layer-apt

Recent commits

5c6920b... by Stuart Bishop

Add layer option to add package signing keys shipped with the charm

Adds a 'keys' layer option, where a list of relative paths to
package signing keys shipped with the charm may be provided.
These will be automatically added before install_sources and
install_keys is handled.

36f956a... by Stuart Bishop

Set Juju application version from package version

7377e1f... by Stuart Bishop

Cope with unexpected null values in application config

It seems that charm composition occasionally loses application
configuration defaults from lower layers, with the end result
we end up with a None where we really should only ever see
the empty string. Work around this.

608bdf5... by Marco Ceppi

Add layer.yaml defines

eb5a6ca... by Stuart Bishop

Avoid dependency on python3-apt, only available as a system dependency

charmhelpers.fetch.apt_cache() imports apt_pkg, which is only available
as a system package and breaks if use_system_packages=False is specified
in layer.yaml.

b4ff5ff... by Stuart Bishop

Emit initialization message at the correct time

6e307a2... by Stuart Bishop

Remove unnecessary backwards compatible aliases.

charms.reactive doesn't allow imports of reactive/*
modules, so no need for these aliases.

625d18e... by Stuart Bishop

Unset installed state for manually removed packages

9ce740a... by Stuart Bishop

Document package installation layer options

03f6318... by Stuart Bishop

(Re)install packages from layer options.

If a 'packages' list is defined in layer options under the 'basic' or
'apt' sections, then the packages are queued for install. Even
when already installed by the basic layer, this ensures that apt
layer states and hold status are set correctly.