URLBugListFilter missing milestones
Bug #200457 reported by
Brian Murray
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-launchpad-bugs |
Fix Released
|
Undecided
|
Markus Korn |
Bug Description
1) main revno 75
The OPTION_DICT in launchpadbugs/
It'd be best if the milestone lists were pulled from somewhere - probably https:/
Related branches
To post a comment you must log in.
The attached patch adds a function 'get_open_ milestones( dist=None, package=None, project=None)' as a first step to fix this bug. This function returns an iterator over all open milestones related to given distribution, package or project:
example usage: open_milestones ("ubuntu" ))
In [7]: dict(get_
Out[7]:
{135: 'Ubuntu: dapper-updates',
196: 'Ubuntu: later',
197: 'Ubuntu: edgy-updates',
556: 'Ubuntu: ubuntu-6.06.2',
814: 'Ubuntu: gutsy-updates',
829: 'Ubuntu: ubuntu-8.04',
831: 'Ubuntu: hardy-alpha-1',
948: 'Ubuntu: hardy-alpha-2',
949: 'Ubuntu: hardy-alpha-3',
950: 'Ubuntu: hardy-alpha-4',
951: 'Ubuntu: hardy-alpha-5',
952: 'Ubuntu: hardy-alpha-6',
953: 'Ubuntu: ubuntu-8.04-beta'}
In [4]: dict(get_ open_milestones (project= "bughelper" ))
Out[4]: {249: 'Bug Helper: 0.1' , 259: 'Bug Helper: 0.2'}
Markus