extras-buildsys/utils/pushscript Push.py,1.45,1.46
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Tue Oct 23 21:38:45 UTC 2007
Author: scop
Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31132
Modified Files:
Push.py
Log Message:
Warn if nothing is being done in push-to-testing mode for non-testing targets.
Index: Push.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/Push.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- Push.py 11 Sep 2007 00:01:47 -0000 1.45
+++ Push.py 23 Oct 2007 21:38:43 -0000 1.46
@@ -196,7 +196,8 @@
if hasattr(cfg.opts,'pushtotesting') and cfg.opts.pushtotesting:
if dist.startswith('testing/'):
srcdist = dist.replace('testing/','')
- else: # no-op
+ else:
+ print "Operating in push-to-testing mode, but dist '%s' doesn't start with 'testing/', skipping copy+sign+move." % dist
return 0, changedrepo
distdir = '%s-%s-%s' % (cfg.distro, srcdist, cfg.project)
More information about the fedora-extras-commits
mailing list