[MacPorts] #60590: Macports mirrors are down?

Ruben Di Battista rubendibattista at gmail.com
Sat Jun 6 10:57:19 UTC 2020


I'm probably saying something completely wrong, but can't you leverage the
CI system and buildbots to create a Github release that includes the
PortIndex and whatsoever and then download it from Github servers via http?
What am I missing here?



On Sat, 6 Jun 2020, 02:49 Clemens Lang, <cal at macports.org> wrote:

> Hi,
>
> On Fri, Jun 05, 2020 at 06:05:41PM -0500, Christopher Chavez wrote:
> > As a user, I've thought it would be great if MacPorts used git syncing
> > by default. I have used git-over-https since 2016 when I was
> > constrained to ports 80/443 by a university campus network. I had
> > found it also avoided needlessly writing hundreds of MB to the SSD
> > when updating the ports tree. If GitHub outages are a concern, then I
> > would think falling back to a mirror hosted by
> > GitLab/SourceForge/Bitbucket/etc. should be possible.
>
> The reason why we haven't done this is that you would no longer get a
> prebuilt PortIndex. You would have to generate the PortIndex locally,
> which costs CPU time and is noticeably slower than downloading a
> matching PortIndex from rsync.
>
> We might eventually figure out a way to provide prebuilt portindexes via
> http when syncing from Git, but that needs to be set up on the server
> side, implemented on the client side and thoroughly tested.
>
> --
> Clemens
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200606/c2aeb695/attachment-0001.html>


More information about the macports-dev mailing list