charm-juju-lint:stable/20.10

Last commit made on 2020-10-15
Get this branch:
git clone -b stable/20.10 https://git.launchpad.net/charm-juju-lint
Members of Canonical BootStack Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
stable/20.10
Repository:
lp:charm-juju-lint

Recent commits

491e4d0... by Drew Freiberger

Update to Apache2 License and update README for release

5a35fac... by Drew Freiberger

Update libjuju version to latest release in charm and tests

Tests on 2.8 models were failing due to libjuju 2.7.1 not able to
identify agent status updates. model.block_until was never exiting,
which highlighted the fact that we were pinned unnecessarily to an
old version of this library.

80ebdf5... by Drew Freiberger

Integrated common Makefile, tox.ini, and fixed up tests.

8f8056a... by Drew Freiberger

Update layer.yaml to install libffi-dev package

The python module juju requires cryptography module to be compiled on
installing units. This requires cffi library headers that are included
in libffi-dev package on xenial. Installing this package with layer-basic
allows the venv installation of libjuju to succeed on xenial installs.

1208c40... by Drew Freiberger

Update testing to add mock for NRPE and platform modules

612fe3e... by Diko Parvanov

Small change

4d14a78... by Diko Parvanov

Added layer venv

 - With layer venv python package juju==2.7.1 is now installed in
 venv at #!/opt/juju_venvs/jujulint/
 - Script now runs with venv from that location
 - Added distro in wheelhouse, as required by layer venv
 - Fixes issue where charm doesn't install in proxy environments where only
 JUJU_CHARM_HTTPS_PROXY is set (instead of HTTPS_PROXY) on the model

4c360e1... by Diko Parvanov

Changed cacert config to base64 string

2157b5d... by Diko Parvanov

Fixed code lint

 - No more flake8 violations
 - tox -e lint now succeeds

3f03fde... by Joe Guo

reactive/charm_juju_lint.py: apply JujulintHelper from lib

Signed-off-by: Joe Guo <email address hidden>