/srv/irclogs.ubuntu.com/2016/01/01/#launchpad.txt

FauxI would like the "publishing history" data.  I can't see how you get it from the api docs; they mention fetching a single item given its id, but I can't find the ids, and my guesses result in "blank" responses.  Also, is the API deprecated, as the API index claims? e.g.  https://launchpad.net/ubuntu/+source/custodia/0.1.0-2/+publishinghistory14:42
FauxI am specifically interested in whether a build failed for ubuntu/xenial/amd64 for a source package/version pair, which I think I can get by fetching that data and seeing if it is "pocket: proposed".14:43
dobeyFaux: pocket proposed doesn't mean failure. it means the package is in the proposed pocket rather than release/updates/security15:03
FauxMmm.  In this case, I believe it is because it failed to build.  Maybe my statement only holds for previously released packages?15:07
dobeyno15:07
FauxOkay.  In that case, is the buildd data exposed in any useful way you're aware of? :)15:08
FauxYou can observe the build failure, but only if you know the magic ID: https://launchpad.net/ubuntu/+source/custodia/0.1.0-2/+build/818439315:08
Faux(Linked from https://launchpad.net/ubuntu/+source/custodia/0.1.0-2 )15:09
dobeysource_package_publishing_history.getBuilds() gives you the builds for that source package, in the API15:11
dobeyor distro_series.getBuildRecords(source_name="custodia") will give you all the build records for that source in the specified distro series15:13
dobeyin the API15:13
FauxAha, yes.  list(launchpad.distributions['ubuntu'].current_series.getBuildRecords(source_name='custodia')) looks like what I want.  Great, thanks.15:17

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