seeded-in-ubuntu Inform the user when we couldn't determine binary

packages built by a source package, as it most recently FTBFS.
This commit is contained in:
Stefano Rivera 2012-07-18 12:28:35 +02:00
parent c946f9457f
commit 73acf77646
2 changed files with 8 additions and 1 deletions

4
debian/changelog vendored
View File

@ -1,4 +1,4 @@
ubuntu-dev-tools (0.144) quantal; urgency=low
ubuntu-dev-tools (0.144) UNRELEASED; urgency=low
* submittodebian:
- Use dpkg-buildpackage instead of debuild. It really doesn't need to run
@ -8,6 +8,8 @@ ubuntu-dev-tools (0.144) quantal; urgency=low
* submittodebian, sponsor-patch:
- Pass --builder=dpkg-buildpackage to bzr bd, in case the user has
configured a custom builder that doesn't do source builds (LP: #1019817)
* seeded-in-ubuntu Inform the user when we couldn't determine binary
packages built by a source package, as it most recently FTBFS.
-- Stefano Rivera <stefanor@ubuntu.com> Mon, 02 Jul 2012 19:26:32 +0200

View File

@ -99,6 +99,11 @@ def output_by_source(index, by_source):
'''Print binaries found in index. Grouped by source'''
for source, binaries in by_source.iteritems():
seen = False
if not binaries:
print ("Status unknown: No binary packages built by the latest "
"%s.\nTry again using -b and the expected binary packages."
% source)
continue
for binary in binaries:
if binary in index:
seen = True