Rev 57: Show diagnostics. in http://people.canonical.com/~robertc/baz2.0/plugins/builder/blocking

Robert Collins robertc at robertcollins.net
Fri Oct 23 05:17:35 BST 2009


At http://people.canonical.com/~robertc/baz2.0/plugins/builder/blocking

------------------------------------------------------------
revno: 57
revision-id: robertc at robertcollins.net-20091023041730-3pghibque81zgj1m
parent: robertc at robertcollins.net-20091023014639-0gqh0c7tpo5bs0co
committer: Robert Collins <robertc at robertcollins.net>
branch nick: blocking
timestamp: Fri 2009-10-23 15:17:30 +1100
message:
  Show diagnostics.
=== modified file 'ppa.py'
--- a/ppa.py	2009-10-22 05:17:01 +0000
+++ b/ppa.py	2009-10-23 04:17:30 +0000
@@ -50,8 +50,12 @@
     owner = launchpad.people[owner_name]
     archive = owner.getPPAByName(name=archive_name)
     end_states = ['failedtobuild', 'fullybuilt']
+    print "Waiting for", version, "of", package_name, "to build."
     while True:
         sourceRecords = [s for s in
+            archive.getPublishedSources(source_name=package_name)]
+        # print [s.source_package_version for s in sourceRecords]
+        sourceRecords = [s for s in sourceRecords
             archive.getPublishedSources(source_name=package_name)
             if s.source_package_version == version]
         if not sourceRecords:




More information about the bazaar-commits mailing list