[gs-commits] (xefitra) rev 10481 - trunk/cluster/casper
giles at ghostscript.com
giles at ghostscript.com
Thu Dec 10 19:26:19 UTC 2009
Author: giles
Date: 2009-12-10 19:26:18 +0000 (Thu, 10 Dec 2009)
New Revision: 10481
Modified:
trunk/cluster/casper/dispatch.py
Log:
Update tti cluster dispatch script for the ghostpdl tree move.
Some time ago, the GhostPDL source moved from a private repository to
the regular public ghostscript repostory. This change pushes each
revision of the repository to both the gs and ghostpdl queues on
the sabalcore (tti) gateway machine.
Modified: trunk/cluster/casper/dispatch.py
===================================================================
--- trunk/cluster/casper/dispatch.py 2009-12-10 03:29:32 UTC (rev 10480)
+++ trunk/cluster/casper/dispatch.py 2009-12-10 19:26:18 UTC (rev 10481)
@@ -102,9 +102,12 @@
doing = True
print 'submitting gs-r' + rev
cmd = 'ssh -i ' + ssh_id + ' ' + ssh_dest + ' '
- #cmd += 'touch regression/rev.queue/' + rev
cmd += 'touch ' + os.path.join('regression/queue.gs/', rev)
os.system(cmd)
+ print 'submitting ghostpdl-r' + rev
+ cmd = 'ssh -i ' + ssh_id + ' ' + ssh_dest + ' '
+ cmd += 'touch ' + os.path.join('regression/queue.pdl/', rev)
+ os.system(cmd)
os.unlink(os.path.join(queuedir,rev))
continue
elif pclrev:
@@ -118,23 +121,6 @@
cmd += ' --exclude .svn tests_private/*'
cmd += ' ' + ssh_dest + ':tests_private/'
os.system(cmd)
- print 'updating ghostpcl-r' + rev
- pclrev, gsrev = rev.split('+')
- print rev, 'splits into gs rev', gsrev, 'and pcl rev', pclrev
- cmd = 'svn update -r ' + pclrev + ' ghostpcl'
- os.system(cmd)
- # svn external will fail; override with a manual checkout
- cmd = 'svn co http://svn.ghostscript.com:8080/ghostscript/trunk/gs -r ' + gsrev + ' ghostpcl/gs'
- os.system(cmd)
- print 'pushing ghostpcl update'
- cmd = 'rsync -avz'
- cmd += ' --exclude ufst --exclude .svn ghostpcl/*'
- cmd += ' ' + ssh_dest + ':regression/ghostpcl-r' + rev + '/'
- os.system(cmd)
- print 'submitting ghostpcl-r' + rev
- cmd = 'ssh -i ' + ssh_id + ' ' + ssh_dest + ' '
- cmd += 'touch ' + os.path.join('regression/queue.pcl/', rev)
- os.system(cmd)
os.unlink(os.path.join(pclqueuedir,rev))
else:
if doing:
More information about the gs-commits
mailing list