=== shadeslayer_ is now known as shadeslayer | ||
Mirv | I'm a bit LP newbie, but I don't find how to delete things (recipe in this case) via the API? my search skills haven't helped me so far in my browsing of the docs and examples. | 11:26 |
---|---|---|
cjwatson | It's not currently exported | 11:27 |
Mirv | ok, thanks. I tend to like API for recipe handling since LP times out most of the time for those, but I think I can use a scripted opening of +delete url:s and some clickfest as a good enough workaround. | 11:28 |
cjwatson | Please file a bug when API you need is missing | 11:28 |
cjwatson | In principle it's probably about a three-line change plus tests to export it, though I haven't looked very hard | 11:29 |
Mirv | ok, filing | 11:29 |
cjwatson | But indeed you can use scraping as a non-ideal workaround | 11:30 |
maxb | I imagine you can just poke the web UI using curl for now | 11:31 |
Mirv | I filed bug #1319015 and will proceed with semiautomated url usage. thanks a lot! | 11:34 |
ubot5 | bug 1319015 in Launchpad itself "Not possible to delete recipes via API" [Undecided,New] https://launchpad.net/bugs/1319015 | 11:34 |
cjwatson | When I need such things I tend to use the API as much as possible and then .web_link + urllib2 + BeautifulSoup | 11:34 |
maxb | curl -v -b lp=yoursessioncookie -F field.actions.delete='Delete recipe' -e https://code.launchpad.net/~xxxx/+recipe/xxxx/+delete https://code.launchpad.net/~xxxx/+recipe/xxxx/+delete | 11:47 |
maxb | ^ I was curious if it could be done | 11:47 |
ricotz | hello, i am having trouble with some ppa builds which getting auto-restarted or failing without a providing log | 12:43 |
ricotz | e.g. https://launchpad.net/~ricotz/+archive/ppa/+build/6002249 which was restarted 7 hours ago but claiming to be running for 20hourse | 12:44 |
cjwatson | That happens if the builder dies | 12:44 |
cjwatson | I think you'll just have to retry | 12:45 |
ricotz | i see, unfortunately i already restarted them like 3 times :\ | 12:45 |
ricotz | i am seeing this currently for 5 libreoffice builds which won't get ready this way | 12:46 |
cjwatson | The logs aren't very clear; that build died like this: | 12:47 |
cjwatson | 2014-05-13 11:48:42+0000 [-] Scanning king failed with: | 12:47 |
cjwatson | 2014-05-13 11:48:42+0000 [-] Traceback (most recent call last): | 12:47 |
cjwatson | 2014-05-13 11:48:42+0000 [-] Failure: twisted.internet.defer.CancelledError: | 12:47 |
cjwatson | 2014-05-13 11:48:42+0000 [-] | 12:47 |
cjwatson | 2014-05-13 11:48:42+0000 [-] Builder king failure count: 1, job 'amd64 build of libreoffice 1:4.2.4~rc2-0ubuntu1~saucy3 in ubuntu saucy RELEASE' failure count: 4 | 12:47 |
cjwatson | It *could* be that your build is hitting the machine so hard that you're managing to basically forkbomb it and force launchpad-buildd itself out of core so that it can't respond to buildd-manager | 12:48 |
ricotz | hmm, so it could be related to having 5 builds running concurrently on the server which provides the virtualized builders | 12:49 |
ricotz | although it worked fine with the last builds like https://launchpad.net/~ricotz/+archive/ppa/+sourcepub/4162362/+listing-archive-extra | 12:50 |
ricotz | or https://launchpad.net/~ricotz/+archive/ppa/+sourcepub/4162359/+listing-archive-extra | 12:51 |
ricotz | i am hoping this one finishes successful https://launchpad.net/~libreoffice/+archive/libreoffice-4-1/+build/6000350 | 12:52 |
cjwatson | I'm really talking about load on individual guests, not load caused by multiple guests on the same host | 12:56 |
=== BradCrittenden is now known as bac | ||
cmosguy | hi all, I am gettin gthis error message: Err http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main libapache2-mod-php5 amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 | 15:56 |
cmosguy | Could not resolve 'ppa.launchpad.net' | 15:56 |
cmosguy | E: Failed to fetch http://ppa.launchpad.net/ondrej/php5/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb Could not resolve 'ppa.launchpad.net' | 15:56 |
rbasak | cmosguy: sounds like you have a DNS problem maybe? ppa.launchpad.net resolves for me. | 15:59 |
cmosguy | rbasak, yeah i just figured that out just now, for somereason my vagrant session can't resolve this... | 16:00 |
=== dpm is now known as dpm-afk | ||
=== DaGardner is now known as wbkDaGardner | ||
=== wbkDaGardner is now known as DaGardner | ||
=== BradCrittenden is now known as bac | ||
shadeslayer | wgrant: poke | 19:38 |
shadeslayer | wgrant: would it be possible to rescore https://code.launchpad.net/~neon/+recipe/project-neon5-runtime | 19:39 |
shadeslayer | it's a silly meta package waiting forever to build | 19:39 |
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
=== BradCrittenden is now known as bac | ||
wgrant | shadeslayer: Interactive builds > automatic daily builds, I'm afraid. | 22:13 |
shadeslayer | ok :) | 22:15 |
shadeslayer | I manually fixed it on my server, couldn't wait for it to build | 22:15 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!