From 5d754a29f8aab657f57a53ca3d4140ca747fd599 Mon Sep 17 00:00:00 2001 From: Release bot Date: Wed, 19 Sep 2018 12:30:45 +0000 Subject: [PATCH 1/2] 0.2.0 release --- CHANGELOG.md | 101 +++++++++++++++++++++++++++++++++++++++++++++++ colin/version.py | 2 +- 2 files changed, 102 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 197bbb72..4a611ec4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,104 @@ +# 0.2.0 + +* put output of atomic [un,]mount to logger, not colin's stdout +* Better name for the target.name property +* Use pytest coverage in CI as well +* Use target_type property for string representation of the target type +* Use coverage for tests +* Run tests on all target types +* Use name parameter for all targets +* Install xattr on ci setup +* Add setup for running in the CI +* Build the test-images only for integration tests +* Add docs and use better naming +* Use podman for the testing +* Use podman for image target +* Remove dockertar target +* Update docs +* Correct some other codacy warnings +* tests: compare dicts directly: pytest rocks +* Jirka loves dict comprehension +* correct grammar in an error message +* test properly usable_targets with different target types +* Allow release-bot to make PRs based on issues +* Readd readd +* Rename unused kwargs +* Resolve some codacy warnings +* Remove container target +* Optimize code format +* Optimize imports +* dont create pyc files when testing in container +* simplify image preparation, add target ostree +* pep8 fixes +* fixup: treat dockertars as images +* teach colin to accept docker image archives +* set fmf_metadata_path implicitly in case it is not set +* add missing dot +* fix issue caused by searching substrings for fmf metadata (now it search for endswith(/name)) +* labels transformation to FMF format +* dynamic checks metadata transform to FMF format +* deprecated labels transformation to FMF format +* bestpractices checks metadata transform to FMF format +* [README.md] Add build status badge +* allow to pull from insecure registries +* f: document the reason for atomic pull +* more helpful error message if the target can't be found +* cont: one func to run commands which logs well +* unmount mounted image during cleanup +* logging: do not readd handler if it's already there +* mk: add a way to run tests only +* nicer error message when an image can't be pulled +* address review from Dominika +* logging: default to WARN +* new cli arg: target type +* codacy fixes +* better debugging of atomic and skopeo +* check images without docker +* tests: bump dockerfile to F28 +* Reverse the order of ruleset_dirs, i.e. Fix them. +* Correct order or dirs returned in get_rulesets_dir for correct "overwriting" scheme, as suggested by @lachmanfrantisek +* Nicer printing of list-rulesets +* list-rulesets prints full path to the ruleset files. +* Update ruleset getters so that it looks in all of the expected dirs +* Fix openshift labels in tests +* Changes as requested by @lachmanfrantisek and @TomasTomecek +* Fix maximum line-length issues in ruleset.py +* Update CONTRIBUTING.md mentioning YAML support. +* Update tests to go with PyYAML. +* Update helper ruleset functions to use YAML and JSON both. +* Update dependencies for PyYAML +* Use yaml.safe_load to deserialize ruleset files +* Check existence of json output file directory +* adapt PR review changes +* rename variable inside cycle +* remove io.openshift.tags check as well +* get just parameters from metadata what has to be used for class invocation +* remove io.o.expose-services +* simpler loading of checks +* contrib.md: fix examples, doc external checks +* --checks-path now accepts a list of paths +* tinker CONTRIBUTING.md +* set fmf metadata via loader.py to classes inherited from fmfabstractcheck +* changes based on PR review +* read fmf metadata for selected cases +* adapt PR review changes +* add checkpath option as cli option to specifi dir path to checks +* fix too long src line +* important fixes before FMF is adapted inside colin +* travis: require sudo b/c of sudo apt-... +* tests: more verbose logs +* enable all tests by default +* fix instruction checks when *_count is 0 +* Correct description for the 'description_or_io.k8s.description_label' check +* Update config files from kwaciaren +* Correct the 'labels' attribute of the check +* Use bandit file from kwaciaren +* hi codacy +* error messages: grammar +* do not mount whole FS when checking for files +* move test images creation to conftest.py +* improve makefile, add there pip3 instead of pip and improve uninstall + # 0.1.0 Welcome to the first official release of colin. With `0.0.*` releases we tried to iterate on a minimal viable product and with this `0.1.0` release we believe it's finally here. diff --git a/colin/version.py b/colin/version.py index c12256a3..298cbccf 100644 --- a/colin/version.py +++ b/colin/version.py @@ -14,4 +14,4 @@ # along with this program. If not, see . # -__version__ = "0.1.0" +__version__ = '0.2.0' From 6be7696cb92964d5f3b8aa6dd89a1cb8f73bdc60 Mon Sep 17 00:00:00 2001 From: lachmanfrantisek Date: Wed, 19 Sep 2018 14:49:01 +0200 Subject: [PATCH 2/2] Update changelog Signed-off-by: lachmanfrantisek --- CHANGELOG.md | 115 +++++++++------------------------------------------ 1 file changed, 20 insertions(+), 95 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a611ec4..76cad0fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,103 +1,28 @@ # 0.2.0 -* put output of atomic [un,]mount to logger, not colin's stdout -* Better name for the target.name property -* Use pytest coverage in CI as well -* Use target_type property for string representation of the target type -* Use coverage for tests -* Run tests on all target types -* Use name parameter for all targets -* Install xattr on ci setup -* Add setup for running in the CI -* Build the test-images only for integration tests -* Add docs and use better naming -* Use podman for the testing -* Use podman for image target -* Remove dockertar target -* Update docs -* Correct some other codacy warnings -* tests: compare dicts directly: pytest rocks -* Jirka loves dict comprehension -* correct grammar in an error message -* test properly usable_targets with different target types -* Allow release-bot to make PRs based on issues -* Readd readd -* Rename unused kwargs -* Resolve some codacy warnings -* Remove container target -* Optimize code format -* Optimize imports -* dont create pyc files when testing in container -* simplify image preparation, add target ostree -* pep8 fixes -* fixup: treat dockertars as images -* teach colin to accept docker image archives -* set fmf_metadata_path implicitly in case it is not set -* add missing dot -* fix issue caused by searching substrings for fmf metadata (now it search for endswith(/name)) -* labels transformation to FMF format -* dynamic checks metadata transform to FMF format -* deprecated labels transformation to FMF format -* bestpractices checks metadata transform to FMF format -* [README.md] Add build status badge -* allow to pull from insecure registries -* f: document the reason for atomic pull -* more helpful error message if the target can't be found -* cont: one func to run commands which logs well -* unmount mounted image during cleanup -* logging: do not readd handler if it's already there -* mk: add a way to run tests only -* nicer error message when an image can't be pulled -* address review from Dominika -* logging: default to WARN -* new cli arg: target type -* codacy fixes -* better debugging of atomic and skopeo -* check images without docker -* tests: bump dockerfile to F28 -* Reverse the order of ruleset_dirs, i.e. Fix them. -* Correct order or dirs returned in get_rulesets_dir for correct "overwriting" scheme, as suggested by @lachmanfrantisek -* Nicer printing of list-rulesets -* list-rulesets prints full path to the ruleset files. -* Update ruleset getters so that it looks in all of the expected dirs -* Fix openshift labels in tests -* Changes as requested by @lachmanfrantisek and @TomasTomecek -* Fix maximum line-length issues in ruleset.py -* Update CONTRIBUTING.md mentioning YAML support. -* Update tests to go with PyYAML. -* Update helper ruleset functions to use YAML and JSON both. -* Update dependencies for PyYAML -* Use yaml.safe_load to deserialize ruleset files -* Check existence of json output file directory -* adapt PR review changes -* rename variable inside cycle -* remove io.openshift.tags check as well -* get just parameters from metadata what has to be used for class invocation -* remove io.o.expose-services +## Breaking changes + +* switch from docker to podman, thanks to @lachmanfrantisek +* remove `container` target type +* new cli arg: target type (defaults to image -- for podman) + +## New Features + +* add `ostree` target, thanks to @TomasTomecek +* use fmf format in checks, thanks to @jscotka +* allow rulesets in the YAML format, thanks to @SkullTech + +## Fixes + +* many code style fixes +* use Centos CI, thanks to @jpopelka +* better loading of the ruleset files (subdir -> user -> system), thanks to @SkullTech +* check existence of json output file directory * simpler loading of checks -* contrib.md: fix examples, doc external checks -* --checks-path now accepts a list of paths * tinker CONTRIBUTING.md -* set fmf metadata via loader.py to classes inherited from fmfabstractcheck -* changes based on PR review -* read fmf metadata for selected cases -* adapt PR review changes -* add checkpath option as cli option to specifi dir path to checks -* fix too long src line -* important fixes before FMF is adapted inside colin -* travis: require sudo b/c of sudo apt-... -* tests: more verbose logs -* enable all tests by default -* fix instruction checks when *_count is 0 -* Correct description for the 'description_or_io.k8s.description_label' check -* Update config files from kwaciaren -* Correct the 'labels' attribute of the check -* Use bandit file from kwaciaren -* hi codacy -* error messages: grammar * do not mount whole FS when checking for files -* move test images creation to conftest.py -* improve makefile, add there pip3 instead of pip and improve uninstall +* improve tests quality + # 0.1.0