From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YJr/MleXcGRvNgAASxT56A (envelope-from ) for ; Fri, 26 May 2023 13:26:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uMyTMleXcGRuTAEAauVa8A (envelope-from ) for ; Fri, 26 May 2023 13:26:15 +0200 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 6EAFDC000 for ; Fri, 26 May 2023 13:26:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2VaB-0003Ji-C8; Fri, 26 May 2023 07:26:08 -0400 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 1q2Va6-0003A5-LP for guix-patches@gnu.org; Fri, 26 May 2023 07:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2Va6-0003CL-Dt for guix-patches@gnu.org; Fri, 26 May 2023 07:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2Va6-0008Gy-8M for guix-patches@gnu.org; Fri, 26 May 2023 07:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49610] [PATCH v3] services: guix: Add channels field. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 May 2023 11:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49610 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Antero Mejr , 49610@debbugs.gnu.org Cc: ludo@gnu.org Received: via spool by 49610-submit@debbugs.gnu.org id=B49610.168510033631736 (code B ref 49610); Fri, 26 May 2023 11:26:02 +0000 Received: (at 49610) by debbugs.gnu.org; 26 May 2023 11:25:36 +0000 Received: from localhost ([127.0.0.1]:48993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2VZg-0008Fj-Cc for submit@debbugs.gnu.org; Fri, 26 May 2023 07:25:36 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:39392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2VZT-0008Ep-FX for 49610@debbugs.gnu.org; Fri, 26 May 2023 07:25:35 -0400 Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-30ad48957f5so56348f8f.1 for <49610@debbugs.gnu.org>; Fri, 26 May 2023 04:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685100318; x=1687692318; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=xeNL6dY/C8VxRqASHlCaDWxXRCJ6CZcgCYZ71F2B9Tc=; b=jaE8+1xrRamM69B6Coqh6XL3dN2ss1QE7RRY2y3HNM60EJcIx219qbnmpZj++BEQP6 qS/9Q7YyAb3NxAfI6jGjNIjKdFZ0/TRtnRaX8bD3DygkzAX5kPdADcrNmmIN2qbGP16Z Jyj99k8TmMOfjIv9T/O+R4cNdZ+e422xPu37TIA+ZBnE6BTJTB7qBE/5+k19PfMUHGx/ K1ZhkumLsvJ9tZV3nKJWIP35lDjRN9apchRp3W1+PIFsV4claUn/6U6qxEloxawATLoR uTWM93h01lb7tE7XI83hDZvL84t3HlWiSAKIvVsUSoqjT0kdwnvwa2SCJbs629MV/shl 1rJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685100318; x=1687692318; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xeNL6dY/C8VxRqASHlCaDWxXRCJ6CZcgCYZ71F2B9Tc=; b=M3pDl+JX8KcGpcIn27mDr2r81JU8qiVYatitvWbD4XyKODRY8DMEdRtymPMKbzXv1C xB6cBjy+yd8ZpahBLsXIQwNTBGaoLxnLZVyIxRdqwX19bznHKBoBIEzqRCRt7xqcoOVd /zDtdDthxIFFA8u8JPcqHY9+bD+lfddEuMhXeYD8vk6VmWCOI2rzxufwQ13PkPLEjjWb Gy5oOEU5FUgJWlC43SO1QxnzsDxT2md9X2K4nCYA7u7gdhXlZD8sBEHBDpsKtLWXZPP1 q56kYiDxFRAEd3omLw4Y3Bq2MYG4vQ9zm/qQkhZmI0L/avzMQderrBTCvg5w3o24+JEN KVkQ== X-Gm-Message-State: AC+VfDwJ0VQyxLojvq5xpXmKZ7xdHldYrv/9j0igVyFBIxCgITIr4x6x X3H6HspUF7Jedk0C51PvMtc= X-Google-Smtp-Source: ACHHUZ77dmGtB0vHY4OTGYBtyK5o3e57aDZNAROcDfcIIv2itU2XRHYVyS1x3QhiVGuvzMbODMuu0A== X-Received: by 2002:adf:ec44:0:b0:2fe:e605:a8cd with SMTP id w4-20020adfec44000000b002fee605a8cdmr917833wrn.6.1685100317843; Fri, 26 May 2023 04:25:17 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id h2-20020adff4c2000000b0030631f199f9sm4861861wrp.34.2023.05.26.04.25.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 04:25:17 -0700 (PDT) From: Simon Tournier In-Reply-To: <20230525201216.16870-1-antero@mailbox.org> References: <20210717205819.380-1-brice@waegenei.re> <20230525201216.16870-1-antero@mailbox.org> Date: Fri, 26 May 2023 12:40:40 +0200 Message-ID: <87lehbtlxz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685100375; a=rsa-sha256; cv=none; b=JY2OU805bVffGysfyJPKZtYI59QMC448RQIf9kSnqRzaGiFOQ6slFsug5PWZTEdsoMA7aj RqTNPEn6Pwg6aE5OEwgCrk3ybqQjH9cpf2vJ4Wo+tFqf3BAoKxrKjRsbNv7smtcz0YB6X/ AQ4hrWNjXCmwhg85CEvk+lUqlgIoMBBVLeDGRVdMcy69r0tSn0f2ru/j9QZ0K5ZgjqKLuQ nUL88c5V4GlP8z3v0B72Qo6M64nYfNyQfhcDmDbHrP8GOFAtFHvx6t31Oyj+YdUAKoAz1k akIy4a711dsXTylKo8RXUqlhAm8Uv0iX5S2ZAQKZpH1q7V+8RE6bYiK71fsDPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=jaE8+1xr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685100375; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xeNL6dY/C8VxRqASHlCaDWxXRCJ6CZcgCYZ71F2B9Tc=; b=uRZ7ngLP6uFYRy1YkropP4cUDg0KRjY9jPMHj7oYLVkp6szTNAMWlKCc7rplHfNIzXE1Z/ GVa4QL+15Hh0vFSoO+HgoF7te7hjFzUf/lu7avsiJrUBs+xAj18wJG47O7bESJTDtN04rP +PX2Ql4Bfxa3TgMBlvoxo3HeSdfUe/LlBeS2CURp7VZEdveH0VTPo/g0dI9RKKRavRzHDS G1yXjfckRDR48isRt07ljzowwriql6BQ67S1ugezIZnPBEwg9MiAmuaJAEaVy1MQF9f2bx wjdm2h/VMYEHvq5dIusN/WZlVk4s7z1Jmr4z5JbrmSfiiUdNp/7TuXUibC6EJg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=jaE8+1xr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.34 X-Spam-Score: 7.34 X-Migadu-Queue-Id: 6EAFDC000 X-TUID: Wc2dXEQKziyR Hi, Sorry if I am missing something. A comment about the consistency of the manual. :-) The section =E2=80=9CInvoking guix pull=E2=80=9D mentions: Specifically, @command{guix pull} downloads code from the @dfn{chan= nels} (@pxref{Channels}) specified by one of the followings, in this orde= r: @enumerate @item the @option{--channels} option; @item the user's @file{~/.config/guix/channels.scm} file; @item the system-wide @file{/etc/guix/channels.scm} file; @item the built-in default channels specified in the @code{%default-chann= els} variable. @end enumerate On jeu., 25 mai 2023 at 20:12, Antero Mejr via Guix-patches via wrote: > -customized by defining @dfn{channels} in the > -@file{~/.config/guix/channels.scm} file. A channel specifies a URL and = branch > +customized by defining @dfn{channels} in the @file{/etc/guix/channels.sc= m} and > +@file{~/.config/guix/channels.scm} files. A channel specifies a URL and= branch I find this wording confusing. I would suggest: --8<---------------cut here---------------start------------->8--- A channel specifies a URL and branch customized by defining @dfn{channels} in the @file{~/.config/guix/channels.scm} file, and/or the @file{/etc/guix/channels.scm} file and/or the built-in default specified in the @code{%default-channels} variable. Guix honors the channels file in that previous order (@xref{Invoking guix pull}). --8<---------------cut here---------------end--------------->8--- or something like that. Keeping in mind that this part is not Guix System specific. WDYT? Cheers, simon