community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1694820 - /comdev/reporter.apache.org/trunk/scandist.py
Date Sat, 08 Aug 2015 16:53:00 GMT
Author: sebb
Date: Sat Aug  8 16:52:59 2015
New Revision: 1694820

URL: http://svn.apache.org/r1694820
Log:
Include the timestamp for the first commit id

Modified:
    comdev/reporter.apache.org/trunk/scandist.py

Modified: comdev/reporter.apache.org/trunk/scandist.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scandist.py?rev=1694820&r1=1694819&r2=1694820&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scandist.py (original)
+++ comdev/reporter.apache.org/trunk/scandist.py Sat Aug  8 16:52:59 2015
@@ -338,10 +338,13 @@ def processTargets():
                 # gather up all the commits for this preject+committer
                 ids=[]
                 logs=[]
+                dates=[]
                 for commit in targetstwo[project][committer]:
                     ids.append(str(commit['id'])) # we join these later
                     logs.append(commit['log'])
+                    dates.append(commit['date'])
                 tmpdict.update({'id' : ids[0]})
+                tmpdict.update({'date' : dates[0]})
                 # build up the log entry
                 log = logs[0][:78] # truncate if necessary
                 if len(ids) > 1: # multiple commits; add the other ids (but not log messages)
@@ -367,7 +370,7 @@ This is an automated email from reporter
 I see that you just pushed something to our release repository for the '%(project)s' project
 in the following commit:
 
-r%(id)s
+r%(id)s at %(date)s
 %(log)s
 
 If you are a PMC member of this project, we ask that you log on to:



Mime
View raw message