From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eIvuCPrFhWPCVAAAbAwnHQ (envelope-from ) for ; Tue, 29 Nov 2022 09:42:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GOL3CPrFhWOfZQEA9RJhRA (envelope-from ) for ; Tue, 29 Nov 2022 09:42:34 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D4CC6BAF5 for ; Tue, 29 Nov 2022 09:42:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozwBe-0006jd-NO; Tue, 29 Nov 2022 03:41:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozwBd-0006jQ-Bs for guix-devel@gnu.org; Tue, 29 Nov 2022 03:41:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozwBc-0003PU-OA; Tue, 29 Nov 2022 03:41:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=BeoaHvzQ4DkDkRx8FaHxkqm9RCJsgNxq4pYmMnOO2Hg=; b=MiwyGD6oBe31b1vaXQ9T vtAuVe+cOhf3+TKx50dqrggE56eaXx1LE7KEF43+Rrjl1WleItpQQZDcT5MJEN8rSR1kx4WuYOXUS kGBe4PCmqFSvfqqmuzn8PbP275b9KJAKUCUmiZWvrRNpiQrv5Ot+XyQ2ZTjOqyaJRGcU5d+Voc89w R8j/5GcVRdexwm0W0lH/WEI1SuGhaRJwDnhO3VNPZYpaO3s2gpL+Dia7Jl9MK2mx9y7dvphHiUJ3L UnHL4vrB3cK5iJovrAqcChd09D+RxeynWeKJcx7iceYoZev1yy7D7Tlbr5R88EvY2XBkCS/c5srX9 HSzRGce5LE5LBA==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozwBc-0000ps-8X; Tue, 29 Nov 2022 03:41:52 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Cc: Guix Devel Subject: Re: how to customize mirror list used in custom channels? References: <86lenzctmv.fsf@gmail.com> <87zgce9di8.fsf@gnu.org> <86ilj01tv2.fsf@gmail.com> <87zgcbe4lf.fsf@gnu.org> <87wn7fs0kt.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 9 Frimaire an 231 de la =?utf-8?Q?R=C3=A9volu?= =?utf-8?Q?tion=2C?= jour du =?utf-8?Q?Geni=C3=A8vre?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 29 Nov 2022 09:41:49 +0100 In-Reply-To: <87wn7fs0kt.fsf@gmail.com> (zimoun's message of "Mon, 28 Nov 2022 13:52:34 +0100") Message-ID: <87o7sq6tki.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669711353; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BeoaHvzQ4DkDkRx8FaHxkqm9RCJsgNxq4pYmMnOO2Hg=; b=jzYttjUoMcetCUfL9v7RE8nUh0WMcHoWZh1TF/URZt+glnq0QoXR4wZ1cG3lg0E2HpIniF xiIm3tzZIWDV+5kV286TkYJbmmtxXz64TwWVRpAamkRKYISZw0T54x805MPJ6PBr2u7jEd hzHNADiU0w7rIHaap/VFKiHVGf288RsMfbud1/ZLefxWvQb+KWVYMZBCU4LoD/PNpO4QXA fnplx43lQ+QIFNjCtrNAVqCIOcqsl/vV70Rqa2RVjgZT8FmwxY8igI0aBp3TWpj3D6wpyH vWCpRg2zh1tezFEtEWvNutYGgbOuvRluOuX8F0Qb7WHhX+grqvQz+ZttfUC/Fg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669711353; a=rsa-sha256; cv=none; b=MlPzC3pUOG489DbJx+aff1fl2g7bP6ic4hMRQa+d0Oawtnj8twaf7NTC0BeV9zwZe3r62Y 7qNc8n87VZFniizxKUc/QCxChgqAAZ3HCB6eDNiRPkkzp9IXbgp5sPQvb/FvHfHiDhuOGc f0eSI845lEZOYN2vWJVzsGV+CcH3tQXAyEeW2b6BrFHPYXQrLPfzxiOHV8OlA4WqzvoPLZ xnkbsZ7meB5BmsAPu5im6qcJCUoOb2ZjYe+q2yLmUgu+Ecg3Ko/ROdfofXcCd4zPKKnTNb K4eyRLK72QkOq2YN/FVdIp5xfRe0pbM+itJX3dyeFaYMWU7RbcPnCCNxtvmn4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=MiwyGD6o; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=MiwyGD6o; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D4CC6BAF5 X-Spam-Score: -4.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: yluphcdy/qKN zimoun skribis: > Hi, > > On Mon, 28 Nov 2022 at 11:49, Ludovic Court=C3=A8s wrote: >> Hi, >> >> zimoun skribis: >> >>> On Sat, 26 Nov 2022 at 12:11, Ludovic Court=C3=A8s wrote: >> >> [...] >> >>>> Now, if you really want to extend the set of things recognized, you >>>> could write variant of =E2=80=98url-fetch=E2=80=99 that passes a diffe= rent #:mirrors >>>> argument to =E2=80=98built-in-download=E2=80=99. Maybe =E2=80=98url-f= etch=E2=80=99 could have a >>>> #:mirrors parameter to simplify it. >>> >>> Why is it not possible to extend =E2=80=99%mirrors? >> >> What I described above is one way to extend it, just not via =E2=80=98se= t!=E2=80=99. > > Just to be sure, one way is this extension mechanism, I was referring to #:mirrors etc. above. [...] > The other one way is to implement a variant of url-fetch method. What > would be the interface? Where the extended list of mirrors would be > provided? The more I write, the closer I get to an actual implementation. :-) If =E2=80=98url-fetch=E2=80=99 takes a #:mirrors, that should allow us to e= xtend the set of mirrors quite conveniently, along the lines of: (define (my-url-fetch . args) (apply url-fetch (append args '(#:mirrors =E2=80=A6)))) HTH! Ludo=E2=80=99.