community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1689500 - /comdev/projects.apache.org/scripts/cronjobs/pubsubber.py
Date Mon, 06 Jul 2015 21:07:05 GMT
Author: sebb
Date: Mon Jul  6 21:07:05 2015
New Revision: 1689500

URL: http://svn.apache.org/r1689500
Log:
Comments

Modified:
    comdev/projects.apache.org/scripts/cronjobs/pubsubber.py

Modified: comdev/projects.apache.org/scripts/cronjobs/pubsubber.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/pubsubber.py?rev=1689500&r1=1689499&r2=1689500&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/pubsubber.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/pubsubber.py Mon Jul  6 21:07:05 2015
@@ -207,13 +207,13 @@ class PubSubClient(Thread):
                 try:
                     obj = json.loads(line)
                     if "commit" in obj and "repository" in obj['commit']:
-                        obj['commit']['whence'] = time.time()
+#                         obj['commit']['whence'] = time.time() # TODO: unused
                     
                             
                         # If it's our public svn repo, then...
                         if obj['commit']['repository'] == "13f79535-47bb-0310-9956-ffa450edef68":
                         
-                            #Grab some vars
+                            #Grab some vars (TODO: not used?)
                             commit = obj['commit']
                             body = commit['log']
                             svnuser = commit['committer']
@@ -221,7 +221,7 @@ class PubSubClient(Thread):
                             revision = commit['id']
                             email = svnuser + "@apache.org"
                             
-                            # Figure out the root thingermajig
+                            # Check if the commit is for our part of the repo
                             match = re.match("^%s" % watchPath, path)
                             if match:
                                 time.sleep(3)



Mime
View raw message