<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2018-03-07 16:03, Ryan Schmidt
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20180307150315.27202.36088@braeburn.macports.org">
      <pre style="margin:0">Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-infrastructure.

</pre>
      <p><a
href="https://github.com/macports/macports-infrastructure/commit/7a2fc5596970826f362413b362a5a3dc23db5e7a"
          moz-do-not-send="true">https://github.com/macports/macports-infrastructure/commit/7a2fc5596970826f362413b362a5a3dc23db5e7a</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 7a2fc55  Use mpbb to mirror distfiles
</span>7a2fc55 is described below

<span style="display:block; white-space:pre;color:#808000;">commit 7a2fc5596970826f362413b362a5a3dc23db5e7a
</span>Author: Ryan Schmidt <a class="moz-txt-link-rfc2396E" href="mailto:ryandesign@macports.org"><ryandesign@macports.org></a>
AuthorDate: Wed Mar 7 09:03:01 2018 -0600

<span style="display:block; white-space:pre;color:#404040;">    Use mpbb to mirror distfiles
</span>---
 buildbot/config.json.sample |  3 +++
 buildbot/master.cfg         | 32 +++++++++++++++++++++++++++++---
 2 files changed, 32 insertions(+), 3 deletions(-)

<span style="display:block; white-space:pre;color:#808080;">diff --git a/buildbot/config.json.sample b/buildbot/config.json.sample
</span><span style="display:block; white-space:pre;color:#808080;">index d500efb..55d9508 100644
</span><span style="display:block; white-space:pre;background:#e0e0ff;">--- a/buildbot/config.json.sample
</span><span style="display:block; white-space:pre;background:#e0e0ff;">+++ b/buildbot/config.json.sample
</span><span style="display:block; white-space:pre;background:#e0e0e0;">@@ -36,6 +36,9 @@
</span>             "sshkeyfile": "",
             "sshknownhostsfile": "ssh_known_hosts",
             "destpath": ""
<span style="display:block; white-space:pre;background:#e0ffe0;">+        },
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+        "mirror": {
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+            "distfilesdir": "",
</span>         }
     }
 }
<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 8c9e9bb..a05fa07 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;">@@ -678,11 +678,37 @@ if 'portindex' in config['deploy']:
</span> 
 if 'mirror' in config['deploy']:
     jobs_mirror_factory = util.BuildFactory()
<span style="display:block; white-space:pre;background:#e0ffe0;">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+    # get mpbb; we'll do the checkout of base and dports via these scripts
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+    jobs_mirror_factory.addStep(GitForTools(
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+        repourl=config['mpbburl'],
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+        progress=True,
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+        env={'PATH': path_ports},</span></pre>
    </blockquote>
    This should probably use path_jobs here. These are identical paths
    at the moment, but I think it is better to keep the abstraction.<br>
    <br>
    Rainer
  </body>
</html>