RFE: Packages of projects/distros
Bug #249461 reported by
Stephan Rügamer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-launchpad-bugs |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Dear Colleagues,
while having the projectlists, we want also to know what packages are in a project which could be a distro, too (i.e. ubuntu)
I'll added some magic code to html_projectlist.py + projectbase.py, which works now according to the other parts of py-lp-bugs.
If the project is not a distro, so http://
Please find attached the related branch :)
Regards,
\sh
Related branches
To post a comment you must log in.
TEstscript:
#!/usr/bin/python
import launchpadbugs. connector as Connector basebuglistfilt er import URLBugListFilter html_bug, launchpadbugs. html_projectlis t
from launchpadbugs.
import launchpadbugs.
def counter_ hook(counter, block_size, size):
print "Counter %d %d %d " % (counter, block_size, size)
projectList= Connector. ConnectProjectP ackageList( method= "html") set_progress_ hook(counter_ hook,300) ter() "batch" ,300) projectList( f("http:// launchpad. net/leonov/ +allpackages"))
projectList.
f=URLBugListFil
f.add_option(
packagelist=
for package in packagelist: package_ name, package. package_ url)
print "Package Name: %s -> Package URL: %s" % (package.