=== JanC is now known as Guest19389 === JanC_ is now known as JanC === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [09:16] Hi, is this channel a good place to ask questions about LP's API ? [09:40] caribou: sure [09:40] cjwatson: hey good morning [09:40] I'm not so sure about that [09:40] but go ahead [09:40] I'm trying to build a query to get all bugs that have a specific tag [09:41] if I use searchTasks, it doesn't seem to get some specific tags; is there a method on the bugs collection that would let me do that ? [09:42] looks like the tag I'm querying is attached to the bug,and not a specific task [09:42] Tags are always on bugs, not tasks, but you always search for tasks. [09:43] Do you have an example? [09:56] sure [09:57] cjwatson: ubuntu being distributions['ubuntu'], tasks = ubuntu.searchTasks(tags='sts', order_by=['id'], created_since='2016-01-01') [09:57] will return many bugs [09:58] when you said "it doesn't seem to get some specific tags", is it possible that you meant "it doesn't seem to get some specific tasks"? [09:58] if you look at launchpad.bugs[1640382].tags, sts is there but this bug is not returned by the searchTasks [09:59] and yes, that's what I meant, but if I search on 'sts-sru', it returns nothing even if I know that there are 41 bugs with that tag [10:01] I'm sure that the LP API can make my life much simpler in many cases, I just want to get my head around it correctly [10:05] Hey folks, does launchpad have trouble with taking updates? I uploaded a package successfully but no email about the status and no entry on the web page of the ppa [10:06] caribou: It's related to the fact that the non-series-linked task there is Invalid; will need to wake up further and see if there's a reasonable way to avoid that [10:07] ah, never mind no it reacted - seems it took just a bit longer than normal [10:07] caribou: though one easy workaround if you only care about specific series is to start from lp.load('/ubuntu/trusty') instead [10:07] longsleep: We're in the middle of a database update at the moment, which entails stopping some things for a bit [10:08] cjwatson: well, I wanted to break them down by series to that might do the trick [10:08] cjwatson: thanks! [10:08] cjwatson: ah ok - thanks - seems to work fine again now [10:08] caribou: Right, maybe that's sufficient then. === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [12:19] cjwatson: btw, I haven't been able to get my query working. It fails even with bugs which are not Invalid [13:24] * smoser is happy launchpad is now linking bugs based on LP: # in git commit messages! [13:25] thanks! ie https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/310432 magically linked [13:30] caribou: Huh, I did test that it returned that qemu bug. [13:30] smoser: yw [13:31] cjwatson: maybe I didn't use the proper syntax; would you mind pasting your syntax somewhere? [13:33] smoser: yeah while I like the reverse link from the bug more I totally appreciate the feature like on https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1524526 [13:33] Ubuntu bug 1524526 in dovecot (Ubuntu Xenial) "Crashes with undefined symbol" [High,Fix released] [13:33] lp-team ++ [13:38] caribou: lp.load('/ubuntu/trusty').searchTasks(tags='sts', order_by=['id'], created_since='2016-01-01') [13:38] cjwatson: thanks! [13:38] you can use lp.distributions['ubuntu'].getSeries(name_or_version='trusty') instead if you prefer to step through rather than hardcoding the URL and using lp.load [13:39] but I was being lazy [14:02] cpaelzer, yeah, i agree its more useful for the bug to get a reference to the mp, but i kind of assumed that was a given. i just assumed 'link' was two way. [14:04] It is indeed. [14:56] cjwatson: Epilogue - my query will work only if I append version='devel' to the login statement [15:02] caribou: Ah, of course. [15:02] caribou: You basically always want to use devel anyway. [15:03] cjwatson: yeah, just found out by reading the launchpad help example :-/ [15:03] cjwatson: anyway, thanks again for your help === chihchun is now known as chihchun_afk === JanC_ is now known as JanC === thomi_ is now known as thomi [21:21] Hello! There's a ~system76 user on Launchpad that has zero activity. This account was created by someone outside the company in 2009. Would it be possible to have this account transfered to System76 ownership? [21:44] jderose: If we did it it would more be a matter of renaming that account in order that you could claim the name, and we'd want some kind of traceability. Could you please open a ticket at https://answers.launchpad.net/launchpad/+addquestion ? [21:45] cjwatson: can do, thank you! [21:59] cjwatson: https://answers.launchpad.net/launchpad/+question/403931 Thanks again!