=== Ursinha-afk is now known as Ursinha === idnaria is now known as idnar === Guest65110 is now known as Adri2000 === doko_ is now known as doko [09:57] Aloha [09:58] mrevell: might be an idea to post http://twitter.com/#!/planetubuntu/status/75484018019278848 to loco contacts [10:09] czajkowski, /me looks [10:12] mrevell: morning btw :) [11:11] o/ mrevell === mbp_ is now known as poolie [11:14] Hey poolie [12:32] anyone else who have problems with built packages on launchpad ppas to get published? have been staling in Pending publication mode for two hours here [12:36] Philip5: Same here. [12:39] halp! :) [12:40] bigjools: Is this something you can look at or is there someone else I can poke? === adeuring changed the topic of #launchpad to: https://launchpad.net/ | Help contact: adeuring | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ [12:40] I can take a quick look [12:40] ah, adeuring can take a quick look :) [12:41] Awesome timing there :) [12:41] I suspect he'll need my help :) [12:41] bigjools: I'm afraid that IO need too help in this case ;) [12:41] bigjools: so... could you have a llok? [12:41] yes I was referring to you :) [12:44] Hi, is dinstall on PPAs broken? [12:45] adeuring: can you manage this as an incident please? [12:45] I have several packages in pending state for some hours. [12:45] ondrej: yeah we just found out that it's broken [12:45] bigjools: ok === bigjools changed the topic of #launchpad to: PPA PUBLISHING IS CURRENTLY DOWN | https://launchpad.net/ | Help contact: adeuring | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ [12:47] james_w: you about? [12:50] james_w: When I suggested using the LP API, instead of screen scraping for getting information for summit, you said LP will not be able to handle the load. Would that happen even if they were splint into individual requests? [13:06] PPA publishing should be ok again === bigjools changed the topic of #launchpad to: https://launchpad.net/ | Help contact: adeuring | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ [13:11] bigjools: Is it still catching up, or does it constitute an actual problem if I still have pending packages? [13:11] soren: it will have a lot of catching up [13:12] Ah, there it goes. [13:12] \o/ [13:12] bigjools: Thanks for the quick fix! [13:12] it was a deployment issue, ho hum [13:26] nigelb, I said that it would be very slow, not that LP wouldn't handle the load [13:27] james_w: Ah, apologies. My memory was vague on what you said :) [13:27] that's ok [13:28] instead of ~1 roundtrip to get most of the info, it will likely do several round trips [13:28] maybe a*n where n is the number of blueprints accepted for UDS === matsubara-afk is now known as matsubara === smoser` is now known as smoser [14:11] james_w: well, we already do a*n+1 + m where n is number of BPs and m is number of participants [14:12] nigelb, well, it may be even more [14:12] it's hard to say given that the API can't give us that information currently [14:12] james_w: hang on, let me try and explain what I'm saying :) [14:15] james_w: So, what I'm talking about is this http://bazaar.launchpad.net/~summit-hackers/summit/trunk/view/head:/summit/schedule/models/meetingmodel.py#L188 [14:15] Here we screen scape the data of each blueprint. Isn't it more elegant to use the API? Because a change in LP UI might break our data import and we most probably won't know about it until it fails, aka the few weeks before UDS. [14:16] nigelb, you mean replacing line 210 etc? [14:16] I have no problem with that [14:16] I thought you meant replacing the XML file with the API, which is what I think will be slower [14:16] replacing what you point to should be roughly the same performance [14:17] james_w: yup. that bit. No XML file isn't screen-scraping, that's an export although LP folks don't really support it. [14:17] *No, XML [14:17] james_w: aha, I'll create a bug and start working on that. [14:18] great [14:25] hrm, why doesn't launchpad give me a proper url to access the specification API? [14:25] https://launchpad.net/+apidoc/1.0.html#specification tells me URL: https://api.launchpad.net/1.0 [14:27] adeuring: Hi, around? [14:27] nigelb: sure [14:27] Could you help me get data out of the specification end-point of the API? [14:27] nigelb: I'll try. What is our problemß [14:28] ...problem? [14:28] heh [14:28] I have a link to a specification, I'd like to figure out how to access the data in json [14:28] Currently, summit screen-scrapes LP for this, I want to use the API to pull this data instead [14:29] ah, now I see it... The URLs shows in the docs are simply broken... [14:29] nigelb: the quick workaround would be: use launchpadlib [14:30] adeuring: heh, that was my backup plan :) [14:30] ;) [14:30] adeuring: Is the doc thing something I can help fix/ [14:31] nigelb: that would be great -- problem is that I have no real clue how the API docs are generated... [14:31] adeuring, nigelb: Nothing uses those URLs, and they are defined separately for each class in the XSLT. [14:32] wgrant: how does the ajax stuff work if its not using the API? [14:32] nigelb: It uses the API. [14:32] nigelb: You wouldn't normally construct those URLs manually. [14:32] wgrant: so, at uds flacoste showed me a magic url, I just didn't save it then :) [14:32] nigelb: API paths are the same as webapp paths. [14:33] nigelb: but regarding your "backup plan": you can write a small test script with launchpadlib, and if you have a statement like "print specification", you'll see the URL [14:33] nigelb: But normally you'd get a spec using a method on the object that owns it. [14:33] The AJAX Web UI just uses the current path. [14:33] adeuring: w00t, that'll work [14:33] wgrant: I can 'technically' construct the url for the API if I want to, right? [14:34] nigelb: Yes, but it's not guaranteed to be stable. [14:34] /ubuntu/+spec/whatever [14:34] darn [14:34] Same as the web UI. [14:34] Note that this URL hasn't changed in probably 5 years, so it's not much of a risk :) [14:34] heh [14:35] https://blueprints.launchpad.net/summit/+spec/community-o-summit is my BP, so what would be the api endpoint for that spec? [14:35] $APIROOT/summit/+spec/community-o-summit [14:36] eg. https://api.launchpad.net/devel/summit/+spec/community-o-summit [14:36] ah [14:41] that's strange [14:41] I don't see all the information I wished I could see [14:42] eg? [14:42] ah, needed to use devel instead of 1.0 [14:42] Those objects aren't exposed under 1.0, since we supposedly need to support that until 15.04 [14:43] ah. [14:43] hrm, what format is that. That isn't JSON. [14:44] .... [14:44] I get XML :\ [14:44] Add ?ws.accept=application/json. It will serve HTML to things that say they can accept it. [14:45] (it defaults to checking the Accepts header, but ws.accept in the query string overrides that detection) [14:45] ah, this is beautiful [14:47] Thanks wgrant, adeuring :) [15:49] adeuring, I should be IRC now. Sorry I just remembered. === deryck changed the topic of #launchpad to: https://launchpad.net/ | Help contact: deryck | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ [15:50] deryck: no problem [15:50] mneptok: o/ === marienz_ is now known as marienz === beuno is now known as beuno-lunch === matsubara is now known as matsubara-lunch [17:46] Is there any way to get top contributors to a project using the launchpadlib api? [18:00] is there a seperate channel for the launchpadlib api? [18:07] Is there any way to get top contributors to a project using the launchpadlib api? === beuno-lunch is now known as beuno === abentley changed the topic of #launchpad to: https://launchpad.net/ | Help contact: abentley | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ [18:20] ckozak: This is a good channel to ask. There is also launchpad-dev. [18:21] abently: thanks! [18:21] ckozak: I don't see an obvious way to get that information over the API. [18:22] abentley: hmm nor do I. I guess I'll have to figure it out some other way [18:24] ckozak: It seems the method we use is not currently exported over the web service: getTopContributors [18:26] deryck: I relieve you. [18:27] abentley, thank you. I can swap you out time during your shift, if you like. [18:27] No problem. [18:27] abentley: is there any way to access "getTopContributors" without scraping the webpage? [18:28] I guess that wouldnt be the end of the world though [18:28] ckozak: No, but if you really want it, you can always send in a patch. [18:29] abentley: will do, thanks man! === mnepton is now known as mneptok === matsubara-lunch is now known as matsubara === yofel_ is now known as yofel === braiam is now known as braiam_ === braiam_ is now known as braiam2 === braiam2 is now known as braiam__ === braiam__ is now known as Braiam === abentley changed the topic of #launchpad to: https://launchpad.net/ | Help contact: - | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ === matsubara is now known as matsubara-afk [23:03] lazr.restfulclient.errors.HTTPError: HTTP Error 301: Moved Permanently