incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject svn commit: r1736739 - in /incubator/public/trunk: email_reminder_template.txt report_reminders.py
Date Sun, 27 Mar 2016 12:35:32 GMT
Author: johndament
Date: Sun Mar 27 12:35:31 2016
New Revision: 1736739

URL: http://svn.apache.org/viewvc?rev=1736739&view=rev
Log:
Initial email reminder utility.

Added:
    incubator/public/trunk/email_reminder_template.txt
    incubator/public/trunk/report_reminders.py

Added: incubator/public/trunk/email_reminder_template.txt
URL: http://svn.apache.org/viewvc/incubator/public/trunk/email_reminder_template.txt?rev=1736739&view=auto
==============================================================================
--- incubator/public/trunk/email_reminder_template.txt (added)
+++ incubator/public/trunk/email_reminder_template.txt Sun Mar 27 12:35:31 2016
@@ -0,0 +1,53 @@
+Dear podling,
+
+This email was sent by an automated system on behalf of the Apache
+Incubator PMC. It is an initial reminder to give you plenty of time to
+prepare your quarterly board report.
+
+The board meeting is scheduled for Wed, 20 April 2016, 10:30 am PDT.
+The report for your podling will form a part of the Incubator PMC
+report. The Incubator PMC requires your report to be submitted 2 weeks
+before the board meeting, to allow sufficient time for review and
+submission (Wed, April 6th).
+
+Please submit your report with sufficient time to allow the Incubator
+PMC, and subsequently board members to review and digest. Again, the
+very latest you should submit your report is 2 weeks prior to the board
+meeting.
+
+Thanks,
+
+The Apache Incubator PMC
+
+Submitting your Report
+
+----------------------
+
+Your report should contain the following:
+
+*   Your project name
+*   A brief description of your project, which assumes no knowledge of
+    the project or necessarily of its field
+*   A list of the three most important issues to address in the move
+    towards graduation.
+*   Any issues that the Incubator PMC or ASF Board might wish/need to be
+    aware of
+*   How has the community developed since the last report
+*   How has the project developed since the last report.
+
+This should be appended to the Incubator Wiki page at:
+
+http://wiki.apache.org/incubator/April2016
+
+Note: This is manually populated. You may need to wait a little before
+this page is created from a template.
+
+Mentors
+-------
+
+Mentors should review reports for their project(s) and sign them off on
+the Incubator wiki page. Signing off reports shows that you are
+following the project - projects that are not signed may raise alarms
+for the Incubator PMC.
+
+Incubator PMC
\ No newline at end of file

Added: incubator/public/trunk/report_reminders.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/report_reminders.py?rev=1736739&view=auto
==============================================================================
--- incubator/public/trunk/report_reminders.py (added)
+++ incubator/public/trunk/report_reminders.py Sun Mar 27 12:35:31 2016
@@ -0,0 +1,33 @@
+import json
+from pprint import pprint
+import smtplib
+
+# Import the email modules we'll need
+from email.mime.text import MIMEText
+
+fp = open('email_reminder_template.txt', 'rb')
+messageBody = fp.read()
+fp.close()
+
+with open('content/shepherd_assignments.json') as data_file:    
+    data = json.load(data_file)
+
+podlingsToReport = data['2016-04'].keys()
+
+me = 'johndament@apache.org'
+you = 'johndament@apache.org'
+
+emailFormat = "dev@{}.incubator.apache.org"
+
+for podling in podlingsToReport:
+    email = emailFormat.format(podling)
+    msg = MIMEText(messageBody)
+    msg['Subject'] = 'Email reminder for %s' % email
+    msg['From'] = me
+    msg['To'] = you
+
+    # Send the message via our own SMTP server, but don't include the
+    # envelope header.
+    s = smtplib.SMTP('localhost')
+    s.sendmail(me, [you], msg.as_string())
+    s.quit()



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message