/srv/irclogs.ubuntu.com/2014/10/22/#launchpad.txt

stokachuanyone know if these GET methods work? https://api.launchpad.net/1.0.html#countries01:11
stokachui get 404 errors when attempting to access it01:11
wgrantstokachu: The URLs on that page are often inaccurate. In this case it's '+countries', not just 'countries'. What are you using it for?04:01
stokachuwgrant: just writing some api bindings and was testing out the countries api04:02
stokachunothing major04:02
wgrantAh :)04:03
wgrantYou're not using the WADL?04:03
stokachuwgrant: nah this is in perl04:04
wgrantOh04:04
wgrantOh dear :)04:04
stokachulol yea so i didn't want to draw to much attention04:04
stokachuwgrant: cool that was it, tests work now thx04:06
wgrantGreat.04:06
wgrantThe correct URL is in the top-level collection definitions in the WADL. I'm not sure wy the docs are wrong, but the URLs for most objects are complicated and so slightly wrong in the docs anyway.04:07
stokachuwgrant: where can i find those wadl information?04:07
stokachuwgrant: https://metacpan.org/release/ADAMJS/Net-Launchpad-Client-1.2.1 if you're ever curious04:10
stokachuit shouldnt make your eyes bleed too bad04:11
wgrantstokachu: A GET to the API root with an Accept header of "application/vd.sun.wadl+xml". This is documented on https://help.launchpad.net/API/Hacking, fwiw.04:11
wgrantAlso, a GET to the application root itself will give you the root collects as JSON.04:12
wgranteg. https://api.launchpad.net/1.0//?ws.accept=application/json04:12
stokachuah ok nice04:12
wgrant(ws.accept overrides the Accepts header, for easy poking in a browser)04:12
wgrantThe HTML docs are generated from the machine-readable WADL. You don't need to parse the WADL unless you want something like launchpadlib, where objects know about their methods, and check arguments automatically, etc.04:14
stokachuok cool thanks man04:14
stokachuah nice this root collections will help04:17
stokachudont have to worry about hardcoding those toplevel urls04:18
wgrantYep04:18
wgrantThere's no way to discover the methods or their parameters from the JSON, but if you know what you want then that's fine.04:19
stokachuyea i think with this, the existing documentation, and just inspecting the return content should be good enough04:20
tewardis the process to request arm builds on a PPA documented anywhere12:44
wgranthttps://dev.launchpad.net/CommunityARMBuilds12:45
tewardwgrant: thanks12:45
ricotzhi, is there something wrong with the ppa-builders, they are all in "Cleaning" mode but one, it seems some of those are doing that for quite some time, is this intended in this amount, thanks12:49
tewardwgrant: who do i poke if it looks like the ppa builders are all broken or stuck on something?12:59
wgrantteward: Me. And indeed, something is up, let me see.13:01
wgrantWe're all in the US atm, so just waking up.13:01
tewardwgrant: i hear ya, I"m eastern US too...13:02
tewardthe girlfriend kicking me in her sleep woke me up though :P13:02
tewardthat's the unexpected-shock way of waking up xD13:02
wgrantteward: It's coming back now.13:08
wgrantThanks for letting us know.13:08
tewardwgrant: you're welcome, actually, give ricotz the credit :)13:08
tewardi just did a targeted ping :)13:08
ricotzwgrant, thanks!13:10
wgrantricotz: Thank you.13:10
wgrantThere was a glitch a couple of hours ago which knocked most of them out.13:11
ricotzwgrant, i see, although looking at https://launchpad.net/builders/lcy01-01/+history indicates a long lasting problem13:11
wgrantricotz: lcy01 is extra special.13:12
wgrantAnd sorta broken atm.13:12
ricotzsince it claims it handled the last build nearly a month ago13:12
wgrantlgw01 is one datacentre, lcy01 is the other.13:12
wgrantlcy01's cloud isn't quite stable yet.13:12
ricotzah alright13:12
wgrantlgw01 provides more than enough capacity, fortunately.13:13
wgrantWhen it's not all confused like it was just now.13:13
ricotzi see, looking good now13:15
tewardwgrant: thanks for poking it :)13:16
cjwatsonwgrant: What did you do to fix up lgw01 (for my information)?13:40
wgrantcjwatson: one of them was still alive, so I just manage-builders --virtual --disable, manage-builders --virtual --enable13:41
wgrantI really need to add options to filter by status and VM host.13:41
wgrantAnd perhaps to dirty in one hit.13:42
=== mhagedorn is now known as mwhagedorn
ricotzwgrant, are there still issues with e.g. publishing ppa-packages?15:34
ricotzfinished 53mins ago -- https://launchpad.net/~ricotz/+archive/ubuntu/testing/+sourcepub/4489809/+listing-archive-extra15:35
cjwatsonricotz: yes, I'm tracking that down15:40
wgrantHm15:40
wgrantcron.ppa must be hung.15:40
cjwatsonwgrant: (#webops)15:40
ricotzcjwatson, thanks15:40
wgrantAh yeah15:40
wgrantStil cathing up; only just got back to IRC.15:40
wgrantThanks.15:40
ricotzwgrant, all idle builders are "Cleaning" again ;)16:49
tewardwgrant: ppa builders all at 'cleaning' again, is something major going on?17:03
wgrantteward, ricotz: yes, we're still working on the issue.17:10
tewardwgrant: ack.17:11
=== JanC is now known as Guest53977
=== JanC_ is now known as JanC
rocketninehi21:34

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