From d61c07aeec365495c22dce96d13a540cec5ea64f Mon Sep 17 00:00:00 2001 From: Daniel Holbach Date: Mon, 24 Sep 2007 09:41:17 +0200 Subject: [PATCH] * hugdaylist: prepare the list more carefully (filter out 'fixed committed' bugs and bugs that have ubuntu-*-sponsors subscribed. --- debian/changelog | 6 ++++-- hugdaylist | 12 ++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index cd7acb6..226deb0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,14 +1,16 @@ -ubuntu-dev-tools (0.11) UNRELEASED; urgency=low +ubuntu-dev-tools (0.11) gutsy; urgency=low [ Daniel Holbach ] * compare-packages, README: dropped compare-packages, debdiff has the same functionality, when used with --from --to or on *.changes files. + * hugdaylist: prepare the list more carefully (filter out 'fixed committed' + bugs and bugs that have ubuntu-*-sponsors subscribed. [ Siegfried-Angel Gevatter Pujals (RainCT) ] * Added a manpage for suspicious-source. * Fixed a bug in pbuilder-dist (it needed ftp.debian.org in sources.list to work with Debian). - -- Siegfried-Angel Gevatter Pujals (RainCT) Sat, 15 Sep 2007 00:14:51 +0200 + -- Daniel Holbach Mon, 24 Sep 2007 09:39:24 +0200 ubuntu-dev-tools (0.10) gutsy; urgency=low diff --git a/hugdaylist b/hugdaylist index 51d726e..cbae7e6 100755 --- a/hugdaylist +++ b/hugdaylist @@ -42,12 +42,20 @@ def check_args(): return (howmany, url) -def main(): +def filter_unsolved(bugs): + result = set() + for b in bugs: + if b.status != 'Fix Committed' and \ + 'ubuntu-main-sponsors' not in [str(s) for s in b.subscribers] and \ + 'ubuntu-universe-sponsors' not in [str(s) for s in b.subscribers]: + result.add(b) + return result +def main(): (howmany, url) = check_args() BugList = Connector.ConnectBugList() - l = BugList(url) + l = BugList(url).filter(func=[filter_unsolved]) if not l.bugs: print "BugList of %s is empty." % url