[Checkins] SVN: groktoolkit/ create the releaseinfo directory for a new version too

Jan-Wijbrand Kolman janwijbrand at gmail.com
Tue Oct 26 06:24:45 EDT 2010


Log message for revision 117883:
  create the releaseinfo directory for a new version too

Changed:
  U   groktoolkit/branches/1.2/src/groktoolkit/__init__.py
  U   groktoolkit/trunk/src/groktoolkit/__init__.py

-=-
Modified: groktoolkit/branches/1.2/src/groktoolkit/__init__.py
===================================================================
--- groktoolkit/branches/1.2/src/groktoolkit/__init__.py	2010-10-26 10:17:44 UTC (rev 117882)
+++ groktoolkit/branches/1.2/src/groktoolkit/__init__.py	2010-10-26 10:24:44 UTC (rev 117883)
@@ -7,6 +7,10 @@
 RELEASEINFOPATH = '/var/www/html/grok/releaseinfo'
 
 def _upload_gtk_versions(packageroot, version):
+    # Create the releaseinfo directory for this version.
+    cmd = 'ssh %s "mkdir %s/%s"' % (HOST, RELEASEINFOPATH, version)
+    print cmd + '\n'
+    print commands.getoutput(cmd)
     # ``scp`` the file to the given destination.
     versions_filename = os.path.join(packageroot, 'grok.cfg')
     cmd = 'scp %s %s:%s/%s/versions.cfg' % (

Modified: groktoolkit/trunk/src/groktoolkit/__init__.py
===================================================================
--- groktoolkit/trunk/src/groktoolkit/__init__.py	2010-10-26 10:17:44 UTC (rev 117882)
+++ groktoolkit/trunk/src/groktoolkit/__init__.py	2010-10-26 10:24:44 UTC (rev 117883)
@@ -7,6 +7,10 @@
 RELEASEINFOPATH = '/var/www/html/grok/releaseinfo'
 
 def _upload_gtk_versions(packageroot, version):
+    # Create the releaseinfo directory for this version.
+    cmd = 'ssh %s "mkdir %s/%s"' % (HOST, RELEASEINFOPATH, version)
+    print cmd + '\n'
+    print commands.getoutput(cmd)
     # ``scp`` the file to the given destination.
     versions_filename = os.path.join(packageroot, 'grok.cfg')
     cmd = 'scp %s %s:%s/%s/versions.cfg' % (



More information about the checkins mailing list