[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-161-gc3545fb
Sandro Tosi
morph at debian.org
Wed Jan 5 01:16:15 UTC 2011
The following commit has been merged in the master branch:
commit 5af9f460a4d664ed552bc84eca586cc86988927e
Author: Sandro Tosi <morph at debian.org>
Date: Wed Jan 5 01:40:34 2011 +0100
now also 'recommends' and 'suggests' packages are reported when using 'report-with' control file field; thanks to Mike Hommey fro the report; Closes: #570939
diff --git a/bin/reportbug b/bin/reportbug
index adfea34..b498f65 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -1691,13 +1691,26 @@ For more details, please see: http://www.debian.org/devel/wnpp/''')
utils.get_dependency_info(package, suggests, "suggests"))
if reportwith and not self.options.kudos:
+ # retrieve information for the packages listed in 'report-with' bug
+ # control file field
for extrapackage in reportwith:
ewrite("Getting status for related package %s...\n", extrapackage)
extrastatus = utils.get_package_status(extrapackage)
+ # depends
if extrastatus[2]:
extradepends = [x for x in extrastatus[2] if package not in x]
- ewrite("Looking up dependencies of related package %s...\n", extrapackage)
+ ewrite("Looking up 'depends' of related package %s...\n", extrapackage)
depinfo += utils.get_dependency_info(extrapackage, extradepends)
+ # recommends
+ if extrastatus[3]:
+ extrarecommends = [x for x in extrastatus[3] if package not in x]
+ ewrite("Looking up 'recommends' of related package %s...\n", extrapackage)
+ depinfo += utils.get_dependency_info(extrapackage, extrarecommends, "recommends")
+ # suggests
+ if extrastatus[15]:
+ extrasuggests = [x for x in extrastatus[15] if package not in x]
+ ewrite("Looking up 'suggests' of related package %s...\n", extrapackage)
+ depinfo += utils.get_dependency_info(extrapackage, extrasuggests, "suggests")
if supplemental and not self.options.kudos:
ewrite("Looking up status of additional packages...\n")
diff --git a/debian/changelog b/debian/changelog
index aef1b18..44bef5f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,11 +41,14 @@ reportbug (4.99.0) UNRELEASED; urgency=low
template; thanks to Jonas Stein for the report; Closes: #598161
- reworded the request to insert bug report subject; thanks to A. Costa for
the report and proposed text; Closes: #578033
+ - now also 'recommends' and 'suggests' packages are reported when using
+ 'report-with' control file field; thanks to Mike Hommey fro the report;
+ Closes: #570939
* debian/desktop
- updated with Russian translations; thanks to Alexander Sashanov for the
report and patch; Closes: #608889
- -- Sandro Tosi <morph at debian.org> Wed, 05 Jan 2011 00:53:48 +0100
+ -- Sandro Tosi <morph at debian.org> Wed, 05 Jan 2011 01:38:08 +0100
reportbug (4.12.6) unstable; urgency=low
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list