[Buildbot-commits] buildbot/buildbot/scripts runner.py,1.39,1.40
Brian Warner
warner at users.sourceforge.net
Wed Feb 8 20:50:32 UTC 2006
Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8498/buildbot/scripts
Modified Files:
runner.py
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-462
Creator: Brian Warner <warner at monolith.lothar.com>
add --umask= argument to the buildslave
Index: runner.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/runner.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- runner.py 25 Oct 2005 01:26:10 -0000 1.39
+++ runner.py 8 Feb 2006 20:50:30 -0000 1.40
@@ -117,21 +117,6 @@
if secret:
os.chmod(tacfile, 0600)
- def makeSlaveTAC(self):
-
- tacfile = "buildbot.tac"
- if os.path.exists(tacfile):
- oldcontents = open(tacfile, "rt").read()
- if oldcontents == contents:
- print "buildbot.tac already exists and is correct"
- return
- print "not touching existing buildbot.tac"
- print "creating buildbot.tac.new instead"
- tacfile = "buildbot.tac.new"
- f = open(tacfile, "wt")
- f.write(contents)
- f.close()
-
def makefile(self):
target = "Makefile.sample"
if os.path.exists(target):
@@ -228,6 +213,8 @@
"Interval at which keepalives should be sent (in seconds)"],
["usepty", None, 1,
"(1 or 0) child processes should be run in a pty"],
+ ["umask", None, "None",
+ "controls permissions of generated files. Use --umask=022 to be world-readable"],
]
longdesc = """
@@ -272,6 +259,7 @@
passwd = '%(passwd)s'
keepalive = %(keepalive)d
usepty = %(usepty)d
+umask = %(umask)s
application = service.Application('buildslave')
s = BuildSlave(host, port, slavename, passwd, basedir, keepalive, usepty)
More information about the Commits
mailing list