Faux | I 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/+publishinghistory | 14:42 |
---|---|---|
Faux | I 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 |
dobey | Faux: pocket proposed doesn't mean failure. it means the package is in the proposed pocket rather than release/updates/security | 15:03 |
Faux | Mmm. In this case, I believe it is because it failed to build. Maybe my statement only holds for previously released packages? | 15:07 |
dobey | no | 15:07 |
Faux | Okay. In that case, is the buildd data exposed in any useful way you're aware of? :) | 15:08 |
Faux | You can observe the build failure, but only if you know the magic ID: https://launchpad.net/ubuntu/+source/custodia/0.1.0-2/+build/8184393 | 15:08 |
Faux | (Linked from https://launchpad.net/ubuntu/+source/custodia/0.1.0-2 ) | 15:09 |
dobey | source_package_publishing_history.getBuilds() gives you the builds for that source package, in the API | 15:11 |
dobey | or distro_series.getBuildRecords(source_name="custodia") will give you all the build records for that source in the specified distro series | 15:13 |
dobey | in the API | 15:13 |
Faux | Aha, 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!