~hopem/juju-lint:port-ua-checks

Last commit made on 2020-06-30
Get this branch:
git clone -b port-ua-checks https://git.launchpad.net/~hopem/juju-lint
Only Edward Hope-Morley can upload to this branch. If you are Edward Hope-Morley please log in for upload directions.

Branch merges

Branch information

Name:
port-ua-checks
Repository:
lp:~hopem/juju-lint

Recent commits

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>

7e8d5b7... by James Hebden

Support remote SSH auditing, extend testing with pytest, add coverage reporting, restructure to modular codebase, consistent versioning for snap and py package (PEP440), add support and rule for auditing charm config and support cloud types.

Signed-off-by: James Hebden <email address hidden>

44010d5... by James Troup

Fix case where AZ is not found.

Reviewed-on: https://code.launchpad.net/~elmo/juju-lint/+git/juju-lint/+merge/374946
Reviewed-by: Xav Paice <email address hidden>