[152521] contrib/buildbot-test/master.cfg
ryandesign at macports.org
ryandesign at macports.org
Sun Sep 11 18:48:27 PDT 2016
Revision: 152521
https://trac.macports.org/changeset/152521
Author: ryandesign at macports.org
Date: 2016-09-11 18:48:27 -0700 (Sun, 11 Sep 2016)
Log Message:
-----------
buildbot-test: update step descriptions
The descriptions of the install-dependencies and install-port steps now
include the port name. The separate initial step that prints the port name
is removed.
Modified Paths:
--------------
contrib/buildbot-test/master.cfg
Modified: contrib/buildbot-test/master.cfg
===================================================================
--- contrib/buildbot-test/master.cfg 2016-09-12 01:43:20 UTC (rev 152520)
+++ contrib/buildbot-test/master.cfg 2016-09-12 01:48:27 UTC (rev 152521)
@@ -392,41 +392,25 @@
return portwatcher_factory
-from buildbot.process.buildstep import BuildStep
-
-class InfoStep(BuildStep):
- def __init__(self, title='', **kwargs):
- BuildStep.__init__(self, **kwargs)
- self.name = title
- self.description = title
- self.descriptionDone = title
- self.doStepIf = False
-
# -- Port Builder --
portbuilder_factory = BuildFactory()
portbuilder_factory.workdir = '../build'
logdir = os.path.join(portbuilder_factory.workdir, "logs")
-# XXX: use InfoStep instead of running a dummy command
-portbuilder_factory.addStep(ShellCommand(
- command=["/usr/bin/true"],
- description=[WithProperties("Port: %(portname)s")]))
-#portbuilder_factory.addStep(InfoStep(title=WithProperties("Port %(portname)s")))
-
portbuilder_factory.addStep(Compile(
command=['./mpbb/mpbb', 'install-dependencies', '--prefix', WithProperties(prefix), WithProperties('%(portname)s')],
name="install-dependencies",
- description=["installing", "dependencies"],
- descriptionDone=["install", "dependencies"],
+ description=["installing", "dependencies", "of", WithProperties("%(portname)s")],
+ descriptionDone=["install", "dependencies", "of", WithProperties("%(portname)s")],
logfiles={"dependencies": os.path.join(logdir, "dependencies-progress.txt")},
haltOnFailure=True))
portbuilder_factory.addStep(Compile(
command=['./mpbb/mpbb', 'install-port', '--prefix', WithProperties(prefix), WithProperties('%(portname)s')],
name="install-port",
- description=["installing", "port"],
- descriptionDone=["install", "port"],
+ description=["installing", WithProperties("%(portname)s")],
+ descriptionDone=["install", WithProperties("%(portname)s")],
logfiles={
"files": os.path.join(logdir, "port-contents.txt"),
"statistics": os.path.join(logdir, "port-statistics.txt"),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160911/70ec17a8/attachment.html>
More information about the macports-changes
mailing list