~ec0/juju-lint:add-policy-routing

Last commit made on 2020-09-01
Get this branch:
git clone -b add-policy-routing https://git.launchpad.net/~ec0/juju-lint
Only James Hebden can upload to this branch. If you are James Hebden please log in for upload directions.

Branch merges

Branch information

Name:
add-policy-routing
Repository:
lp:~ec0/juju-lint

Recent commits

72aee25... by James Hebden

Add policy routing and other optional subordinates to optional subordinates and openstack operations charms the the contrib Canonical rules

e6b3722... by Edward Hope-Morley

Port more openstack config checks from ua-bundle-checker

Reviewed-on: https://code.launchpad.net/~hopem/juju-lint/+git/juju-lint/+merge/386575
Reviewed-by: James Hebden <email address hidden>
Reviewed-by: Amad Ali <email address hidden>

a08ec20... by Edward Hope-Morley

Port more openstack config checks from ua-bundle-checker

9c9a145... by James Hebden

Disable coloured logging when stdout is redirected

Reviewed-on: https://code.launchpad.net/~ec0/juju-lint/+git/juju-lint/+merge/385229
Reviewed-by: James Troup <email address hidden>

1115188... by James Hebden

Disable coloured logging when stdout is redirected

050cad6... by Arif Ali

Fix is_container func

Reviewed-on: https://code.launchpad.net/~arif-ali/juju-lint/+git/juju-lint/+merge/383799
Reviewed-by: James Troup <email address hidden>

0a72707... by James Hebden

Fix the snap, as it was not including the actual juju-lint library.
Also add more and better error handling around running juju-lint without a configuration file.
Support both absolute and config-relative paths for lint rules.

Reviewed-on: https://code.launchpad.net/~ec0/juju-lint/+git/juju-lint/+merge/384624
Reviewed-by: James Troup <email address hidden>

5ae3701... by James Hebden

Fix snap, add better error handling around missing config and rules files, support absolute paths for config file again

84958cc... by Arif Ali

Fix is_container func

020be3e... by James Hebden

This is a large merge with the following goals
 * Move to snap-only distribution and usage
 * Support remote-auditing live clouds via SSH (Fabric2)
 * Support multiple cloud types (OpenStack, Kubernetes)
 * Support auditing configuration in addition to the current support for auditing placement
 * Add support for XDG-compliant configuration file locations
 * Merge in additional configuration checks from ua-reviewkit and add support for regex and basic value tests such as greater-than-or-equal to, isset and equality for testing values against a baseline lint rules file
 * Move to pytest for testing and add coverage reporting to eventually get good test coverage
 * Move to setuptools_scm (and have the snap track this) to ensure consistent versioning following PEP440

All requirements have also been updated and a Pipfile and python-version file for using with Pipenv and pyenv have been added. setup.py has been adjusted to provide an entry-point instead of the previous symlink, and setuptools can be used to install an entrypoint binary, which the snap has been tested with successfully.

Reviewed-on: https://code.launchpad.net/~ec0/juju-lint/+git/juju-lint/+merge/384517
Reviewed-by: James Troup <email address hidden>