* hugdaylist: prepare the list more carefully (filter out 'fixed committed'

bugs and bugs that have ubuntu-*-sponsors subscribed.
This commit is contained in:
Daniel Holbach 2007-09-24 09:41:17 +02:00
parent 6c78358bf9
commit d61c07aeec
2 changed files with 14 additions and 4 deletions

6
debian/changelog vendored
View File

@ -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) <siggi.gevatter@gmail.com> Sat, 15 Sep 2007 00:14:51 +0200
-- Daniel Holbach <daniel.holbach@ubuntu.com> Mon, 24 Sep 2007 09:39:24 +0200
ubuntu-dev-tools (0.10) gutsy; urgency=low

View File

@ -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