"guix refresh -u" sometimes 'unmirrors' source URLs

  • Open
  • quality assurance status badge
Details
One participant
  • Maxime Devos
Owner
unassigned
Submitted by
Maxime Devos
Severity
normal
M
M
Maxime Devos wrote on 29 Aug 2022 19:30
(name . bug-guix)(address . bug-guix@gnu.org)
c4f13b5b-d0b1-c5f8-b787-e71571546635@telenet.be
As noted in #57463 (https://issues.guix.gnu.org/57463#1)by Marius Bakke:
Toggle quote (4 lines)
> The updater has a tendency to change the URI from mirror:// to the
> resolved URL, which can be easy to miss when staging the patch.
>
> (it would be nice to fix that bug)
TBI ...
Greetings,
Maxime
Attachment: OpenPGP_signature
M
M
Maxime Devos wrote on 29 Aug 2022 20:15
(address . 57477@debbugs.gnu.org)
7bbc3773-8e30-2879-1c15-56f2dc1d6b76@telenet.be
The problem appears to be that latest-ftp-release in (guix
gnu-maintenance) always constructs a ftp:// URL, even if mirror:// is
desired.
Greetings,
Maxime
Attachment: OpenPGP_signature
M
M
Maxime Devos wrote on 29 Aug 2022 20:20
(address . 57477@debbugs.gnu.org)
559a273f-b898-60b8-bcd3-a642d1480d1b@telenet.be
On 29-08-2022 19:30, Maxime Devos wrote:
Toggle quote (11 lines)
> As noted in #57463 (https://issues.guix.gnu.org/57463#1)by Marius Bakke:
>
>> The updater has a tendency to change the URI from mirror:// to the
>> resolved URL, which can be easy to miss when staging the patch.
>>
>> (it would be nice to fix that bug)
> TBI ...
>
> Greetings,
> Maxime
>
This happens for the gnu-ftp updater, which is according to a comment
next to its definition, obsolescent. I'll try changing the packages to
use the generic-html updater instead, maybe gnu-ftp can be removed
afterwards ...
Greetings,
Maxime.
Attachment: OpenPGP_signature
M
M
M
Maxime Devos wrote on 29 Aug 2022 20:34
(address . 57477@debbugs.gnu.org)
9f1b430e-a5d4-ca56-a0ed-91fd89e585d9@telenet.be
I think I've found a solution: extract some mirror://-generating code
from check-mirror-url and use it in check-mirror-url. Currently trying
this out ...
Greetings,
Maxime.
Attachment: OpenPGP_signature
M
?