=== lifeless_ is now known as lifeless === maclin1 is now known as maclin === chihchun is now known as chihchun_afk [04:50] Hi guys. I just wondering if this channel is the right place to ask for some IT assistance wrt. login.launchpad.net ? [04:52] I send a merge account request to login-support@canonical.com ~14 days ago and a reminder several days ago, and I got no reply. === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === funnel_ is now known as funnel === heroux_ is now known as heroux === chihchun_afk is now known as chihchun [06:50] Hi there! [06:50] I have a question regarding the launchpad API [06:50] I would like to retrieve all the bugs for a given project [06:51] my understanding is that I have to use launchpad.project['my-project'].searchTasks() to do so [06:51] it looks like the anser I get is 75 items long maximum. [06:51] The doc says searchTasks returns “an iterable of matching results.” [06:52] how can I retrieve all the elements? [06:53] I also tried to filter by statuses to include all of the possible statuses (launchpad.project['my-project'].searchTasks(status=statuses) where statuses is a list of the different statuses) [06:53] but I'm also limited to 75 items (which matches what you see in Launchpad for the first page of results – my project has 935 items) [06:54] ePierre: Data is returned in batches of 75 items, but launchpadlib automatically iterates through all of the batches. Do you have code that reproduces the problem? [07:04] wgrant, thanks for your help :) [07:05] wgrant, another question: a bug_task doesn't have an 'id' property. Why? The only relation to a bug I can find is through the bug_link property, but this is rather complicated (bug_link is a string URL) [07:08] ePierre: Tasks don't have external IDs; their only ID is the bug that they are a task on. In launchpadlib you want task.bug.id. === mwhudson_ is now known as mwhudson [07:11] wgrant, got it! Thanks! [07:12] wgrant, so when you have a bug_task object and request bug_task.bug.id, launchpadlib finds the bug that is related to this bug_task, then grabs its id attribute and returns it? [07:14] ePierre: launchpadlib applies magic on top of link and collection attributes provided by the Launchpad API. foo_link turns into foo, which will be automatically retrieved from the API when it's accessed, and foos_collection turns into foos, which is a normal Python iterator over the batched collection. [07:14] ePierre: Do be aware that task.bug.id is going to be slow if you're calling it lots of times. If performance is a concern, consider int(task.bug_link.rsplit('/', 1)[1]) [07:15] wgrant, yes that's why I asked :) Thanks for the tip [07:15] I was actually doing something similar in my code [08:06] wgrant, I'm currently iterating over the different bugs of my project in order to retrieve some stats about their activity (I want to know how often they've been marked as Incomplete, for instance). This is slow because I need to retrieve the bug activity for each bug of the project, and that means as many requests to Launchpad as there are bugs. I was wondering if there would be a way to retrieve a batch of all the activities of a list of bugs or [08:06] something like that in one request [08:08] ePierre: Unfortunately not; there's no general bulk request support in the Launchpad API. [08:14] wgrant, ok thanks === chrisccoulson_ is now known as chrisccoulson [12:58] wkoszek_: login.launchpad.net is actually a separate system with a confusingly similar hostname, and support for that would be in #canonical-sysadmin. However, to merge two accounts on login.launchpad.net, it's normally best to do that from the Launchpad side using https://launchpad.net/people/+requestmerge if possible, and that will be reflected on login.launchpad.net. [13:53] before I start a API query bomb, I should ask here first : [13:53] I want to get bugs with a specific tag (sts-sru-needed) which are either on openstack projects or ubuntu-cloud-archive [13:53] here is an example : https://bugs.launchpad.net/cloud-archive/icehouse/+bug/1323660 [13:53] Ubuntu bug 1323660 in Glance Client kilo "[SRU] Glance image properties not copied to cinder volume with glance V2 API" [High,Fix committed] [13:54] Am I right to think that I need to query each openstack project iteratively,then the same for cloud-archive in order to find those tagged bugs ? === chihchun is now known as chihchun_afk === JanC_ is now known as JanC [16:04] cjwatson: Your feedback is great. I'm in the process of merging. I *think* I had a Ubuntu One account created long time ago, without an e-mail. Then I somehow enedd with 2 launchpad.net accounts and the link you passed me: I never saw that in docs. [16:06] Hm.. The Launchpad account named 'wkoszek-e-merged' was merged into the account [16:06] named 'wkoszek'. [16:06] There's some bug in here -- my account name was "wkoszek-e", and that's what I've typed into the web form. [16:23] hi [16:23] are there any lp moderators here? [16:24] we are getting more and more spam in our bug reports, and I have no idea where it could be reported [19:05] Hi, [19:07] I'm attempting to compile recent versions of Chromium in my PPAs, but (most of the time) when I build it for amd64 and arm64 on 16.10 and newer, an internal GCC error occurs. I've tried to replicate the error in a local sbuild chroot, but have been unable to do so. Any suggestions for further debugging? [19:09] The GCC error occurs when compiling the same file. Also, GCC appears to take up a lot of RAM (about 2 GB, I forgot the exact count). Do the builders not have this much RAM available, and could this be what is causing the crash? [19:12] saiarcot895: you might want to ping in #ubuntu-desktop perhaps about chromium. i'm pretty sure there are PPAs kept up to date, and there's even a nightlies PPA. not sure why you'd get gcc internal errors though [19:18] dobey: I'm maintaining two PPAs, one for the latest Beta channel release and one for the latest Dev channel release. I'm not sure there is another PPA containing recent versions of Chromium (beyond stable) [20:08] * wkoszek_ is confused on launchpad.net and Ubuntu One relationship. Seems to have account in both. [20:16] Ubuntu One (login.ubuntu.com) is the SSO auth provider [20:19] How come I be logged in to launchpad.net and be able to browse my profile etc., yet not be "in" at Ubuntu One. I believed that was the idea. [20:23] i don't understand what you're asking [20:23] you are only "logged in" to ubuntu one, once you go to login.ubuntu.com and log in there to manaage your account [20:24] for launchpad, ubuntu one is the authentication back-end, via OpenID [20:25] standard tokenized authentication === nacc_ is now known as nacc [22:58] any launchpad sysadmin here? some nasty spam happening in this bugreport in the last days https://bugs.launchpad.net/ubuntu/+bug/554099 [22:58] Ubuntu bug 554099 in Ubuntu Maverick "Qualcomm Gobi 2000 3G (gobi_loader/qcserial) broken" [High,Fix released] [22:59] aleksander0m: Just the last four comments?