[Buildbot-commits] buildbot/docs buildbot.texinfo,1.87,1.88

Brian Warner warner at users.sourceforge.net
Sun Nov 26 08:31:40 UTC 2006


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

Modified Files:
	buildbot.texinfo 
Log Message:
[project @ ShellCommand: you can't use command=WithProperties(stuff): improve docs and add an assertion]

Original author: warner at lothar.com
Date: 2006-11-26 08:30:59

Index: buildbot.texinfo
===================================================================
RCS file: /cvsroot/buildbot/buildbot/docs/buildbot.texinfo,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- buildbot.texinfo	24 Nov 2006 19:27:11 -0000	1.87
+++ buildbot.texinfo	26 Nov 2006 08:31:37 -0000	1.88
@@ -3939,7 +3939,12 @@
 @end example
 
 Don't forget the extra ``s'' after the closing parenthesis! This is
-the cause of many confusing errors.
+the cause of many confusing errors. Also note that you can only use
+WithProperties in the list form of the command= definition. You cannot
+currently use it in the (discouraged) @code{command="stuff"}
+single-string form. However, you can use something like
+ at code{command=["/bin/sh", "-c", "stuff", WithProperties(stuff)]} to
+use both shell expansion and WithProperties interpolation.
 
 Note that, like python, you can either do positional-argument
 interpolation @emph{or} keyword-argument interpolation, not both. Thus





More information about the Commits mailing list