[Buildbot-commits] buildbot/buildbot sourcestamp.py,1.1,1.2 scheduler.py,1.14,1.15 buildset.py,1.3,1.4
Brian Warner
warner at users.sourceforge.net
Sun Mar 12 11:28:06 UTC 2006
Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13851/buildbot
Modified Files:
sourcestamp.py scheduler.py buildset.py
Log Message:
* buildbot/buildset.py (BuildSet.__init__): clean up docstring
* buildbot/status/html.py (Waterfall.__init__): same
* buildbot/process/builder.py (Builder.startBuild): same
* buildbot/process/base.py (BuildRequest): same
* buildbot/sourcestamp.py (SourceStamp): same
* buildbot/scheduler.py (Nightly): same
Index: buildset.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/buildset.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- buildset.py 14 Oct 2005 19:32:55 -0000 1.3
+++ buildset.py 12 Mar 2006 11:28:04 -0000 1.4
@@ -14,7 +14,7 @@
def __init__(self, builderNames, source, reason=None, bsid=None):
"""
- @param source: a L{SourceStamp}
+ @param source: a L{buildbot.sourcestamp.SourceStamp}
"""
self.builderNames = builderNames
self.source = source
Index: scheduler.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scheduler.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- scheduler.py 13 Jan 2006 08:34:28 -0000 1.14
+++ scheduler.py 12 Mar 2006 11:28:04 -0000 1.15
@@ -362,22 +362,22 @@
hour.
For example, the following master.cfg clause will cause a build to be
- started every night at 3:00am:
+ started every night at 3:00am::
s = Nightly('nightly', ['builder1', 'builder2'], hour=3, minute=0)
c['schedules'].append(s)
This scheduler will perform a build each monday morning at 6:23am and
- again at 8:23am:
+ again at 8:23am::
s = Nightly('BeforeWork', ['builder1'],
dayOfWeek=0, hour=[6,8], minute=23)
- The following runs a build every two hours:
+ The following runs a build every two hours::
s = Nightly('every2hours', ['builder1'], hour=range(0, 24, 2))
- And this one will run only on December 24th:
+ And this one will run only on December 24th::
s = Nightly('SleighPreflightCheck', ['flying_circuits', 'radar'],
month=12, dayOfMonth=24, hour=12, minute=0)
Index: sourcestamp.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/sourcestamp.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sourcestamp.py 19 Jul 2005 23:11:59 -0000 1.1
+++ sourcestamp.py 12 Mar 2006 11:28:04 -0000 1.2
@@ -3,11 +3,11 @@
from buildbot.twcompat import implements
class SourceStamp(util.ComparableMixin):
- """
- a tuple of (branch, revision, patchspec, changes).
- C{branch} is always valid, although it may be None to let the Source
- step use its default branch. There are four possibilities for the
- remaining elements:
+ """This is a tuple of (branch, revision, patchspec, changes).
+
+ C{branch} is always valid, although it may be None to let the Source
+ step use its default branch. There are four possibilities for the
+ remaining elements:
- (revision=REV, patchspec=None, changes=None): build REV
- (revision=REV, patchspec=(LEVEL, DIFF), changes=None): checkout REV,
then apply a patch to the source, with C{patch -pPATCHLEVEL <DIFF}.
More information about the Commits
mailing list