[PATCH] Move owner-change to Monday at 10:00 UTC and to send to devel@ from nobody@

Pierre-Yves Chibon pingou at pingoured.fr
Wed Jun 19 17:40:04 UTC 2013


---

Hi,

This commit makes the cron job run every monday at 10:00 UTC and send the email
to devel at list.fp.o from nobody at fp.o as we discussed.

It does mean that nobody at fp.o will have to be allowed to send to devel at l.fp.o
(/me looks at Kevin ;-))

Could I have 2 +1?

Thanks,
Pierre


 modules/scripts/files/cron-owner-change      |    2 +-
 modules/scripts/files/fedora-owner-change.py |    5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/scripts/files/cron-owner-change b/modules/scripts/files/cron-owner-change
index 49121d9..1f871d7 100644
--- a/modules/scripts/files/cron-owner-change
+++ b/modules/scripts/files/cron-owner-change
@@ -1 +1 @@
-0 10 * * 2 root /usr/bin/python /usr/local/bin/fedora-owner-change.py
+0 10 * * 1 root /usr/bin/python /usr/local/bin/fedora-owner-change.py
diff --git a/modules/scripts/files/fedora-owner-change.py b/modules/scripts/files/fedora-owner-change.py
index 2adbfe2..96a9100 100644
--- a/modules/scripts/files/fedora-owner-change.py
+++ b/modules/scripts/files/fedora-owner-change.py
@@ -37,9 +37,8 @@ from email.mime.text import MIMEText
 DATAGREPPER_URL = 'https://apps.fedoraproject.org/datagrepper/raw/'
 DELTA = 7 * 24 * 60 * 60  # 7 days
 TOPIC = 'org.fedoraproject.prod.pkgdb.owner.update'
-#EMAIL_TO = 'devel at lists.fedoraproject.org'
-EMAIL_TO = 'infrastructure at lists.fedoraproject.org'
-EMAIL_FROM = 'pingou at pingoured.fr'
+EMAIL_TO = 'devel at lists.fedoraproject.org'
+EMAIL_FROM = 'nobody at fedoraproject.org'
 SMTP_SERVER = 'localhost'
 
 # Initial simple logging stuff
-- 
1.7.2.1



More information about the infrastructure mailing list