post-receive-alternativearch - catch removals too
Currently the patterns can catch ExcludeArch & co additions and changes in the spec file, but not a clean removal.
This commit is contained in:
parent
af2fac3977
commit
333a155ba9
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ import sys
|
|||
from email.mime.text import MIMEText
|
||||
|
||||
abspath = os.path.abspath(os.environ['GIT_DIR'])
|
||||
PATTERNS = ('+ExclusiveArch:', '+ExcludeArch:', '+%ifarch', '+%ifnarch')
|
||||
PATTERNS = ('+ExclusiveArch:', '+ExcludeArch:', '+%ifarch', '+%ifnarch',
|
||||
'-ExclusiveArch:', '-ExcludeArch:', '-%ifarch', '-%ifnarch')
|
||||
FROM_EMAIL = 'githook-noreply@fedoraproject.org'
|
||||
TO_MAIL = 'arch-excludes@lists.fedoraproject.org'
|
||||
CGIT_URL = 'https://src.fedoraproject.org/cgit/%s/commit/?id=%s'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue