community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1690673 - /comdev/projects.apache.org/scripts/cronjobs/pubsubber.py
Date Mon, 13 Jul 2015 13:59:11 GMT
Author: sebb
Date: Mon Jul 13 13:59:11 2015
New Revision: 1690673

URL: http://svn.apache.org/r1690673
Log:
Add sample data

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=1690673&r1=1690672&r2=1690673&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/pubsubber.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/pubsubber.py Mon Jul 13 13:59:11 2015
@@ -206,10 +206,13 @@ class PubSubClient(Thread):
                         if obj['commit']['repository'] == "13f79535-47bb-0310-9956-ffa450edef68":
                             #Grab some vars
                             commit = obj['commit']
+                            # e.g. {"committer": "sebb", "log": "Ensure we exit on control+C",
"repository": "13f79535-47bb-0310-9956-ffa450edef68", "format": 1, 
+                            # "changed": {"comdev/reporter.apache.org/trunk/scandist.py":
{"flags": "U  "}}, 
+                            # "date": "2015-07-13 13:38:33 +0000 (Mon, 13 Jul 2015)", "type":
"svn", "id": 1690668}
                             svnuser = commit['committer']
                             revision = commit['id']
                             filePaths = set()
-                            # commit['changed'] = { "path" : { "flags": "value"}}
+                            # e.g. {"comdev/reporter.apache.org/trunk/scandist.py": {"flags":
"U  "}}
                             for path in commit['changed']:
                                 for watchPath in watching:
                                     # Check if the commit is for our part of the repo



Mime
View raw message