Hi, On Tue, Oct 20, 2009 at 01:27:50PM +0100, Julian Edwards wrote: > On Tuesday 20 October 2009 05:39:27 Robert Collins wrote: > > Has anyone written a script to track whether a build succeeds/fails in a > > ppa? > > > > I'd like to be able to run > > bzr dailydeb <...> > > dput ppa:<...> *.changes > > track-build *.changes > > > > and have the last command error if the ppa build fails. > > > > This would be useful because I want to trigger builds of dependent > > packages but only if the lower layer builds successfully - and I need > > the package from the lower layer in my ppa to use it in my builds :) > > I've not heard of a script, but this should be pretty trivial with the API. > Cody and or the security guys may have done one, come to think of it. We've got such a tool[1], but it's likely massive overkill (it does a lot more than just build status tracking). Note that the API (currently) lacks[2] a way to get buildlog URLs, so the status of a build would be the only thing that could be queried. -Kees [1] http://bazaar.launchpad.net/~ubuntu-security/ubuntu-cve-tracker/master/annotate/head%3A/scripts/sis-changes Be warned, it is an XML-scraper, but it does the job: $ ./scripts/sis-changes --action build-check linux linux-source-2.6.15 BONUS: ia64 found for hardy OK: hardy intrepid jaunty OK: dapper [2] https://bugs.launchpad.net/bugs/415583 -- Kees Cook Ubuntu Security Team
This is the launchpad-users mailing list archive — see also the general help for Launchpad.net mailing lists.
(Formatted by MHonArc.)