Use the new terminology secondary arch -> alternative arch
This commit is contained in:
parent
e91c9d9472
commit
16439c95af
1 changed files with 4 additions and 4 deletions
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
This is a git hook meant to warn the secondary arch folks about package
|
This is a git hook meant to warn the alternative arches folks about package
|
||||||
that turned off building on secondary arches.
|
that turned off building on alternative arches.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
@ -139,7 +139,7 @@ def send_email(text, subject, to_mail): # pragma: no cover
|
||||||
|
|
||||||
|
|
||||||
def run_as_post_receive_hook():
|
def run_as_post_receive_hook():
|
||||||
''' Check what was changed in the commit(s) and warn the secondary-arch
|
''' Check what was changed in the commit(s) and warn the alternative-arch
|
||||||
folks if either ExclusiveArch or ExcludesArch are changed.
|
folks if either ExclusiveArch or ExcludesArch are changed.
|
||||||
'''
|
'''
|
||||||
for line in sys.stdin:
|
for line in sys.stdin:
|
||||||
|
@ -169,7 +169,7 @@ def run_as_post_receive_hook():
|
||||||
print('Commit %s selected' % commit)
|
print('Commit %s selected' % commit)
|
||||||
|
|
||||||
if exclude_arch:
|
if exclude_arch:
|
||||||
print('Notifying secondary-arch people')
|
print('Notifying alternative-arch people')
|
||||||
package = '/'.join(abspath.rsplit(os.path.sep, 2)[-2:])
|
package = '/'.join(abspath.rsplit(os.path.sep, 2)[-2:])
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
print('Package:', package)
|
print('Package:', package)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue