<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-infrastructure.

</pre>
<p><a href="https://github.com/macports/macports-infrastructure/commit/762b1aa84c9c9606a61b3c14ae56beae072388e4">https://github.com/macports/macports-infrastructure/commit/762b1aa84c9c9606a61b3c14ae56beae072388e4</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 762b1aa  buildbot: checkout tools without setting revision
</span>762b1aa is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 762b1aa84c9c9606a61b3c14ae56beae072388e4
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Fri Dec 2 22:00:20 2016 +0100

<span style='display:block; white-space:pre;color:#404040;'>    buildbot: checkout tools without setting revision
</span>---
 buildbot/master.cfg | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/buildbot/master.cfg b/buildbot/master.cfg
</span><span style='display:block; white-space:pre;color:#808080;'>index aa339f2..83084fe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/buildbot/master.cfg
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/buildbot/master.cfg
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +40,18 @@ def port_from_path(path, sep='/'):
</span>     return None
 
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+####### CUSTOM STEPS #######
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# We can not use plain steps.Git to get the sources for additional tools from
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# repos such as mpbb or macports-infrastructure, as steps.Git would set the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# got_revision property. When clicking Rebuild later, this property would be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# used for checking out a specific revision the ports tree. Therefore only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# revisions of the ports tree should be stored in this property.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+class GitForTools(steps.Git):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    def updateSourceProperty(self, name, value, source=''):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        pass
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # This is the dictionary that the buildmaster pays attention to. We also use
 # a shorter alias to save typing.
 c = BuildmasterConfig = {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -381,7 +393,7 @@ def make_portwatcher_factory(triggerable):
</span>     portwatcher_factory.workdir = '../build'
 
     # get mpbb; we'll do the checkout of base and dports via these scripts
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    portwatcher_factory.addStep(steps.Git(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    portwatcher_factory.addStep(GitForTools(
</span>         repourl=config['mpbburl'],
         progress=True,
         env={'PATH': path_ports},
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -574,7 +586,7 @@ if 'www' in config['deploy']:
</span> if 'portindex' in config['deploy']:
     jobs_portindex_factory = util.BuildFactory()
     # TODO: incremental mode with cleanup?
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    jobs_portindex_factory.addStep(steps.Git(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    jobs_portindex_factory.addStep(GitForTools(
</span>         name='git infrastructure',
         repourl=config['infraurl'],
         progress=True,
</pre><pre style='margin:0'>

</pre>