[MacPorts] #71578: port selfupdate: Print warning when port sync is delayed
MacPorts
noreply at macports.org
Wed Dec 18 00:45:12 UTC 2024
#71578: port selfupdate: Print warning when port sync is delayed
---------------------------+---------------------
Reporter: Dave-Allured | Owner: admin@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Resolution: | Keywords:
Port: |
---------------------------+---------------------
Changes (by ryandesign):
* component: server/hosting => base
Old description:
> There are recent incidents of many hours unexpected delay to port sync.
> The expected delay is only **30 minutes** according to
> [https://github.com/macports/macports-
> infrastructure/blob/master/jobs/README this README].
>
> For example: https://trac.macports.org/ticket/71541
>
> It would be helpful to print an appropriate warning message when this is
> happening, for tasks such as `port selfupdate`. This would warn users
> that they might be missing the latest port updates, and that the system
> is just slow, not broken. The message should include the UTC time of the
> actual last update, number of minutes or hours currently delayed, and a
> guideline for what is an excessive delay before reporting.
New description:
There are recent incidents of many hours unexpected delay to port sync.
The expected delay is only **30 minutes** according to
[https://github.com/macports/macports-
infrastructure/blob/master/jobs/README this README].
For example: #71541
It would be helpful to print an appropriate warning message when this is
happening, for tasks such as `port selfupdate`. This would warn users
that they might be missing the latest port updates, and that the system is
just slow, not broken. The message should include the UTC time of the
actual last update, number of minutes or hours currently delayed, and a
guideline for what is an excessive delay before reporting.
--
Comment:
How do you propose that MacPorts base should know whether an outdated
ports collection received via `sync` or `selfupdate` is due to a normal
delay or a server outage or other problem?
Or are you merely suggesting that `selfupdate` and `sync` tell the user
how out of date the files they received are so that the user can make
their own inferences?
--
Ticket URL: <https://trac.macports.org/ticket/71578#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list