/srv/irclogs.ubuntu.com/2018/02/20/#launchpad-dev.txt

=== frankban|afk is now known as frankban
juliankI'm using launchpad lib.10:58
juliankI'm trying to associate teams subscribed to packages.10:59
juliankSo, for example, fb=launchpad.people["foundations-bugs"]10:59
juliankI try ps=fb.getBugSubscriberPackages()10:59
julianklen(ps) is 1441, but list(ps) is empty and ps[0] fails with IndexError10:59
juliankOr given, a source package, like apt, I do apt.getSubscriptions()11:00
juliankit's len is 11, but indexing at 0 produces an IndexError as well11:00
wgrantjuliank: There is an odd bug where for some collections you need to be authenticated to view their contents11:03
wgrantAuthenticated as anyone, but authenticated.11:03
wgrantSo login_anonymously won't let you see them.11:03
juliankwgrant: Hmm, that's bad.11:03
juliankwgrant: But yes, that's it11:05
wgrantjuliank: It is a trivial fix, if it is actually inconvenient for you.11:07
wgrantgrep for AnonymousAuthorization11:07
juliankwgrant: I'm trying to make that ftbfs page I asked for in #ubuntuwire report by team.11:07
juliankOh, I'll just use http://people.canonical.com/~ubuntu-archive/package-team-mapping.json like MoM does, that's much faster.11:17
wgranthttps://code.launchpad.net/~wgrant/launchpad/anon-dsp will fix the API11:19
juliankwgrant: Is that ubuntuwire thing still running on precise?11:25
juliankbecause, um, it uses the old python-apt API that's not in trusty anymore11:26
wgrantjuliank: No, the local diff is purely that port.11:26
wgrantI hoped nobody would notice, but I didn't expect we'd hire you :)11:26
wgrantjuliank: Pushed.11:29
juliankwgrant: Sent you a merge request to add per-team lists.11:48
juliank* proposal11:48
wgrantjuliank: 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!