summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2020-06-16 23:37:35 +0200
committerMatt Clay <matt@mystile.com>2020-06-17 17:21:14 +0200
commit0133757d44fb5e5cc8d7e288bac8ee2b6502782a (patch)
treed2075af359644b9ee378f3e37c38ca5c6121206f
parenttry to load unqualified plugins from whitelist (#70086) (diff)
downloadansible-0133757d44fb5e5cc8d7e288bac8ee2b6502782a.tar.xz
ansible-0133757d44fb5e5cc8d7e288bac8ee2b6502782a.zip
Add an author exception for OpenStack Ansible SIG
The current author line wants to match a github author id. But some people, including the OpenStack project, do not use github, and additionally do not claim individual ownership but instead group ownership. Since there are already a couple of hard-coded examples in the regex, just add one more. Alternately we could come up with some mechanism to indicate that the author is purposely not listing a github id, but that seems a bit heavywight.
-rw-r--r--test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py b/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py
index 0905a3c0f4..22b1a53d11 100644
--- a/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py
+++ b/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py
@@ -26,8 +26,9 @@ any_string_types = Any(*string_types)
# author: First Last (@name) [optional anything]
# "Ansible Core Team" - Used by the Bot
# "Michael DeHaan" - nop
+# "OpenStack Ansible SIG" - OpenStack does not use GitHub
# "Name (!UNKNOWN)" - For the few untraceable authors
-author_line = re.compile(r'^\w.*(\(@([\w-]+)\)|!UNKNOWN)(?![\w.])|^Ansible Core Team$|^Michael DeHaan$')
+author_line = re.compile(r'^\w.*(\(@([\w-]+)\)|!UNKNOWN)(?![\w.])|^Ansible Core Team$|^Michael DeHaan$|^OpenStack Ansible SIG$')
def _add_ansible_error_code(exception, error_code):