bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs

2022-09-01 Thread Maxime Devos

Fixed in #57515


OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs

2022-08-29 Thread Maxime Devos
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.



OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs

2022-08-29 Thread Maxime Devos
The 'change to generic-html' plan didn't work out, generic-html has the 
same problem ...


OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs

2022-08-29 Thread Maxime Devos


On 29-08-2022 19:30, Maxime Devos wrote:

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.



OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs

2022-08-29 Thread Maxime Devos
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



OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs

2022-08-29 Thread Maxime Devos

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



OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature