From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MInjJmHj92NRQQAAbAwnHQ (envelope-from ) for ; Thu, 23 Feb 2023 23:06:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cLXMJmHj92MiqwAAauVa8A (envelope-from ) for ; Thu, 23 Feb 2023 23:06:25 +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 21E9C8416 for ; Thu, 23 Feb 2023 23:06:25 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=phmDVyG7; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677189985; a=rsa-sha256; cv=none; b=DaW7YZ6Q+hpiY0GXCfvL2TYCzdPi4oh02pehNbh6g70qD8c71Vxt1R0aEHI9SKBPlNOhCe XAGKHt3pp30Hlm8Qmp/Z7uc5BUMG75YmmKZMjvrJJ6M+I1ADqiAAKS9q3quzA94ttHbTgt DIeOUbEytJzNDjTyrW3yVeeKmgYRGu3KaYupW4/Plrx5A2DG8uTw5IGoEltEy/6QsUgGk2 VMmm+GFXNsRQT/+GQ6Xg5EaP1KqC5oXWAtcwUq4m5yfCqCANFlVqGPN1J+gl2n7VGhgN/8 ke1roIQekXXCZmtuU7KV3c3U6jREZV7IQTISnhbVcSkiVSmaYJ6n7VJup6o5PQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=phmDVyG7; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677189985; 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-to: 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=QGKmX74IHx2MeT7x6i02wxOSu8O3HLNxoOB3kHcml1A=; b=Jumeip2nkSoI8bbT1FJinBY1g6YexfZbqfUVruoja5om4K0vxEL/Ihs0F7SO6TY1L0cK+z InQJxeOe8cnXdgfITJek4xIrMCrD0HVzVOrEWgJRtJDxx3HvLg8wTuQtVZXJMEhMi3CYRP d/kkVkdFOag4kVGutKB7O0wBY9/HZlsroszn/atTtcCXVjBwWrndZdz/rf6bnk7Wjgmww+ LK8x7yuw2vu2XqgKgjfNOZD3eY2XaiDDJzzw+eUKWxcHO7irMlmkc4wl/vEaaCFyxOLtB9 Y/t4ejoKcSL+xcfd/wGz5IkXXX1pkQD1AdNu0Gbv4EUJYB2RNnVKKe05hcp+sQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVJj2-0005Vs-Gr; Thu, 23 Feb 2023 17:06:04 -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 1pVJj0-0005VF-RU for guix-patches@gnu.org; Thu, 23 Feb 2023 17:06:02 -0500 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 1pVJj0-0003rR-Iy for guix-patches@gnu.org; Thu, 23 Feb 2023 17:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVJj0-0004vj-5l for guix-patches@gnu.org; Thu, 23 Feb 2023 17:06:02 -0500 Subject: bug#61246: [PATCH v3 2/3] doc: Explain how to use local guix repositories. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 23 Feb 2023 22:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61246 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Andr=C3=A9?= Batista Cc: 61246-done@debbugs.gnu.org Mail-Followup-To: 61246@debbugs.gnu.org, maxim.cournoyer@gmail.com, nandre@riseup.net Received: via spool by 61246-done@debbugs.gnu.org id=D61246.167718995718936 (code D ref 61246); Thu, 23 Feb 2023 22:06:01 +0000 Received: (at 61246-done) by debbugs.gnu.org; 23 Feb 2023 22:05:57 +0000 Received: from localhost ([127.0.0.1]:35494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVJiu-0004vM-SY for submit@debbugs.gnu.org; Thu, 23 Feb 2023 17:05:57 -0500 Received: from mail-il1-f181.google.com ([209.85.166.181]:35620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVJiu-0004v8-2G for 61246-done@debbugs.gnu.org; Thu, 23 Feb 2023 17:05:56 -0500 Received: by mail-il1-f181.google.com with SMTP id r4so3363371ila.2 for <61246-done@debbugs.gnu.org>; Thu, 23 Feb 2023 14:05:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=QGKmX74IHx2MeT7x6i02wxOSu8O3HLNxoOB3kHcml1A=; b=phmDVyG7SVj7IMgF1Qt8I/Foj+BGxRHCcETsPZyF2B7TZQJqtNfvUmeWnuz8AHn2lD NArx0Hum5rqSaRK+GZlBNXbmOEX+wQjHHrmnDzr+kZ9U43absDGIRFDwSt+smIXc1v7u FUc9T4R3Vbeprt2AbHA+VJz6GEOaAPimTnlikBN/cM43H5ArdwVjLuO+e/qmVXPmKFui PHWR6ilXhAfBEW3UGn+pDQ7T7mEEe2qyeukBAg4c7DX2OupiyQppE8ufYxSql4uwZq01 63wJ7GhVrsxnKBN305Y81q82pma2WXjGNsmtGqsheFDk+GPU6hV5d8Wb0GtkWvI7yMJ9 pZeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QGKmX74IHx2MeT7x6i02wxOSu8O3HLNxoOB3kHcml1A=; b=sfUZF9TiUPRfSdMlnDfGNzgPRS84CwieofPB1wQ6wQttBRCny8w9zZyjP0IRNXSUD4 en5P8RK77wAqySkckIBLBFyNAKwofOwqrPWRJwacaPn9im67Xqejf7Db6ThuHgR+PLbR ZBQ7cD7185OBafhr+j/5z4qDLAqDXDw5ELS4L+Jva1NqFxTmc2kfHUsftyK83arfoTb9 yLdY5Rs5LgZVAGmo16h4aFnnqCb3Fv6dSVZG2up0SFMApkjO/gExnacyZbfUO1Q6NMzK xgumGz0LmiQxnjzsebWAjYR2MVwPkFeFdoL7rhM/vCyJ7oWYJy2HWQT4mQ/pd4hylLY9 Rv+g== X-Gm-Message-State: AO0yUKWRi5iC6ssrugW4a0IcnblwfRPw7G7eLKBSi54YFCeIm3G+I1Km KV8ktZCMpTT/MdwFDylTHoTeoVmjq6KtBQ== X-Google-Smtp-Source: AK7set9ywkfUBihKp+Eo4z2VkcU+NNaz/SX4yBeHtX9mQ4XNnlOZP5j50HLfaFyuUmcGJdSyJv5NFg== X-Received: by 2002:a05:6214:21a3:b0:56e:b966:4089 with SMTP id t3-20020a05621421a300b0056eb9664089mr23846441qvc.23.1677189579652; Thu, 23 Feb 2023 13:59:39 -0800 (PST) Received: from hurd (dsl-10-129-1.b2b2c.ca. [72.10.129.1]) by smtp.gmail.com with ESMTPSA id v185-20020a3793c2000000b0073b9ccb171asm4876410qkd.130.2023.02.23.13.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 13:59:39 -0800 (PST) From: Maxim Cournoyer References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> <87r0uoqd2j.fsf@gmail.com> <87fsb2q3kr.fsf@gmail.com> Date: Thu, 23 Feb 2023 16:59:37 -0500 In-Reply-To: ("=?UTF-8?Q?Andr=C3=A9?= Batista"'s message of "Wed, 22 Feb 2023 15:10:39 -0300") Message-ID: <87h6vchwl2.fsf@gmail.com> 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: 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: X-Migadu-Queue-Id: 21E9C8416 X-Spam-Score: -2.57 X-Migadu-Spam-Score: -2.57 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: xhWB+7decUY3 Hi Andr=C3=A9, Andr=C3=A9 Batista writes: > Hi Maxim, > > s=C3=A1b 18 fev 2023 =C3=A0s 12:35:32 (1676734532), maxim.cournoyer@gmail= .com enviou: >> >> --8<---------------cut here---------------start------------->8--- >> Note that you can specify a local directory on the @code{url} field >> above if the channel that you intend to use resides on a local file >> system. However, in this case @command{guix}@footnote{More accurately, >> @command{git}, which Guix utilizes via the @code{libgit2} library.} >> checks said directory for ownership before any further processing. This >> means that if the user is not the directory owner, but wants to use it >> as their default, they will then need to set it as a safe directory in >> their global git configuration file. Otherwise, @command{guix} will >> refuse to even read it. Supposing your system-wide local directory is >> at @code{/src/guix.git}, you would then create a git configuration file >> at @code{~/.gitconfig} with the following contents: >> --8<---------------cut here---------------end--------------->8--- > > I don't think it's more accurate to say it's @command{git}. Then we could mention just @code{libgit2} in the footnote. It is an implementation detail, but one perhaps worth mentioning in this context (otherwise a user could wonder "what does ~/.gitconfig have to do with Guix?"). My point was that Guix alone couldn't care less about ~/.gitconfig, so it seems confusing to me to mention it in relation to Guix. It's really a libgit2/git-specific thing, so should be mentioned somewhere, in my opinion. But now that you've pointed at our current style elsewhere, I guess your original version is fine. The good part about it is that by avoiding to mention implementation details such as libgit2, it makes it less likely that text will go stale as Guix evolves. I've now applied the original, untouched. --=20 Thanks, Maxim