/srv/irclogs.ubuntu.com/2011/05/31/#launchpad.txt

=== 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
czajkowskiAloha09:57
czajkowskimrevell: might be an idea to post http://twitter.com/#!/planetubuntu/status/75484018019278848 to loco contacts09:58
mrevellczajkowski, /me looks10:09
czajkowskimrevell: morning btw :)10:12
poolieo/ mrevell11:11
=== mbp_ is now known as poolie
mrevellHey poolie11:14
Philip5anyone else who have problems with built packages on launchpad ppas to get published? have been staling in Pending publication mode for two hours here12:32
sorenPhilip5: Same here.12:36
sorenhalp! :)12:39
sorenbigjools: Is this something you can look at or is there someone else I can poke?12:40
=== 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/
bigjoolsI can take a quick look12:40
bigjoolsah, adeuring can take a quick look :)12:40
sorenAwesome timing there :)12:41
bigjoolsI suspect he'll need my help :)12:41
adeuringbigjools: I'm afraid that IO need too help in this case ;)12:41
adeuringbigjools: so... could you have a llok?12:41
bigjoolsyes I was referring to you :)12:41
ondrejHi, is dinstall on PPAs broken?12:44
bigjoolsadeuring: can you manage this as an incident please?12:45
ondrejI have several packages in pending state for some hours.12:45
bigjoolsondrej: yeah we just found out that it's broken12:45
adeuringbigjools: ok12:45
=== 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/
nigelbjames_w: you about?12:47
nigelbjames_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?12:50
bigjoolsPPA publishing should be ok again13:06
=== 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/
sorenbigjools: Is it still catching up, or does it constitute an actual problem if I still have pending packages?13:11
bigjoolssoren: it will have a lot of catching up13:11
sorenAh, there it goes.13:12
soren\o/13:12
sorenbigjools: Thanks for the quick fix!13:12
bigjoolsit was a deployment issue, ho hum13:12
james_wnigelb, I said that it would be very slow, not that LP wouldn't handle the load13:26
nigelbjames_w: Ah, apologies. My memory was vague on what you said :)13:27
james_wthat's ok13:27
james_winstead of ~1 roundtrip to get most of the info, it will likely do several round trips13:28
james_wmaybe a*n where n is the number of blueprints accepted for UDS13:28
=== matsubara-afk is now known as matsubara
=== smoser` is now known as smoser
nigelbjames_w: well, we already do a*n+1 + m where n is number of BPs and m is number of participants14:11
james_wnigelb, well, it may be even more14:12
james_wit's hard to say given that the API can't give us that information currently14:12
nigelbjames_w: hang on, let me try and explain what I'm saying :)14:12
nigelbjames_w: So, what I'm talking about is this http://bazaar.launchpad.net/~summit-hackers/summit/trunk/view/head:/summit/schedule/models/meetingmodel.py#L18814:15
nigelbHere 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:15
james_wnigelb, you mean replacing line 210 etc?14:16
james_wI have no problem with that14:16
james_wI thought you meant replacing the XML file with the API, which is what I think will be slower14:16
james_wreplacing what you point to should be roughly the same performance14:16
nigelbjames_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
nigelb*No, XML14:17
nigelbjames_w: aha, I'll create a bug and start working on that.14:17
james_wgreat14:18
nigelbhrm, why doesn't launchpad give me a proper url to access the specification API?14:25
nigelbhttps://launchpad.net/+apidoc/1.0.html#specification tells me URL: https://api.launchpad.net/1.014:25
nigelbadeuring: Hi, around?14:27
adeuringnigelb: sure14:27
nigelbCould you help me get data out of the specification end-point of the API?14:27
adeuringnigelb: I'll try. What is our problemß14:27
adeuring...problem?14:28
nigelbheh14:28
nigelbI have a link to a specification, I'd like to figure out how to access the data in json14:28
nigelbCurrently, summit screen-scrapes LP for this, I want to use the API to pull this data instead14:28
adeuringah, now I see it... The URLs shows in the docs are simply broken...14:29
adeuringnigelb: the quick workaround would be: use launchpadlib14:29
nigelbadeuring: heh, that was my backup plan :)14:30
adeuring;)14:30
nigelbadeuring: Is the doc thing something I can help fix/14:30
adeuringnigelb: that would be great -- problem is that I have no real clue how the API docs are generated...14:31
wgrantadeuring, nigelb: Nothing uses those URLs, and they are defined separately for each class in the XSLT.14:31
nigelbwgrant: how does the ajax stuff work if its not using the API?14:32
wgrantnigelb: It uses the API.14:32
wgrantnigelb: You wouldn't normally construct those URLs manually.14:32
nigelbwgrant: so, at uds flacoste showed me a magic url, I just didn't save it then :)14:32
wgrantnigelb: API paths are the same as webapp paths.14:32
adeuringnigelb: 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 URL14:33
wgrantnigelb: But normally you'd get a spec using a method on the object that owns it.14:33
wgrantThe AJAX Web UI just uses the current path.14:33
nigelbadeuring: w00t, that'll work14:33
nigelbwgrant: I can 'technically' construct the url for the API if I want to, right?14:33
wgrantnigelb: Yes, but it's not guaranteed to be stable.14:34
wgrant/ubuntu/+spec/whatever14:34
nigelbdarn14:34
wgrantSame as the web UI.14:34
wgrantNote that this URL hasn't changed in probably 5 years, so it's not much of a risk :)14:34
nigelbheh14:34
nigelbhttps://blueprints.launchpad.net/summit/+spec/community-o-summit is my BP, so what would be the api endpoint for that spec?14:35
wgrant$APIROOT/summit/+spec/community-o-summit14:35
wgranteg. https://api.launchpad.net/devel/summit/+spec/community-o-summit14:36
nigelbah14:36
nigelbthat's strange14:41
nigelbI don't see all the information I wished I could see14:41
wgranteg?14:42
nigelbah, needed to use devel instead of 1.014:42
wgrantThose objects aren't exposed under 1.0, since we supposedly need to support that until 15.0414:42
nigelbah.14:43
nigelbhrm, what format is that.  That isn't JSON.14:43
nigelb....14:44
nigelbI get XML :\14:44
wgrantAdd ?ws.accept=application/json. It will serve HTML to things that say they can accept it.14:44
wgrant(it defaults to checking the Accepts header, but ws.accept in the query string overrides that detection)14:45
nigelbah, this is beautiful14:45
nigelbThanks wgrant, adeuring :)14:47
deryckadeuring, I should be IRC now.  Sorry I just remembered.15:49
=== 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/
adeuringderyck: no problem15:50
pmatulismneptok: o/15:50
=== marienz_ is now known as marienz
=== beuno is now known as beuno-lunch
=== matsubara is now known as matsubara-lunch
ckozakIs there any way to get top contributors to a project using the launchpadlib api?17:46
ckozakis there a seperate channel for the launchpadlib api?18:00
ckozakIs there any way to get top contributors to a project using the launchpadlib api?18:07
=== 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/
abentleyckozak: This is a good channel to ask.  There is also launchpad-dev.18:20
ckozakabently: thanks!18:21
abentleyckozak: I don't see an obvious way to get that information over the API.18:21
ckozakabentley: hmm nor do I.  I guess I'll have to figure it out some other way18:22
abentleyckozak: It seems the method we use is not currently exported over the web service: getTopContributors18:24
abentleyderyck: I relieve you.18:26
deryckabentley, thank you.  I can swap you out time during your shift, if you like.18:27
abentleyNo problem.18:27
ckozakabentley: is there any way to access "getTopContributors" without scraping the webpage?18:27
ckozakI guess that wouldnt be the end of the world though18:28
abentleyckozak: No, but if you really want it, you can always send in a patch.18:28
ckozakabentley: will do, thanks man!18:29
=== 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
james_wlazr.restfulclient.errors.HTTPError: HTTP Error 301: Moved Permanently23:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!