That should not be to hard: LKGR = 'http://build.chromium.org/buildbot/continuous/LATEST/REVISION' revision_arg = '--revision=...@%s' % int(urllib.urlopen(LKGR).read())
Needs a bit of error handling, but it should be easy to put in gclient.py, optionally with a feature to allow you to specify the URL of the page that has the revision number. Berend-Jan "SkyLined" Wever (skyli...@google.com) - Security Software Engineer Google NL B.V. Reg: C. Debussylaan 34, 15th floor 1082 MD A'dam 34198589 NL VAT / Tax ID:- 812788515 B01 On Wed, Mar 25, 2009 at 18:00, Patrick Johnson <patr...@chromium.org> wrote: > Nice! Can we add an option to gclient to make it automatically sync to the > last known good revision? > Patrick > > > On Wed, Mar 25, 2009 at 9:18 AM, Marc-Andre Decoste <m...@chromium.org>wrote: > >> Salut Chromium-Dev'ers, >> if you are not interested in knowing about the last revisions that >> successfully built, you can stop reading here (or you could actually go on >> if you are curious because this email isn't that long anyway :-). >> >> We just added a new builder status receiver to the build bot so that >> we can post the revision number when a build succeeds all the way to the >> unit test on all platforms (win, mac and linux). You can access the latest >> good revision from this URL: http://chromium-status.appspot.com/lkgr, >> which simply returns the revision number (so you could easily use it in a >> script automating your local build with the Last Known Good >> Revision). You can also access the list of the last known good revisions >> here: http://chromium-status.appspot.com/revisions. >> >> We will soon start using the LKGR number on the try servers to make sure >> that the patches you try are not affected by a failing HEAD build. >> >> Enjoy! >> >> BYE >> MAD >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---