~gabrielcocenza/juju-lint:bug/1965762

Last commit made on 2022-07-07
Get this branch:
git clone -b bug/1965762 https://git.launchpad.net/~gabrielcocenza/juju-lint
Only Gabriel Cocenza can upload to this branch. If you are Gabriel Cocenza please log in for upload directions.

Branch merges

Branch information

Name:
bug/1965762
Repository:
lp:~gabrielcocenza/juju-lint

Recent commits

afd8d9b... by Gabriel Cocenza

- added charm_to_app;
- removed get_app_names;
- improved test_map_charms;
- rebased with master branch.

fb2bf1b... by Gabriel Cocenza

check if subordinate units are related with other apps in the bundle.

- added new rules (check-relations and enforce-juju-info) into the
  subordinate rules file.
- added nrpe in the conftest to test subordinate relation rules.
- added description for tests that were missing and failing lint.

e5d34a5... by Martin Kalcok

Add warnings if bundle does not specify explicit bindings

Reviewed-on: https://code.launchpad.net/~martin-kalcok/juju-lint/+git/juju-lint/+merge/424775
Reviewed-by: Gabriel Angelo Sgarbi Cocenza <email address hidden>

dba0d2d... by Gabriel Cocenza

build the snap with local repository.

- source-type git ends up using the code from the master branch
instead of using the local repo as expected.

- added git in stage-packages because otherwise the snap fails to
build.

Reviewed-on: https://code.launchpad.net/~gabrielcocenza/juju-lint/+git/juju-lint/+merge/425412
Reviewed-by: Eric Chen <email address hidden>

f005001... by Gabriel Cocenza

build the snap with local repository.

- source-type git ends up using the code from the master branch
instead of using the local repo as expected.

- added git in stage-packages because otherwise the snap fails to
build.

d8625c2... by Gabriel Cocenza

Fix to have the snap working on bionic and jammy.

core20 need to have python libs on stage-packages in order to work
on jammy and bionic series.

Reviewed-on: https://code.launchpad.net/~juju-linters/juju-lint/+git/juju-lint/+merge/425333
Reviewed-by: Martin Kalcok <email address hidden>
Reviewed-by: Eric Chen <email address hidden>

d2ce33f... by Gabriel Cocenza

Fix to have the snap working on bionic and jammy.

core20 need to have python libs on stage-packages in order to work
on jammy and bionic series.

ce3847e... by Martin Kalcok

Merge branch 'master' into warn_on_missing_binding

14ad2b7... by Gabriel Cocenza

update the snap

- added black to format the source code of the project and
  applied it into the code.
- added isort to order imports and applied it into the code.
- changed python version from 3.6(deprecated) to 3.8.
- changed base to core20.
- added /snap/bin to $PATH
- removed Pipfile, Pipfile.lock and .python-version that is not
  been used anymore.

Reviewed-on: https://code.launchpad.net/~juju-linters/juju-lint/+git/juju-lint/+merge/424672
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: Martin Kalcok <email address hidden>

9b849f2... by Martin Kalcok

Verify that at least 1 application has bindings before running "check_spaces()"