SHA256
1
0
forked from pool/ansible-lint
Commit Graph

8 Commits

Author SHA256 Message Date
Sebastian Wagner
0f85d833a3 - Update to version 6.0.2:
- Recognize import_role and import_role when using fqcn (#2034)
 - Adds more yamllint configuration paths (#2032)
 - Allow normpath accept empty strings (#2028)
   Fixes bug where calling ansible-lint with "" as an argument, it will
   raise an exception. We can assume that empty string is the same as
   ".", especially as we also allow no arguments which are almost always
   treated as current directory too.
 - Remove ref to archived toolbox image from docs (#2026)
 - `--write`: Add `MatchError.yaml_path` for transforms (#2025)
 - --write: Avoid line-wrapping YAML flow objects (#2022)
 - --write: Introduce TransformMixin for Rules (#2023)
 - Avoid processing files under templates (#2021)
 - Add YAML path (to play/task) discovery utils for Transforms to use (#1970)
 - Recognize import_tasks with file key (#2019)
 - Allow import_playbook from collections (#2018)
 - Use ansible-compat cache directory (#2016)
   Ensures that we use the same cache_dir as ansible-compat.

- Update to version 6.0.0:
 - Major Changes
  - Remove support for ansible 2.9 (#1880) @ssbarnea
  - Remove support for py36 and py37 (#1850) @ssbarnea
  - Made fqcn-builtins rule implicit (#1908) @ssbarnea
  - Removed --parseable-severity feature (#1898) @ssbarnea
  - Clarify GPLv3 license of the distribution (#1882) @ssbarnea
  - Made ansible-core a direct dependency (#1888) @ssbarnea
  - Made yamllint a direct dependency (#1881) @ssbarnea
  - Rename prerun submodule to _mockings (#1972) @ssbarnea
  - Remove unused code from prerun submodule (#1971) @ssbarnea

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=10
2022-04-01 19:14:11 +00:00
d8bae18e60 Accepting request 954674 from home:sebix:branches:systemsmanagement
- disable the tests test_co and test_call_from_outside_venv, they expect the ansible-lint executable in /usr/bin/
  see https://github.com/ansible-community/ansible-lint/issues/1885
- remove obsolete fix-discover_lintables.patchs
- Update to version 5.4.0:
 - Minor Changes
  - Neuter min space requirement for inline comments (#1821) @ssbarnea
  - Allow rules to request original raw task data (#1834) @cognifloyd
  - Add utils.nested_items_path and Deprecate utils.nested_items (#1824) @cognifloyd
  - MatchError's should include the filename (#1806) @cognifloyd
 - Bugfixes
  - Allow use without activation of virtualenv (#1860) @ssbarnea
  - Avoid running code on ansiblelint.config import (#1870) @ssbarnea
  - Avoid false positive with git lfs command (#1859) @ssbarnea
  - Strip ./ from discover_lintables results (#1837) @sebix
  - Correcting formatting of sample .ansible-lint config (#1841) @IronTooch
  - Move ansiblelint.testing.RunFromText import into test code (#1827) @cognifloyd
  - Allow noqa to be used in more lintable kinds (#1819) @SirUli
  - Recursively extract tasks from blocks (#1809) @cognifloyd

OBS-URL: https://build.opensuse.org/request/show/954674
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=9
2022-02-15 17:15:02 +00:00
Boris Manojlovic
ba070d5882 Accepting request 950365 from home:sebix:branches:systemsmanagement
- add fix-discover_lintables.patch to fix a test fail.
- refactor specfile, remove multipython, this is an application only.
- Update to version 5.3.2:
 - Too many changes to list here, see https://github.com/ansible-community/ansible-lint/releases

OBS-URL: https://build.opensuse.org/request/show/950365
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=6
2022-02-01 20:07:40 +00:00
Lars Vogdt
6ab394dc7a Accepting request 653527 from home:zippy:jx:packages-tracking
- added python-pyyaml and python-six dependencies as listed in setup.py (L22)
- made the post-build test conditional as requires python2
- update to 3.5.1
  + Use yaml.safe_load for loading the configuration fil
  - 3.5.0
  + New ids and tags, add doc generator. Old tag names remain backwardly compatible (awcrosby)
  + Add more package formats to PackageIsNotLatestRule (simon04)
  + Improve handling of meta/main.yml dependencies (MatrixCrawler)
  + Correctly handle role argument trailing slash (zoredache)
  + Handle include_task and import_task (zeot)
  + Add a new rule to detect jinja in when clauses (greg-hellings)
  + Suggest replace as another alternative to sed (inponomarev)
  + YAML syntax highlighting for false positives (gundalow)

OBS-URL: https://build.opensuse.org/request/show/653527
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=5
2018-12-04 15:20:39 +00:00
Lars Vogdt
2428ad67b5 - update to 3.4.23
+ Fix bug with using comma-separated skip_list arguments
  + Allow include_role and import_role (willthames)
  + Support arbitrary number of exclude flags (KellerFuchs)
  + Fix task has name check for empty name fields (ekeih)
  + Allow vault encrypted variables in YAML files (mozz)
  + Octal permission check improvements - readability, test 
    coverage and bug fixes (willthames)
  + Fix very weird bug with line numbers in some test environments (kouk)
  + Python 3 fixes for octal literals in tests (willthames)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=4
2018-09-11 09:52:10 +00:00
Lars Vogdt
fe16452fea - update to 3.4.21:
+ Update test that allows directories to have execute but not 
    read bit set
  + new playbook_import statement is now also recognized
  + Allow directories to have execute but not read bit set
  + Update test coverage
  + Fix typos in rules description
  + Fix normal sentence seen as title
  + ansible-lint accepts multiple playbooks in cmdlne

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=3
2018-05-07 11:10:11 +00:00
Klaus Kämpf
331b20c268 Accepting request 568211 from home:bmanojlovic:branches:systemsmanagement
- updated to latest release 3.4.20
  + fixed rpm check build to use only python2 for now
  + Fix for Python 2.6
  + added stdin to expected vars for command module
  + added testcase
  + made test >2.4 specific
  + fixed wrong test-playbook
  + Adding feature for issue #283, adding the ability to use a .ansible-lint
    yaml configuration file in the working directory instead of command line
    arguments.
  + Adding CLI flag for specifying configuration file.  Also adding guard
    test to confirm that configuration file properties can be overriden by
    command line.
  + Adding 'merge' behavior to config file and CLI options.  The 'True'
    value will be preferred in the case of simple flags, while lists will be
    merged.
  + Fixing 3.4 issue with errs not able to be concatenated with a string
  + Clarifying that -F is a path to file in the documentation.  Also
    expanding unnecessarily contracted line
  + Updating config file to use -c to make it clear it is a configuration
    file being specified.
  + added include_tasks and import_tasks to utils
  + updated example rule
  + Add supervisorctl and systemd module support
  + Add template/lineinfile module support
  + Although how bin/ansible-lint works has changed significantly,
    it should still exist so docs are accurate and for testing.
  + Handle the 'cmd' argument in command/shell

OBS-URL: https://build.opensuse.org/request/show/568211
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=2
2018-01-23 07:52:32 +00:00
Klaus Kämpf
f794f7db4b Accepting request 522429 from home:bmanojlovic
this is initial packaging for *suse based on rhel package
- update to 3.4.15 
- Update to 3.4.12 version
- Update to 3.4.11
- Update to 3.4.10
- Update to 3.4.9
- Update to 3.4.8
- Update to 3.4.7
- Update to 3.4.4
- Update to 3.4.3
- Update to 3.4.1
- Update to 3.3.3
- Upstream release 3.1.3
- Update to 3.0.1 release
- Update to 3.0.0 release
- Update to 2.6.2
- use %license macro
- disable tests
- Update to 2.0.1
- rename to ansible-lint
- new upstream 1.0.4 release which added LICENSE file.
- Better add upstream LICENSE file, not present in tarball
- Initial packaging

OBS-URL: https://build.opensuse.org/request/show/522429
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=1
2017-09-10 06:42:53 +00:00