[CalendarServer-changes] [6181] CalendarServer/trunk/contrib/performance/upload.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 25 13:44:31 PDT 2010


Revision: 6181
          http://trac.macosforge.org/projects/calendarserver/changeset/6181
Author:   exarkun at twistedmatrix.com
Date:     2010-08-25 13:44:29 -0700 (Wed, 25 Aug 2010)
Log Message:
-----------
accept revision date as a command line param as well, since codespeed will not supply a sensible default for us

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/upload.py

Modified: CalendarServer/trunk/contrib/performance/upload.py
===================================================================
--- CalendarServer/trunk/contrib/performance/upload.py	2010-08-25 20:28:57 UTC (rev 6180)
+++ CalendarServer/trunk/contrib/performance/upload.py	2010-08-25 20:44:29 UTC (rev 6181)
@@ -23,6 +23,8 @@
          '(as recognized by the Codespeed server)'),
         ('revision', None, None,
          'Revision number of the code which produced this data.'),
+        ('revision-date', None, None,
+         'Timestamp at which the specified revision was created.'),
         ('environment', None, None,
          'Name of the environment in which the data was produced.'),
         ('statistic', None, None,
@@ -37,11 +39,12 @@
 
 
 
-def upload(reactor, url, project, revision, benchmark, executable,
-           environment, result_value, result_date, std_dev, max_value,
-           min_value):
+def upload(reactor, url, project, revision, revision_date, benchmark,
+           executable, environment, result_value, result_date, std_dev,
+           max_value, min_value):
     data = {
         'commitid': str(revision),
+        'revision_date': revision_date,
         'project': project,
         'benchmark': benchmark,
         'environment': environment,
@@ -83,6 +86,7 @@
         url=options['url'],
         project=options['project'],
         revision=options['revision'],
+        revision_date=options['revision-date'],
         benchmark='%s-%s-%s' % (benchmark, param, statistic),
         executable='%s-backend' % (options['backend'],),
         environment=options['environment'],
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100825/d6f1c8c5/attachment.html>


More information about the calendarserver-changes mailing list