incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r614937 - /incubator/public/trunk/connect.py
Date Thu, 24 Jan 2008 17:45:04 GMT
Author: rdonkin
Date: Thu Jan 24 09:44:58 2008
New Revision: 614937

URL: http://svn.apache.org/viewvc?rev=614937&view=rev
Log:
Save differences as xml

Modified:
    incubator/public/trunk/connect.py

Modified: incubator/public/trunk/connect.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/connect.py?rev=614937&r1=614936&r2=614937&view=diff
==============================================================================
--- incubator/public/trunk/connect.py (original)
+++ incubator/public/trunk/connect.py Thu Jan 24 09:44:58 2008
@@ -25,6 +25,7 @@
 
 import subprocess
 import datetime
+import diff
 
 def outputPath(subject):
     return "audit/" + subject + '-' + datetime.datetime.utcnow().date().isoformat() + ".xml"
@@ -96,4 +97,8 @@
 <audit on='""" + datetime.datetime.utcnow().date().isoformat() + "'>" + xml + "</audit>"
     path = save('incubator', xml)
     subprocess.Popen('gpg --armor --detach-sig ' + path, shell=True).wait()
+    
+    auditor = diff.Auditor('audit')
+    auditor.printSignatureChecks()
+    save('changes', "<?xml version='1.0'?>" + auditor.latestDiffs())
     



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


Mime
View raw message