[MacPorts] #63613: port install: fetch shouldn't abort the whole command on a 503 error
MacPorts
noreply at macports.org
Wed Oct 13 13:05:22 UTC 2021
#63613: port install: fetch shouldn't abort the whole command on a 503 error
--------------------------+--------------------
Reporter: greyhare | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.7.1
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:2 greyhare]:
> Whatever was going on server side is cleared now. (Maybe I caught it
recomputing checksums? Or checksum files aren't really there, but are
computed, cached, and served by a script, which broke?
No. The .rmd160 files are generated right after the .tbz2 archives arrive
on the buildmaster. The .rmd160 files exist on the filesystem right next
to the .tbz2 files and all of the files are synchronized via rsync across
our various mirror servers.
> Or it was a temporary misconfiguration?)
The public packages/distfiles servers are all managed by other entities,
so I cannot say what configuration changes might have been happening on
those servers.
> But it was occurring for a number of packages I was trying to upgrade
with `sudo port upgrade outdated`.
>
> In any case, maybe have *any* fetch error bail out to the next download
site?
The code in question is here:
https://github.com/macports/macports-
base/blob/master/src/package1.0/portarchivefetch.tcl#L259-L289
Anyone may submit pull requests to improve the code.
--
Ticket URL: <https://trac.macports.org/ticket/63613#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list