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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---

Hi,

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

It does mean that nobody@fp.o will have to be allowed to send to devel@xxxx.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@xxxxxxxxxxxxxxxxxxxxxxx'
-EMAIL_TO = 'infrastructure@xxxxxxxxxxxxxxxxxxxxxxx'
-EMAIL_FROM = 'pingou@xxxxxxxxxxxx'
+EMAIL_TO = 'devel@xxxxxxxxxxxxxxxxxxxxxxx'
+EMAIL_FROM = 'nobody@xxxxxxxxxxxxxxxxx'
 SMTP_SERVER = 'localhost'
 
 # Initial simple logging stuff
-- 
1.7.2.1

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure





[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux