From 73acf7764641a61ca0371323c20b81c74e3a967a Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Wed, 18 Jul 2012 12:28:35 +0200 Subject: [PATCH] seeded-in-ubuntu Inform the user when we couldn't determine binary packages built by a source package, as it most recently FTBFS. --- debian/changelog | 4 +++- seeded-in-ubuntu | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 9777cca..07fe088 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 02 Jul 2012 19:26:32 +0200 diff --git a/seeded-in-ubuntu b/seeded-in-ubuntu index dcf7676..6138d20 100755 --- a/seeded-in-ubuntu +++ b/seeded-in-ubuntu @@ -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