[Buildbot-commits] buildbot/buildbot interfaces.py,1.35,1.36

Brian Warner warner at users.sourceforge.net
Fri Oct 21 08:03:41 UTC 2005

Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28628/buildbot

Modified Files:
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-348
Creator:  Brian Warner <warner at lothar.com>

add HTML/IRC control over build-on-branch and build-revision

	* buildbot/status/words.py (IrcStatusBot.command_FORCE): add
	control over --branch and --revision, not that they are always
	legal to provide
	* buildbot/status/html.py (StatusResourceBuilder.force): same
	(StatusResourceBuild.body): display SourceStamp components

	* buildbot/scripts/runner.py (ForceOptions): option parser for the
	IRC 'force' command, so it can be shared with an eventual
	command-line-tool 'buildbot force' mode.
	* buildbot/test/test_runner.py (Options.testForceOptions): test it

Index: interfaces.py
RCS file: /cvsroot/buildbot/buildbot/buildbot/interfaces.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- interfaces.py	20 Oct 2005 22:25:29 -0000	1.35
+++ interfaces.py	21 Oct 2005 08:03:39 -0000	1.36
@@ -315,6 +315,9 @@
         # TODO: it should be possible to expire the patch but still remember
         # that the build was r123+something.
+        # TODO: change this to return the actual SourceStamp instance, and
+        # remove getChanges()
     def getChanges():
         """Return a list of Change objects which represent which source
         changes went into the build."""

More information about the Commits mailing list