Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validate-tags: allow ignoring certain collections (#491)
* validate-tags: allow ignoring certain collections This adds a `-I` / `--ignore` flag to `antsibull-build validate-tags` and `antsibull-build validate-tags-file` to ignore errors for specific collections. `--ignores-file` can be specified separately or simultaneously to ignore collections from a file with a newline separated list of names. Useless ignores are treated as errors by default, but this can be changed with `--no-warn-useless-ignores`. `ignores` and `warn_useless_ignores` arguments were added to `antsibull.tagging.validate_tags()` to support this functionality. * correct changelog frag syntax and rm invalid entry Co-authored-by: Felix Fontein <felix@fontein.de> * fix argparse help message grammar Co-authored-by: Felix Fontein <felix@fontein.de> * s/warn_useless_ignores/error_on_useless_ignores/ --------- Co-authored-by: Felix Fontein <felix@fontein.de>
- Loading branch information
1 parent
768a2e8
commit 015f935
Showing
3 changed files
with
83 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
minor_changes: | ||
- Add a ``-I`` / ``--ignore`` and a ``--ignores-file`` flag to the | ||
``antsibull-build validate-tags`` and ``antsibull-build validate-tags-file`` | ||
subcommands to ignore errors for certain collections | ||
(https://github.com/ansible-community/antsibull/pull/491). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters