mbox series

[bug#41870,0/2] Allow '.guix-channel' to advertise the primary URL

Message ID 20200615151201.533-1-ludo@gnu.org
Headers show
Series Allow '.guix-channel' to advertise the primary URL | expand

Message

Ludovic Courtès June 15, 2020, 3:12 p.m. UTC
Hi!

As discussed in <https://issues.guix.gnu.org/issue/22883#69>, this
patch provides a way for channel authors to state what the primary
URL of their channel is.  The goal here is simply to warn users
when they are pulling from a mirror so that they cannot be tricked
into pulling from a stale mirror.

This goes on top of <https://issues.guix.gnu.org/41767>.

Thoughts?

Ludo’.

Ludovic Courtès (2):
  channels: Warn when pulling from a mirror.
  .guix-channel: Add primary URL.

 .guix-channel     |  3 ++-
 doc/guix.texi     | 22 ++++++++++++++++++++++
 guix/channels.scm | 29 +++++++++++++++++++++++++----
 3 files changed, 49 insertions(+), 5 deletions(-)

Comments

Ludovic Courtès June 17, 2020, 5:33 p.m. UTC | #1
Ludovic Courtès <ludo@gnu.org> skribis:

>   channels: Warn when pulling from a mirror.
>   .guix-channel: Add primary URL.

Pushed as 8b1f7c03d239ca703b56f2a6e5f228c79bc1857e.

Ludo’.