extras-buildsys/utils extras-push-new,1.39,1.40

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Mon Jun 12 10:57:01 UTC 2006


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32549

Modified Files:
	extras-push-new 
Log Message:
minor improvements to status output


Index: extras-push-new
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-push-new,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- extras-push-new	12 Jun 2006 10:47:51 -0000	1.39
+++ extras-push-new	12 Jun 2006 10:56:59 -0000	1.40
@@ -420,7 +420,7 @@
     repolockname = os.path.join(needsign,REPO_LOCKFILE_NAME)
     repolock = LockFile(name=repolockname,blocking=True)
     try:
-        print 'Waiting for repository lock:',
+        print 'Waiting for repository lock on %s:' % distdir,
         sys.stdout.flush()
         repolock.lock()
         print 'OK'
@@ -434,9 +434,8 @@
     repolock.unlock()
 
     rpms = files['rpm'] + files['srpm'] + files['debuginfo']    
-    print 'Total packages found: %d' % len(rpms)
+    print 'Packages found: %d' % len(rpms)
     if len(rpms) == 0:
-        print '%s: nothing to do' % dist
         return 0
     rpms.sort()
     for item in rpms:
@@ -703,6 +702,7 @@
         # per dist which have been pushed.
         changecount[dist] = len( getlinesfromrunfile(dist) )
         totalchanges += changecount[dist]
+    print 'Total number of pushed build jobs to complete: %d' % totalchanges
 
     # Option -f re-runs repobuild/repoview for all dists, even if
     # no new packages have been pushed for a dist.




More information about the fedora-extras-commits mailing list