[Buildbot-commits] buildbot/buildbot/scripts runner.py,1.28,1.29

Brian Warner warner at users.sourceforge.net
Mon May 23 22:48:07 UTC 2005


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

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

add --version, update NEWS

	* NEWS: update for 0.6.6 release

	* buildbot/scripts/runner.py (Options.opt_version): Add a
	--version command (actually, just make the existing --version
	command emit Buildbot's version too)


Index: runner.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/runner.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- runner.py	23 May 2005 17:45:54 -0000	1.28
+++ runner.py	23 May 2005 22:47:51 -0000	1.29
@@ -587,6 +587,11 @@
         # TODO: 'try', 'watch'
         ]
 
+    def opt_version(self):
+        import buildbot
+        print "Buildbot version: %s" % buildbot.version
+        usage.Options.opt_version(self)
+
     def postOptions(self):
         if not hasattr(self, 'subOptions'):
             raise usage.UsageError("must specify a command")





More information about the Commits mailing list