Comment 2 for bug 1148015

Revision history for this message
Brian Murray (brian-murray) wrote :

From what I can tell it looks like each PPA has their own archive so get the binary names would be quite hard.

gdl = lp.people['gm-dev-launchpad']
In [14]: archive = gdl.getPPAByName(name='ppa')

In [15]: archive.web_link
Out[15]: u'https://launchpad.net/~gm-dev-launchpad/+archive/ppa'

In [16]: archive.distribution_link
Out[16]: u'https://api.launchpad.net/devel/ubuntu'

In [18]: [b.binary_package_name for b in archive.getPublishedBinaries()]
Out[18]:
[u'firefox-bugsquad-lp-improvements',
 u'firefox-bugsquad-lp-improvements',
 u'firefox-bugsquad-lp-improvements',