[Buildbot-commits] buildbot/buildbot/scripts runner.py,1.43,1.44

Brian Warner warner at users.sourceforge.net
Fri Aug 11 07:31:05 UTC 2006


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

Modified Files:
	runner.py 
Log Message:
[project @ rename 'buildbot master' to 'buildbot create-master', likewise with create-slave]

Original author: warner at lothar.com
Date: 2006-08-11 04:45:26

Index: runner.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/runner.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- runner.py	28 Jun 2006 17:42:16 -0000	1.43
+++ runner.py	11 Aug 2006 07:31:03 -0000	1.44
@@ -162,7 +162,7 @@
         ["config", "c", "master.cfg", "name of the buildmaster config file"],
         ]
     def getSynopsis(self):
-        return "Usage:    buildbot master [options] <basedir>"
+        return "Usage:    buildbot create-master [options] <basedir>"
 
     longdesc = """
     This command creates a buildmaster working directory and buildbot.tac
@@ -229,7 +229,7 @@
     """
 
     def getSynopsis(self):
-        return "Usage:    buildbot slave [options] <basedir> <master> <name> <passwd>"
+        return "Usage:    buildbot create-slave [options] <basedir> <master> <name> <passwd>"
 
     def parseArgs(self, *args):
         if len(args) < 4:
@@ -660,9 +660,9 @@
 
     subCommands = [
         # the following are all admin commands
-        ['master', None, MasterOptions,
+        ['create-master', None, MasterOptions,
          "Create and populate a directory for a new buildmaster"],
-        ['slave', None, SlaveOptions,
+        ['create-slave', None, SlaveOptions,
          "Create and populate a directory for a new buildslave"],
         ['start', None, StartOptions, "Start a buildmaster or buildslave"],
         ['stop', None, StopOptions, "Stop a buildmaster or buildslave"],
@@ -720,9 +720,9 @@
     command = config.subCommand
     so = config.subOptions
 
-    if command == "master":
+    if command == "create-master":
         createMaster(so)
-    elif command == "slave":
+    elif command == "create-slave":
         createSlave(so)
     elif command == "start":
         start(so)





More information about the Commits mailing list