From 6614fcaa34e5dc97a90142314bd99acdc284a11cd83d07dcaf4cd0a80be1b9b2 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Thu, 6 Oct 2022 09:27:43 +0000 Subject: [PATCH 1/3] Accepting request 1008363 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible check/verify/update build and runtime dependencies OBS-URL: https://build.opensuse.org/request/show/1008363 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-lint?expand=0&rev=7 --- ansible-lint.changes | 5 +++++ ansible-lint.spec | 46 +++++++++++++++++++++++++++----------------- 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/ansible-lint.changes b/ansible-lint.changes index 3e6478d..d08badc 100644 --- a/ansible-lint.changes +++ b/ansible-lint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 6 08:39:49 UTC 2022 - Johannes Kastl + +- check/verify/update build and runtime dependencies + ------------------------------------------------------------------- Thu Oct 6 07:09:51 UTC 2022 - Johannes Kastl diff --git a/ansible-lint.spec b/ansible-lint.spec index bbb4323..72fb3e8 100644 --- a/ansible-lint.spec +++ b/ansible-lint.spec @@ -28,35 +28,45 @@ URL: https://github.com/ansible-community/ansible-lint Source0: https://github.com/ansible-community/ansible-lint/archive/v%{version}/ansible-lint-%{version}.tar.gz#/ansible-lint-%{version}.tar.gz BuildArch: noarch BuildRequires: python-rpm-macros -BuildRequires: python3-PyYAML BuildRequires: python3-pip -BuildRequires: python3-six BuildRequires: python3-wheel +BuildRequires: fdupes + +# https://github.com/ansible/ansible-lint/blob/main/setup.cfg#L98 # SECTION tests -BuildRequires: python3-pytest-xdist -BuildRequires: python3-flaky -BuildRequires: python3-packaging -BuildRequires: python3-tenacity -BuildRequires: python3-yamllint >= 1.25.0 -#BuildRequires: git -BuildRequires: python3-enrich >= 1.2.6 -BuildRequires: python3-ansible-compat >= 2.0.2 -BuildRequires: python3-black -BuildRequires: python3-flake8 +BuildRequires: python3-flaky >= 3.7.0 +BuildRequires: python3-pytest-cov +BuildRequires: python3-pytest-xdist >= 2.1.0 +BuildRequires: python3-psutil +BuildRequires: python3-black >= 22.1.0 BuildRequires: python3-mypy BuildRequires: python3-pylint -BuildRequires: python3-pytest-cov +BuildRequires: python3-flake8 +# /SECTION + +# Add runtime requirements (unless required for tests) +# to make sure this only builds if they are present +BuildRequires: ansible-core >= 2.12 +BuildRequires: python3-ansible-compat >= 2.2.1 +BuildRequires: python3-enrich >= 1.2.6 +BuildRequires: python3-jsonschema >= 4.9.0 +BuildRequires: python3-packaging +BuildRequires: python3-PyYAML BuildRequires: python3-rich >= 9.5.1 BuildRequires: python3-ruamel.yaml >= 0.15.37 +BuildRequires: python3-six +BuildRequires: python3-tenacity BuildRequires: python3-wcmatch >= 7.0 -# /SECTION -BuildRequires: ansible-core >= 2.12 -BuildRequires: fdupes +BuildRequires: python3-yamllint >= 1.25.0 + +# https://github.com/ansible/ansible-lint/blob/main/setup.cfg#L69 Requires: ansible-core >= 2.12 -Requires: python3-PyYAML -Requires: python3-ansible-compat >= 2.0.2 +Requires: python3-ansible-compat >= 2.2.1 +Requires: python3-black >= 22.1.0 Requires: python3-enrich >= 1.2.6 +Requires: python3-jsonschema >= 4.9.0 Requires: python3-packaging +Requires: python3-PyYAML Requires: python3-rich >= 9.5.1 Requires: python3-ruamel.yaml >= 0.15.37 Requires: python3-six From 77e039743565fd70d2dd7c36e710a0b8b9ff3b22785b43c8f7ef92cb7b6f997a Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Mon, 10 Oct 2022 06:20:51 +0000 Subject: [PATCH 2/3] Accepting request 1009245 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible update to 6.8.0 OBS-URL: https://build.opensuse.org/request/show/1009245 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-lint?expand=0&rev=8 --- ansible-lint-6.7.0.tar.gz | 3 --- ansible-lint-6.8.0.tar.gz | 3 +++ ansible-lint.changes | 38 ++++++++++++++++++++++++++++++++++++++ ansible-lint.spec | 2 +- 4 files changed, 42 insertions(+), 4 deletions(-) delete mode 100644 ansible-lint-6.7.0.tar.gz create mode 100644 ansible-lint-6.8.0.tar.gz diff --git a/ansible-lint-6.7.0.tar.gz b/ansible-lint-6.7.0.tar.gz deleted file mode 100644 index 36d9774..0000000 --- a/ansible-lint-6.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98241c77b012ab7eca86250937aa265925442f91e87ec482f845e0c13ef5094e -size 275564 diff --git a/ansible-lint-6.8.0.tar.gz b/ansible-lint-6.8.0.tar.gz new file mode 100644 index 0000000..143888b --- /dev/null +++ b/ansible-lint-6.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:804dc715436cde6a74f44e808445c2f11d7efd016541b27bb6ec58cfdb1b1f6d +size 306615 diff --git a/ansible-lint.changes b/ansible-lint.changes index d08badc..8649952 100644 --- a/ansible-lint.changes +++ b/ansible-lint.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Mon Oct 10 06:12:47 UTC 2022 - Johannes Kastl + +- update to 6.8.0: + * Minor Changes + - Add no-shorthand rule as experimental (#2527) @ssbarnea + - Adds summary stats about found violations (#2495) @ssbarnea + - Upgrade fqcn-builtins rule into fqcn (#2505) @ssbarnea + - Changed success/failure message (#2567) @ssbarnea + * Bugfixes + - Add extra documentation (#2503 #2511 #2546 #2551 #2552 #2554 #2555 #2559 #2560 #2561) @ssbarnea @oraNod + - Refactor the rendering of errors and warnings (#2566) @ssbarnea + - Fixed regex for pipefail rule (#2564) @ajinkyau + - Ensure we detect templating errors (#2558) @ssbarnea + - Remove enrich as a dependency (#2557) @ssbarnea + - Implement strict mode (#2533) @ssbarnea + - Avoid extra space when building task names (#2531) @ssbarnea + - Refactor parsing of ansible syntax check (#2529) @ssbarnea + - Allow var_files to be null, string and list of strings (#2528) @ssbarnea + - Fix bug which prevented run of rules on tasks doing imports (#2526) @ssbarnea + - Resolved documentation redirects (#2523) @ssbarnea + - Document lack of module_defaults support (#2519) @ssbarnea + - Allow file attribute with ansible.builtin.include_tasks (#2518) @ssbarnea + - Update schemas (#2517) @ssbarnea + - Replace template-instead-of-copy with avoid-implicit[copy-content] (#2512) @ssbarnea + - Fix path expansion when outside user home (#2515) @ssbarnea + - var-naming: also recognize vars with set_fact module (#2496) @nishipy + - Fix rich exception with tasks containing square brackets (#2510) @ssbarnea + - Fix exception with vars_prompt (#2500) @ssbarnea + - Fix project_dir detect with .config configs (#2499) @ssbarnea + - Avoid implicit templating if not play/task (#2498) @ssbarnea + - Fixed few profile rule name errors (#2497) @ssbarnea + - Rename no-shorthand to no-free-form (#2548) @ssbarnea + - Avoid reporting matches for files outside project_dir (#2547) @ssbarnea + - Allow fqcn with more than 2 dots (#2544) @ssbarnea + - no-shorthand: Avoid false positive with raw (#2541 #2542) @ssbarnea + - Fix project directory detection with config inside .config (#2540) @ssbarnea + ------------------------------------------------------------------- Thu Oct 6 08:39:49 UTC 2022 - Johannes Kastl diff --git a/ansible-lint.spec b/ansible-lint.spec index 72fb3e8..6448ac3 100644 --- a/ansible-lint.spec +++ b/ansible-lint.spec @@ -20,7 +20,7 @@ %global lib_name ansiblelint %{?python_enable_dependency_generator} Name: ansible-lint -Version: 6.7.0 +Version: 6.8.0 Release: 0%{?dist} Summary: Best practices checker for Ansible License: MIT From 8b2275b8ab585174d2660bb7a2096bd00ba01e646787d6e29f14ceb7e473aa59 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Tue, 11 Oct 2022 05:04:08 +0000 Subject: [PATCH 3/3] Accepting request 1009649 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible update to 6.8.1 OBS-URL: https://build.opensuse.org/request/show/1009649 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-lint?expand=0&rev=9 --- ansible-lint-6.8.0.tar.gz | 3 --- ansible-lint-6.8.1.tar.gz | 3 +++ ansible-lint.changes | 17 +++++++++++++++++ ansible-lint.spec | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) delete mode 100644 ansible-lint-6.8.0.tar.gz create mode 100644 ansible-lint-6.8.1.tar.gz diff --git a/ansible-lint-6.8.0.tar.gz b/ansible-lint-6.8.0.tar.gz deleted file mode 100644 index 143888b..0000000 --- a/ansible-lint-6.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:804dc715436cde6a74f44e808445c2f11d7efd016541b27bb6ec58cfdb1b1f6d -size 306615 diff --git a/ansible-lint-6.8.1.tar.gz b/ansible-lint-6.8.1.tar.gz new file mode 100644 index 0000000..bc98836 --- /dev/null +++ b/ansible-lint-6.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13f722d3e0323b0ce3a107358c0e1e2169db5a93b68ffcf20e1030bba16fd70d +size 307727 diff --git a/ansible-lint.changes b/ansible-lint.changes index 8649952..e900c03 100644 --- a/ansible-lint.changes +++ b/ansible-lint.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Oct 11 05:00:12 UTC 2022 - Johannes Kastl + +- update to 6.8.1: + * Bugfixes + - Improve errors with invalid yaml files (#2589) @ssbarnea + - Avoid jinja[invalid] with vars on task (#2588) @ssbarnea + - Fix rules selection by profile (#2587) @ssbarnea + - Soften no-free-form occurences (#2586) @ssbarnea + - Ensure all rich tags are closed (#2585) @ssbarnea + - Docs: Add MD for role name rule (#2583) @oraNod + - Avoid warnings with empty role meta files (#2580) @ssbarnea + - Update schemas (#2582) @ssbarnea + - Docs: Add MD for risky shell pipe (#2577) @oraNod + - Include help url with JSON output format (#2578) @ssbarnea + - Docs: Add MD for risky-octal rule (#2574) @shatakshiiii + ------------------------------------------------------------------- Mon Oct 10 06:12:47 UTC 2022 - Johannes Kastl diff --git a/ansible-lint.spec b/ansible-lint.spec index 6448ac3..de7e3d9 100644 --- a/ansible-lint.spec +++ b/ansible-lint.spec @@ -20,7 +20,7 @@ %global lib_name ansiblelint %{?python_enable_dependency_generator} Name: ansible-lint -Version: 6.8.0 +Version: 6.8.1 Release: 0%{?dist} Summary: Best practices checker for Ansible License: MIT