=== frankban|afk is now known as frankban | ||
juliank | I'm using launchpad lib. | 10:58 |
---|---|---|
juliank | I'm trying to associate teams subscribed to packages. | 10:59 |
juliank | So, for example, fb=launchpad.people["foundations-bugs"] | 10:59 |
juliank | I try ps=fb.getBugSubscriberPackages() | 10:59 |
juliank | len(ps) is 1441, but list(ps) is empty and ps[0] fails with IndexError | 10:59 |
juliank | Or given, a source package, like apt, I do apt.getSubscriptions() | 11:00 |
juliank | it's len is 11, but indexing at 0 produces an IndexError as well | 11:00 |
wgrant | juliank: There is an odd bug where for some collections you need to be authenticated to view their contents | 11:03 |
wgrant | Authenticated as anyone, but authenticated. | 11:03 |
wgrant | So login_anonymously won't let you see them. | 11:03 |
juliank | wgrant: Hmm, that's bad. | 11:03 |
juliank | wgrant: But yes, that's it | 11:05 |
wgrant | juliank: It is a trivial fix, if it is actually inconvenient for you. | 11:07 |
wgrant | grep for AnonymousAuthorization | 11:07 |
juliank | wgrant: I'm trying to make that ftbfs page I asked for in #ubuntuwire report by team. | 11:07 |
juliank | Oh, I'll just use http://people.canonical.com/~ubuntu-archive/package-team-mapping.json like MoM does, that's much faster. | 11:17 |
wgrant | https://code.launchpad.net/~wgrant/launchpad/anon-dsp will fix the API | 11:19 |
juliank | wgrant: Is that ubuntuwire thing still running on precise? | 11:25 |
juliank | because, um, it uses the old python-apt API that's not in trusty anymore | 11:26 |
wgrant | juliank: No, the local diff is purely that port. | 11:26 |
wgrant | I hoped nobody would notice, but I didn't expect we'd hire you :) | 11:26 |
wgrant | juliank: Pushed. | 11:29 |
juliank | wgrant: Sent you a merge request to add per-team lists. | 11:48 |
juliank | * proposal | 11:48 |
wgrant | juliank: Thanks, will look tomorrow! | 12:15 |
=== frankban is now known as frankban|afk |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!