diff options
author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2017-01-13 11:58:05 +0100 |
---|---|---|
committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2017-01-13 11:58:05 +0100 |
commit | 7f0f327c3d7b78ce005d6abb4899aafce3c7819e (patch) | |
tree | df14d2448d31b6a52fbf95e968034bd7878819b4 | |
parent | eb24f46b26cf797d8bfc100f17ee19d3ebbc2055 (diff) | |
download | ansible-7f0f327c3d7b78ce005d6abb4899aafce3c7819e.tar.gz ansible-7f0f327c3d7b78ce005d6abb4899aafce3c7819e.tar.xz ansible-7f0f327c3d7b78ce005d6abb4899aafce3c7819e.zip |
Fix the ExcludeArch pattern and add two more
-rwxr-xr-x | roles/git/hooks/files/post-receive-alternativearch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/git/hooks/files/post-receive-alternativearch b/roles/git/hooks/files/post-receive-alternativearch index e2fd8729e..15706f396 100755 --- a/roles/git/hooks/files/post-receive-alternativearch +++ b/roles/git/hooks/files/post-receive-alternativearch @@ -17,7 +17,7 @@ import sys from email.mime.text import MIMEText abspath = os.path.abspath(os.environ['GIT_DIR']) -PATTERNS = ('+ExclusiveArch:', '+ExcludesArch:') +PATTERNS = ('+ExclusiveArch:', '+ExcludeArch:', '+ifarch', '+ifnarch') FROM_EMAIL = 'githook-noreply@fedoraproject.org' TO_MAIL = 'arch-excludes@lists.fedoraproject.org' CGIT_URL = 'http://pkgs.fedoraproject.org/cgit/%s/commit/?id=%s' |