diff options
author | lhinds <lhinds@redhat.com> | 2017-06-19 11:30:47 +0100 |
---|---|---|
committer | lhinds <lhinds@redhat.com> | 2017-06-19 11:30:47 +0100 |
commit | 61155a3ccfdd6cabc78a0d0cf813a7ac0dd09f0e (patch) | |
tree | b04e239c478a718fe464529f084ada079ff684ff | |
parent | a211f19382a75d4322f7dd6f74ee694222735ff9 (diff) |
Ignore all lines that start with a comment
Adds regexp to existing exception files, so that all files
that have commented lines are ignored.
Also added a template_exception file with comments added as
default
JIRA:RELENG-239
Change-Id: I0de9bf91170e6614f3e1ee9bd1d486ca1eaf830b
Signed-off-by: lhinds <lhinds@redhat.com>
-rw-r--r-- | releng_exception.yaml | 1 | ||||
-rw-r--r-- | sandbox_exception.yaml | 4 | ||||
-rw-r--r-- | template_exception.yaml | 13 |
3 files changed, 17 insertions, 1 deletions
diff --git a/releng_exception.yaml b/releng_exception.yaml index d860ce7..aee6768 100644 --- a/releng_exception.yaml +++ b/releng_exception.yaml @@ -9,6 +9,7 @@ binaries: file_audits: file_names: [nullvalue] file_contents: + - ^# - -s set secret key - "PKG_MAP\\[wget\\]" - "\\[wget\\]=wget" diff --git a/sandbox_exception.yaml b/sandbox_exception.yaml index 14f0e81..e41b04a 100644 --- a/sandbox_exception.yaml +++ b/sandbox_exception.yaml @@ -8,4 +8,6 @@ binaries: binary_ignore: [nullvalue] file_audits: file_names: [nullvalue] - file_contents: [nullvalue] + file_contents: + - ^# + diff --git a/template_exception.yaml b/template_exception.yaml new file mode 100644 index 0000000..e41b04a --- /dev/null +++ b/template_exception.yaml @@ -0,0 +1,13 @@ +# When adding projects all `arrays: []` sections must have +# a value, Use 'nullvalue' if no waivers are available. +# +# This file uses standard regular expression syntax, however be mindful +# of escaping YAML delimiters too (such as `:`) using double quotes "". + +binaries: + binary_ignore: [nullvalue] +file_audits: + file_names: [nullvalue] + file_contents: + - ^# + |