Send all the notifications about package excluding some arch to the arch-excludes list

This commit is contained in:
Pierre-Yves Chibon 2017-01-10 16:33:15 +01:00
parent 7d5c69ceca
commit a6fdbaeff6
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ from email.mime.text import MIMEText
abspath = os.path.abspath(os.environ['GIT_DIR'])
PATTERNS = ('+ExclusiveArch:', '+ExcludesArch:')
FROM_EMAIL = 'githook-noreply@fedoraproject.org'
TO_MAIL = 'pingou_git@pingoured.fr'
TO_MAIL = 'arch-excludes@lists.fedoraproject.org'
CGIT_URL = 'http://pkgs.fedoraproject.org/cgit/%s/commit/?id=%s'
EMAIL_SEND = True
SMTP_SERVER = 'localhost'

View file

@ -73,4 +73,4 @@ ln -s git-seed-$DATE.tar.xz $OUTPUT_DIR/git-seed-latest.tar.xz
ln -s rpm-specs-$DATE.tar.xz $OUTPUT_DIR/rpm-specs-latest.tar.xz
python2 /usr/local/bin/alternative_arch_report.py /srv/git_seed/rpm-specs/ | \
mail -s "[Report] Packages Restricting Arches" pingou@fedoraproject.org
mail -s "[Report] Packages Restricting Arches" arch-excludes@lists.fedoraproject.org