From patchwork Tue Aug 10 11:55:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: raid5atemyhomework X-Patchwork-Id: 31978 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 069B427BC82; Tue, 10 Aug 2021 12:56:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A6F5F27BC78 for ; Tue, 10 Aug 2021 12:56:10 +0100 (BST) Received: from localhost ([::1]:41472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDQMb-0002gD-LE for patchwork@mira.cbaines.net; Tue, 10 Aug 2021 07:56:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDQMU-0002fP-6c for guix-patches@gnu.org; Tue, 10 Aug 2021 07:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDQMU-0000Sz-03 for guix-patches@gnu.org; Tue, 10 Aug 2021 07:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDQMT-00049z-Pq for guix-patches@gnu.org; Tue, 10 Aug 2021 07:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#46956] PATCH] doc: Add information about mirrors. Resent-From: raid5atemyhomework Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Aug 2021 11:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Xinglu Chen Cc: "46956@debbugs.gnu.org" <46956@debbugs.gnu.org> Received: via spool by 46956-submit@debbugs.gnu.org id=B46956.162859652915951 (code B ref 46956); Tue, 10 Aug 2021 11:56:01 +0000 Received: (at 46956) by debbugs.gnu.org; 10 Aug 2021 11:55:29 +0000 Received: from localhost ([127.0.0.1]:58591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDQLt-000498-Bn for submit@debbugs.gnu.org; Tue, 10 Aug 2021 07:55:29 -0400 Received: from mail-4325.protonmail.ch ([185.70.43.25]:57349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDQLn-00048q-2k for 46956@debbugs.gnu.org; Tue, 10 Aug 2021 07:55:23 -0400 Date: Tue, 10 Aug 2021 11:55:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1628596511; bh=UeV6NSPTQM+yBka1NQzFPpbjL9W1DcSW2OcbAH4+ahI=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=tOgUjDg700JOfWjJT9jt7TXSrlq23BLX0NrkdRl+e53/w2O02z4CsXURIlaVHUYwU Vi+T8+Stqa2xjvgxvHFnjG+T6GsOdy+i1/o455+Cj34Gxwcz4hIqKqFExzVbd/i7ft CIRlHz5QkmO/2uIJW8B5wXWzbbjtGwEA0KjO8SdA= Message-ID: In-Reply-To: <87pmux8l28.fsf@yoctocell.xyz> References: <_oiAHSH32poEWuaFsGPEk5ZeUX58lKUdj-IJ8eQm-SqD1sS7RfFuvPTSlfsZkxN36dbO1WwVrj0OYRTuOPADPIVufs87aCMOlhsSth48U7E=@protonmail.com> <87pmux8l28.fsf@yoctocell.xyz> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: raid5atemyhomework X-ACL-Warn: , raid5atemyhomework via Guix-patches X-Patchwork-Original-From: raid5atemyhomework via Guix-patches via From: raid5atemyhomework X-getmail-retrieved-from-mailbox: Patches As requested by Xinglu. Also the original patch has bitrotted and no longer apply to latest master, fixed that as well. --- From 9eeeeb888c3cdd1a788d2a2646c1baf4cd0d7c09 Mon Sep 17 00:00:00 2001 From: raid5atemyhomework Date: Tue, 10 Aug 2021 19:52:31 +0800 Subject: [PATCH] [PATCH] doc: Add information about mirrors. * doc.texi (Getting Substitutes from Other Servers): Add a list of mirror substitute servers. (Using a Custom Guix Channel): Add a list of mirror Guix repositories. --- doc/guix.texi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) -- 2.32.0 diff --git a/doc/guix.texi b/doc/guix.texi index 4eb5324b51..031ec782e1 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -94,6 +94,7 @@ Copyright @copyright{} 2021 Xinglu Chen@* Copyright @copyright{} 2021 Raghav Gururajan@* Copyright @copyright{} 2021 Domagoj Stolfa@* Copyright @copyright{} 2021 Hui Lu@* +Copyright @copyright{} 2021 raid5atemyhomework@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -3902,6 +3903,20 @@ can list as many substitute servers as you like, with the caveat that substitute lookup can be slowed down if too many servers need to be contacted. +Below is a list of available substitute servers for the Guix distribution +channel; you can add a mirror that is nearer to you if you find that the +official Guix substitute server is slow: + +@itemize +@item @code{https://mirror.sjtu.edu.cn/guix} - China, SJTU. +@item @code{https://ci.guix.gnu.org} - Germany, official Guix server. +You should always add this as a substitute URL as a fallback. +@item @code{https://bordeaux.guix.gnu.org} - France, official Guix +server. You should always add this as a substitute URL as a +fallback. +@end itemize + + Note that there are also situations where one may want to add the URL of a substitute server @emph{without} authorizing its key. @xref{Substitute Authentication}, to understand this fine point. @@ -5095,6 +5110,19 @@ From there on, @command{guix pull} will fetch code from the @code{super-hacks} branch of the repository at @code{example.org}. The authentication concern is addressed below ((@pxref{Channel Authentication}). +Below is a list of available mirrors of the @code{guix} repository; you can +replace the @code{guix} channel with one that is nearer to you if you find +that the official @code{guix} repository is slow: + +@itemize +@item @code{https://git.savannah.gnu.org/git/guix.git} branch @code{master} +- USA, Official Guix. +@item @code{https://github.com/guix-mirror/guix} branch @code{master} +- USA, unofficial mirror. +@item @code{https://mirror.sjtu.edu.cn/git/guix.git} branch @code{master} +- China, SJTU, not available over TOR. +@end itemize + @node Replicating Guix @section Replicating Guix