[Buildbot-commits] buildbot/buildbot/scripts sample.cfg,1.13,1.14

Brian Warner warner at users.sourceforge.net
Wed Aug 1 20:31:28 UTC 2007


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

Modified Files:
	sample.cfg 
Log Message:
[project @ replace c['sources'] with c['change_source']]

Original author: warner at lothar.com
Date: 2007-07-28 20:03:12+00:00

Index: sample.cfg
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/sample.cfg,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- sample.cfg	27 Jul 2007 10:13:55 -0000	1.13
+++ sample.cfg	1 Aug 2007 20:31:26 -0000	1.14
@@ -31,11 +31,12 @@
 
 ####### CHANGESOURCES
 
-# the 'sources' list tells the buildmaster how it should find out about
-# source code changes. Any class which implements IChangeSource can be added
-# to this list: there are several in buildbot/changes/*.py to choose from.
+# the 'change_source' setting tells the buildmaster how it should find out
+# about source code changes. Any class which implements IChangeSource can be
+# put here: there are several in buildbot/changes/*.py to choose from.
 
-c['sources'] = []
+from buildbot.changes.pb import PBChangeSource
+c['change_source'] = PBChangeSource()
 
 # For example, if you had CVSToys installed on your repository, and your
 # CVSROOT/freshcfg file had an entry like this:
@@ -48,14 +49,14 @@
 #
 #from buildbot.changes.freshcvs import FreshCVSSource
 #fc_source = FreshCVSSource("cvs.example.com", 4519, "foo", "bar")
-#c['sources'].append(fc_source)
+#c['change_source'] = fc_source
 
 # or, use a PBChangeSource, and then have your repository's commit script run
-# 'buildbot sendchange', or contrib/svn_buildbot.py, or
+# 'buildbot sendchange', or use contrib/svn_buildbot.py, or
 # contrib/arch_buildbot.py :
 #
 #from buildbot.changes.pb import PBChangeSource
-#c['sources'].append(PBChangeSource())
+#c['change_source'] = PBChangeSource()
 
 
 ####### SCHEDULERS





More information about the Commits mailing list