From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 mB+/FYzc72P3QwAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 20:59:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OBHKFIzc72O9QQAAG6o9tA (envelope-from ) for ; Fri, 17 Feb 2023 20:59:08 +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 1BD2D3BE52 for ; Fri, 17 Feb 2023 20:59:08 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qvy06s6k; 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=1676663948; a=rsa-sha256; cv=none; b=mqlLuCfx9W6u3Bbll0uEF7CjzGcTLHIk5l9maHIw0a2KciycxSndnTO+5Ed4jbt/eD+qVa YJzEjqhgjOIf9vTtZJCzn5xHcT5T3rHpZMZfTwFAHSqyI9DXmH0xBgYUxe6071ugGcZ2Vx HE4p1BPvwzDLqtKvTyv44qY50NrURWhRjp6qdA5wxuIIPZMRbKyQ+rotTqhnAEOmSf9IH5 6QA+5trbULjDqUn8NN8fzZ1TAVlZSWTho+qrbuWRKaHtF/oDfsr97Xf7c7LxHl/EExK54i mb//mrMkd/km7/HHmb9CJLB3dk8p64RjjjyFq2+ciC1nOVklWSpNens/sM8Luw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qvy06s6k; 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=1676663948; 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=ZKvFaccQcMx2cL4dybQchVI6hXhPOsNTr7hYNV7ZSLo=; b=izRwe/5wPATkIy7cZlSphHa9T2PRFWqvrMUJTYnp1Zi+cs5keuiztPFAxxB7PW83VII2Tb 3HgHy4j5GsJb9KbmQ0Lv0AgYo26mrjNcC2EJsD06E45uCbFhL5GdA259/Cl/goGyY7OO0p cw1p0j9Be6w5mxKAqpg2rwy4iNH8gznkO2xVtN2ID8/4hh9VF0toYPHjLuP1jwE/ziVbwV 76js3LZDQYoojBcAwRP696iOMv4xurgu3lBqemCpwFOI2ByPfw74nbvFbxYIpUYzNB5kZU 6eYMAJnF4SRL8bNk1lG2uRZnJJPXeQoh9rMgjhH9kpPmvjFuoViQiEDV4iBc1A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT6sq-0006jm-Aj; Fri, 17 Feb 2023 14:59: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 1pT6sp-0006jP-03 for guix-patches@gnu.org; Fri, 17 Feb 2023 14:59:03 -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 1pT6so-0003Kc-MG for guix-patches@gnu.org; Fri, 17 Feb 2023 14:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT6so-0006dz-Au for guix-patches@gnu.org; Fri, 17 Feb 2023 14:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 19:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61246 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Andr=C3=A9?= Batista Cc: 61246@debbugs.gnu.org Received: via spool by 61246-submit@debbugs.gnu.org id=B61246.167666390225493 (code B ref 61246); Fri, 17 Feb 2023 19:59:02 +0000 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 19:58:22 +0000 Received: from localhost ([127.0.0.1]:41656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6sA-0006d6-3q for submit@debbugs.gnu.org; Fri, 17 Feb 2023 14:58:22 -0500 Received: from mail-qt1-f173.google.com ([209.85.160.173]:44586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6s8-0006cs-3I for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 14:58:20 -0500 Received: by mail-qt1-f173.google.com with SMTP id s22so1955694qtw.11 for <61246@debbugs.gnu.org>; Fri, 17 Feb 2023 11:58:20 -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=ZKvFaccQcMx2cL4dybQchVI6hXhPOsNTr7hYNV7ZSLo=; b=qvy06s6kXupJIwyqANcrJ3A0UytfXwTDLJ11Zq6OQt7i1afpbYhhTzpnbcjVKJ8Nfz UeGdxYdEDcPQiy9e+RKMOtNFzT59ZZC7ysCa7ixJNtmwgQrO7TwCVSuowtw0wZsWL1KR urt4ZiEooK3v0Q9GL7FHG6mvkDk/dUbuefnazcOZQ7rgSPELu+FwI3+MQcLFMc9aFB9i koh4sACdxhU7eK357M6P0pn9p59r4MRB6enrlIRRFO1oU27wtcxs6WlzdRm8zPMpg7Q/ 5V0Mm6sMhv30Z04NEXv675vecaID5dxEeMay2Xo2RjyatjPJ7NWGu523ThiYwTH4P8hU vsWw== 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=ZKvFaccQcMx2cL4dybQchVI6hXhPOsNTr7hYNV7ZSLo=; b=Qu3aWAThDMocb8X4TmwocB5PoXlX33VqhphO7AACED8rQhp/jXC9H7aAl7IrNju6zH PtUFfIg5Sr+yvY6G/HtArrAbH4nd8QWy/RuGJQXd+E0MHEfWmdDT6Um4GAH1+eZsEqPv wUpMtUe4aCAader9TFWJpuVcjuXL0mvW7ELu/46QnEEQw7CKL2lHSJc0BV/cV1ccu2F6 EEGt3vXUbmTOx3U0hV4Nb1icER3L/jvyYtN2FN+FVMrAE0NObCzMeyVZNcdKpNJt55YD uE8iOJ5TktS6FGbRIzX3lQ215pmiXzhPaycPyAl99VCMgV3g9pp62adl88FNaqZ1qxLf 8Q5w== X-Gm-Message-State: AO0yUKVkDK2qR/YdNr/5+k+WKqWvBzGCZZDvBhHQVq//LUtnpgvYpZP6 FKbLRFRfHEoMkyiY5a4x/228tjnUCsasoHMv X-Google-Smtp-Source: AK7set8EWbpYXq895h/7ecOcHBGbSn4bRBZky0MMEkNHhTIr/3HmSoKkhmH0OyQ6dg8+WJl2MfkCZw== X-Received: by 2002:ac8:7fd6:0:b0:3b8:2c34:b9f2 with SMTP id b22-20020ac87fd6000000b003b82c34b9f2mr4968007qtk.63.1676663894196; Fri, 17 Feb 2023 11:58:14 -0800 (PST) Received: from hurd (dsl-157-123.b2b2c.ca. [66.158.157.123]) by smtp.gmail.com with ESMTPSA id r6-20020ae9dd06000000b0073b58be89c1sm3776983qkf.88.2023.02.17.11.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 11:58:13 -0800 (PST) From: Maxim Cournoyer References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> Date: Fri, 17 Feb 2023 14:58:12 -0500 In-Reply-To: <20230217190640.1914-1-nandre@riseup.net> ("=?UTF-8?Q?Andr=C3=A9?= Batista"'s message of "Fri, 17 Feb 2023 16:06:40 -0300") Message-ID: <87r0uoqd2j.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: 1BD2D3BE52 X-Spam-Score: -3.33 X-Migadu-Spam-Score: -3.33 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: iLDKJySgG/Fk Hello, Andr=C3=A9 Batista writes: > * doc/guix.texi (Using a Custom Guix Channel): Add note and example > on how to exempt a local guix repository from git ownership checks. > --- > doc/guix.texi | 21 ++++++++++++++++++++- > 1 file changed, 20 insertions(+), 1 deletion(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 44e2165a82..ae975287c7 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -81,7 +81,7 @@ Copyright @copyright{} 2020, 2021 Brice Waegeneire@* > Copyright @copyright{} 2020 R Veera Kumar@* > Copyright @copyright{} 2020, 2021, 2022 Pierre Langlois@* > Copyright @copyright{} 2020 pinoaffe@* > -Copyright @copyright{} 2020 Andr=C3=A9 Batista@* > +Copyright @copyright{} 2020, 2023 Andr=C3=A9 Batista@* > Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* > Copyright @copyright{} 2020 raingloom@* > Copyright @copyright{} 2020 Daniel Brooks@* > @@ -5413,6 +5413,25 @@ From there on, @command{guix pull} will fetch code= from the @code{super-hacks} > branch of the repository at @code{example.org}. The authentication conc= ern is > addressed below (@pxref{Channel Authentication}). >=20=20 > +Note that you can specify a local directory on the @code{url} field abov= e if > +the channel that you intend to use resides on a local file system. Howe= ver, > +in this case @command{guix} checks said directory for ownership before a= ny > +further processing. This means that if the user is not the directory ow= ner, > +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{g= uix} > +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: > + > +@example > +[safe] > + directory =3D /src/guix.git > +@end example Perhaps you meant to use @command{git} in the above instead of @command{guix}, since it's specific to Git (and the configure snippet is for Git) ? --=20 Thanks, Maxim