unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs
@ 2022-08-29 17:30 Maxime Devos
  2022-08-29 18:15 ` Maxime Devos
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Maxime Devos @ 2022-08-29 17:30 UTC (permalink / raw)
  To: 57477


[-- Attachment #1.1.1: Type: text/plain, Size: 288 bytes --]

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


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs
  2022-08-29 17:30 bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs Maxime Devos
@ 2022-08-29 18:15 ` Maxime Devos
  2022-08-29 18:20 ` Maxime Devos
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2022-08-29 18:15 UTC (permalink / raw)
  To: 57477


[-- Attachment #1.1.1: Type: text/plain, Size: 167 bytes --]

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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs
  2022-08-29 17:30 bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs Maxime Devos
  2022-08-29 18:15 ` Maxime Devos
@ 2022-08-29 18:20 ` Maxime Devos
  2022-08-29 18:22 ` Maxime Devos
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2022-08-29 18:20 UTC (permalink / raw)
  To: 57477


[-- Attachment #1.1.1: Type: text/plain, Size: 602 bytes --]


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.


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs
  2022-08-29 17:30 bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs Maxime Devos
  2022-08-29 18:15 ` Maxime Devos
  2022-08-29 18:20 ` Maxime Devos
@ 2022-08-29 18:22 ` Maxime Devos
  2022-08-29 18:34 ` Maxime Devos
  2022-09-01  9:57 ` Maxime Devos
  4 siblings, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2022-08-29 18:22 UTC (permalink / raw)
  To: 57477


[-- Attachment #1.1.1: Type: text/plain, Size: 92 bytes --]

The 'change to generic-html' plan didn't work out, generic-html has the 
same problem ...

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs
  2022-08-29 17:30 bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs Maxime Devos
                   ` (2 preceding siblings ...)
  2022-08-29 18:22 ` Maxime Devos
@ 2022-08-29 18:34 ` Maxime Devos
  2022-09-01  9:57 ` Maxime Devos
  4 siblings, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2022-08-29 18:34 UTC (permalink / raw)
  To: 57477


[-- Attachment #1.1.1: Type: text/plain, Size: 184 bytes --]

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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs
  2022-08-29 17:30 bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs Maxime Devos
                   ` (3 preceding siblings ...)
  2022-08-29 18:34 ` Maxime Devos
@ 2022-09-01  9:57 ` Maxime Devos
  4 siblings, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2022-09-01  9:57 UTC (permalink / raw)
  To: 57477


[-- Attachment #1.1.1: Type: text/plain, Size: 17 bytes --]

Fixed in #57515

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-01 10:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-29 17:30 bug#57477: "guix refresh -u" sometimes 'unmirrors' source URLs Maxime Devos
2022-08-29 18:15 ` Maxime Devos
2022-08-29 18:20 ` Maxime Devos
2022-08-29 18:22 ` Maxime Devos
2022-08-29 18:34 ` Maxime Devos
2022-09-01  9:57 ` Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).