File size: 1,490 Bytes
4aa5fce |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
[13:01] <FourDollars> How do I use Launchpad API to get the information like https://launchpad.net/people/+me/+archivesubscriptions? [13:03] <cjwatson> FourDollars: lp.me.getArchiveSubscriptions() [13:03] <cjwatson> gets you a collection of https://launchpad.net/+apidoc/devel.html#archive_subscriber [13:03] <FourDollars> cjwatson: Thx a lot. :D [13:04] <cjwatson> (requires version='devel'; you should generally be using that anyway) [13:06] <FourDollars> Got it. [13:30] <FourDollars> How do I get those source lists by the collection of lp.me.getArchiveSubscriptions()? [13:34] <cjwatson> FourDollars: https://launchpad.net/+apidoc/devel.html#person-getArchiveSubscriptionURL [13:40] <ogra> i have build a kodi pi snap and am pondering if i should even bother to try to use build.snapcraft.io for it ... the build takes 4h, the first two for kodi, the last two it builds its addons from within its own build system ... each addon source is pulled from github during that process ... i assume the proxy token will expire earlier ? [13:41] <ogra> (or are there chances to build such a snap without massively hacking up its build process (whic i wont do)) [13:44] <FourDollars> cjwatson: Weird. lp.me.getArchiveSubscriptionURL(archive=archive) returns a dict, but there is no source list inside. [13:48] <FourDollars> My goal is to check if I subscribed the private PPA. If not, subscribe it. [14:43] <FourDollars> OK. It works. lp.me.getArchiveSubscriptionURLs() returns the source list. |