"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

Debbugs page

Maxime Devos wrote 2 years ago
(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
Maxime Devos wrote 2 years ago
(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
Maxime Devos wrote 2 years ago
(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
Maxime Devos wrote 2 years ago
(address . 57477@debbugs.gnu.org)
a2df83fd-7509-8f08-1d84-e1ad5eb4fb55@telenet.be
The 'change to generic-html' plan didn't work out, generic-html has the
same problem ...
Attachment: OpenPGP_signature
Maxime Devos wrote 2 years ago
(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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 57477@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 57477
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help