[macports-infrastructure] branch master updated: Use mpbb to mirror distfiles

Rainer Müller raimue at macports.org
Wed Mar 7 17:21:52 UTC 2018


On 2018-03-07 16:03, Ryan Schmidt wrote:
> Ryan Schmidt (ryandesign) pushed a commit to branch master
> in repository macports-infrastructure.
>
> https://github.com/macports/macports-infrastructure/commit/7a2fc5596970826f362413b362a5a3dc23db5e7a
>
> The following commit(s) were added to refs/heads/master by this push:
> new 7a2fc55 Use mpbb to mirror distfiles 7a2fc55 is described below
>
> commit 7a2fc5596970826f362413b362a5a3dc23db5e7a Author: Ryan Schmidt <ryandesign at macports.org>
> AuthorDate: Wed Mar 7 09:03:01 2018 -0600
>
> Use mpbb to mirror distfiles ---
>  buildbot/config.json.sample |  3 +++
>  buildbot/master.cfg         | 32 +++++++++++++++++++++++++++++---
>  2 files changed, 32 insertions(+), 3 deletions(-)
>
> diff --git a/buildbot/config.json.sample b/buildbot/config.json.sample
> index d500efb..55d9508 100644 --- a/buildbot/config.json.sample +++
> b/buildbot/config.json.sample @@ -36,6 +36,9 @@              "sshkeyfile": "",
>              "sshknownhostsfile": "ssh_known_hosts",
>              "destpath": ""
> + }, + "mirror": { + "distfilesdir": "",          }
>      }
>  }
> diff --git a/buildbot/master.cfg b/buildbot/master.cfg index
> 8c9e9bb..a05fa07 100644 --- a/buildbot/master.cfg +++
> b/buildbot/master.cfg @@ -678,11 +678,37 @@ if 'portindex' in
> config['deploy']:  
>  if 'mirror' in config['deploy']:
>      jobs_mirror_factory = util.BuildFactory()
> + + # get mpbb; we'll do the checkout of base and dports via these
> scripts + jobs_mirror_factory.addStep(GitForTools( +
> repourl=config['mpbburl'], + progress=True, + env={'PATH': path_ports},
This should probably use path_jobs here. These are identical paths at
the moment, but I think it is better to keep the abstraction.

Rainer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20180307/35fc3684/attachment.html>


More information about the macports-dev mailing list