[Buildbot-commits] buildbot/buildbot/process buildstep.py, NONE, 1.1 factory.py, 1.14, 1.15 step.py, 1.108, NONE
Brian Warner
warner at users.sourceforge.net
Sun Sep 17 20:35:51 UTC 2006
- Previous message (by thread): [Buildbot-commits] buildbot ChangeLog,1.734,1.735
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/steps dummy.py, 1.2, 1.3 python_twisted.py, 1.1, 1.2 shell.py, 1.2, 1.3 source.py, 1.1, 1.2 transfer.py, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25940/buildbot/process
Modified Files:
factory.py
Added Files:
buildstep.py
Removed Files:
step.py
Log Message:
[project @ move b.p.step to b.p.buildstep, leaving step.py just for backwards compability]
Original author: warner at lothar.com
Date: 2006-09-17 19:47:55
--- NEW FILE: buildstep.py ---
# -*- test-case-name: buildbot.test.test_steps -*-
from twisted.internet import reactor, defer, error
from twisted.protocols import basic
from twisted.spread import pb
from twisted.python import log
from twisted.python.failure import Failure
from twisted.web.util import formatFailure
from buildbot import interfaces
from buildbot.twcompat import implements, providedBy
from buildbot import util
from buildbot.status import progress
from buildbot.status.builder import SUCCESS, WARNINGS, FAILURE, SKIPPED, \
EXCEPTION
"""
BuildStep and RemoteCommand classes for master-side representation of the
build process
[...1032 lines suppressed...]
elif results == WARNINGS:
return "orange"
else:
return "red"
def setStatus(self, cmd, results):
# this is good enough for most steps, but it can be overridden to
# get more control over the displayed text
self.step_status.setColor(self.getColor(cmd, results))
self.step_status.setText(self.getText(cmd, results))
self.step_status.setText2(self.maybeGetText2(cmd, results))
# legacy compatibility
from buildbot.steps.shell import ShellCommand, WithProperties, TreeSize, Configure, Compile, Test
from buildbot.steps.source import CVS, SVN, Darcs, Git, Arch, Bazaar, Mercurial, P4, P4Sync
from buildbot.steps.dummy import Dummy, FailingDummy, RemoteDummy
Index: factory.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/factory.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- factory.py 15 Sep 2006 14:47:41 -0000 1.14
+++ factory.py 17 Sep 2006 20:35:49 -0000 1.15
@@ -2,7 +2,7 @@
from buildbot import util
from buildbot.process.base import Build
-from buildbot.process.step import BuildStep
+from buildbot.process.buildstep import BuildStep
from buildbot.steps.source import CVS, SVN
from buildbot.steps.shell import Configure, Compile, Test
--- step.py DELETED ---
- Previous message (by thread): [Buildbot-commits] buildbot ChangeLog,1.734,1.735
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/steps dummy.py, 1.2, 1.3 python_twisted.py, 1.1, 1.2 shell.py, 1.2, 1.3 source.py, 1.1, 1.2 transfer.py, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list