From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 02 22:12:12 2023 Received: (at submit) by debbugs.gnu.org; 3 Feb 2023 03:12:12 +0000 Received: from localhost ([127.0.0.1]:36240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNmUl-0006su-MD for submit@debbugs.gnu.org; Thu, 02 Feb 2023 22:12:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:52508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNmUj-0006sj-3i for submit@debbugs.gnu.org; Thu, 02 Feb 2023 22:12:09 -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 1pNmUg-0003a6-WF for guix-patches@gnu.org; Thu, 02 Feb 2023 22:12:07 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNmUd-0000Ha-BO for guix-patches@gnu.org; Thu, 02 Feb 2023 22:12:06 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4P7LKq3JNWz9tCR for ; Fri, 3 Feb 2023 03:11:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1675393919; bh=BTXTq0ncavsvAeNL9/BvbbCIKQiWU0/OpiGWPi2zab4=; h=From:To:Cc:Subject:Date:From; b=Cws9zeLUQBO19CrGBuenVmKDSjKmnO6wxuQ6b6M22tvu44TY1jpl9TWgNTjS4sh8D WCW7Ab6qZoAmpbCkFbE53vkk09J6ls73jl65k9fGWldLwskt0PLXYemTiZHi6DuTNW Vcm0lSbTJ0/mgeUYiEqvvAfWZnOwvhce9um1bEE4= X-Riseup-User-ID: 69BF3A8E90789C6CAB9E988CC6647149AC6218B8C55D84F4F8A1B4928819675B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4P7LKp301pz5xWq; Fri, 3 Feb 2023 03:11:58 +0000 (UTC) From: =?UTF-8?q?Andr=C3=A9=20Batista?= To: guix-patches@gnu.org Subject: [PATCH] gnu: libgit2: Update to 1.5.1. Date: Fri, 3 Feb 2023 00:11:29 -0300 Message-Id: <20230203031129.3529-1-nandre@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.6; envelope-from=nandre@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Andr=C3=A9=20Batista?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/version-control.scm (libgit2): Update to 1.5.1. [source]: Remove snippet to comment out the "10 years ago" test, which was removed on newer versions. (libgit2-1.4): New variable. Update to 1.4.5. (libgit2-1.3): Inherit from 'libgit2-1.4'. Update to 1.3.2. (libgit2-1.1): Update to 1.1.1. Add back the snippet which comments out the "10 years ago" test that remains on this older version. * 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 | 20 ++++++++++++- gnu/packages/version-control.scm | 50 +++++++++++++++++++++----------- 2 files changed, 52 insertions(+), 18 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 2b1ad77ba5..636078e245 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 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* -Copyright @copyright{} 2020 André Batista@* +Copyright @copyright{} 2020,2023 André Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* @@ -5411,6 +5411,24 @@ 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}). +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 @{guix} 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: + +@example +[safe] + directory = /src/guix.git +@end example + +@noindent +This also applies to the root user. + @node Replicating Guix @section Replicating Guix diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 78a89cfd5b..2f1eb27b3c 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -799,7 +799,7 @@ (define-public git-cal (define-public libgit2 (package (name "libgit2") - (version "1.4.3") + (version "1.5.1") (source (origin ;; Since v1.1.1, release artifacts are no longer offered (see: ;; https://github.com/libgit2/libgit2/discussions/5932#discussioncomment-1682729). @@ -810,18 +810,11 @@ (define-public libgit2 (file-name (git-file-name name version)) (sha256 (base32 - "02x1a4zrzpzjd0yxnsi8njh5hgihc1iy1v4r0fnl8m4ckcgp6x2s")) + "04ypzpicpgq1wh6anwcmjjyh2b854lvjhxq0hq2hbsx7kb14qc1b")) (modules '((guix build utils))) (snippet '(begin - (delete-file-recursively "deps") - - ;; The "refs:revparse::date" test is time-dependent: it - ;; assumes "HEAD@{10 years ago}" matches a specific commit. - ;; See . - (substitute* "tests/refs/revparse.c" - (("test_object.*10 years ago.*" all) - (string-append "// " all "\n"))))))) + (delete-file-recursively "deps"))))) (build-system cmake-build-system) (outputs '("out" "debug")) (arguments @@ -863,10 +856,10 @@ (define-public libgit2 ;; GPLv2 with linking exception (license license:gpl2))) -(define-public libgit2-1.3 +(define-public libgit2-1.4 (package (inherit libgit2) - (version "1.3.0") + (version "1.4.5") (source (origin (inherit (package-source libgit2)) (method git-fetch) @@ -876,7 +869,22 @@ (define-public libgit2-1.3 (file-name (git-file-name "libgit2" version)) (sha256 (base32 - "0vgpb2175a5dhqiy1iwywwppahgqhi340i8bsvafjpvkw284vazd")))) + "0q754ipc6skagszi93lcy6qr09ibavivm2q5i5fhpdblvlnv2p7x")))))) + +(define-public libgit2-1.3 + (package + (inherit libgit2-1.4) + (version "1.3.2") + (source (origin + (inherit (package-source libgit2-1.4)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/libgit2/libgit2") + (commit (string-append "v" version)))) + (file-name (git-file-name "libgit2" version)) + (sha256 + (base32 + "1dngga8jq419z6ps65wpmh2jihcf70k6r98pb1m1yiwj7qqh9792")))) (arguments (substitute-keyword-arguments (package-arguments libgit2) ((#:phases _ '%standard-phases) @@ -892,17 +900,25 @@ (define-public libgit2-1.3 (define-public libgit2-1.1 (package (inherit libgit2-1.3) - (version "1.1.0") + (version "1.1.1") (source (origin (inherit (package-source libgit2-1.3)) (file-name #f) ;use the default name (method url-fetch) (uri (string-append "https://github.com/libgit2/libgit2/" - "releases/download/v" version - "/libgit2-" version ".tar.gz")) + "archive/refs/tags/v" version ".tar.gz")) (sha256 (base32 - "1fjdglkh04qv3b4alg621pxa689i0wlf8m7nf2755zawjr2zhwxd")) + "085644zkjydjba9y162z4s020lfij3c191851ah13iv47wvjb98k")) + (snippet + '(begin + (delete-file-recursively "deps") + ;; The "refs:revparse::date" test is time-dependent: it + ;; assumes "HEAD@{10 years ago}" matches a specific commit. + ;; See . + (substitute* "tests/refs/revparse.c" + (("test_object.*10 years ago.*" all) + (string-append "// " all "\n"))))) (patches (search-patches "libgit2-mtime-0.patch")))))) (define-public git-crypt -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 08 10:44:30 2023 Received: (at 61246) by debbugs.gnu.org; 8 Feb 2023 15:44:30 +0000 Received: from localhost ([127.0.0.1]:56355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPmcX-0003eW-T2 for submit@debbugs.gnu.org; Wed, 08 Feb 2023 10:44:30 -0500 Received: from mx0.riseup.net ([198.252.153.6]:56948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPmcS-0003e7-UT for 61246@debbugs.gnu.org; Wed, 08 Feb 2023 10:44:28 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PBknZ5w2lz9sxB for <61246@debbugs.gnu.org>; Wed, 8 Feb 2023 15:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1675871058; bh=joANxmxvoaBNgVEF54IKzrHL7/5o7GEgNiXViV81sTs=; h=Date:From:To:Subject:References:In-Reply-To:From; b=rVYVUseUnsaFQsleJZfRhZp7y6dqL4iCycBFXLp8ica4shjAu5FkEgBwSfaxUj8c9 O8J6EmDKnpU+aR9gi5FUfiBeFNujXAnOOSlpb07IxClmlEWw77cG9oq8vqLTlSXM6r lwnXPSRlX4eq51B4tun7VFFmv4/fYm1jncgNCZwY= X-Riseup-User-ID: 697327D9398C1F951AF4824355E508D0C11CAF392DC97B54661711F48A143F4E Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PBknX6PVzz1yCw for <61246@debbugs.gnu.org>; Wed, 8 Feb 2023 15:44:16 +0000 (UTC) Date: Wed, 8 Feb 2023 12:43:58 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: 61246@debbugs.gnu.org Subject: Re: [PATCH v2] gnu: libgit2: Update to 1.5.1. Message-ID: References: <20230203031129.3529-1-nandre@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gdacvxlmmRaNFQas" Content-Disposition: inline In-Reply-To: <20230203031129.3529-1-nandre@riseup.net> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --gdacvxlmmRaNFQas Content-Type: multipart/mixed; boundary="KsrHdQxclZKfBIQV" Content-Disposition: inline --KsrHdQxclZKfBIQV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline There were both a missing space on the copyright and a missing texi 'command' tag on the previous patch to guix.texi. Please, apply this one instead. --KsrHdQxclZKfBIQV Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline; filename="0001-gnu-libgit2-Update-to-1.5.1.patch" Content-Transfer-Encoding: quoted-printable =46rom 97b1752180ac89f78fdbbbec7d6c4aaf0a18bdbf Mon Sep 17 00:00:00 2001 =46rom: =3D?UTF-8?q?Andr=3DC3=3DA9=3D20Batista?=3D Date: Wed, 8 Feb 2023 12:28:25 -0300 Subject: [PATCH] gnu: libgit2: Update to 1.5.1. To: guix-patches@gnu.org Cc: 61246@debbugs.gnu.org * gnu/packages/version-control.scm (libgit2): Update to 1.5.1. [source]: Remove snippet to comment out the "10 years ago" test, which was removed on newer versions. (libgit2-1.4): New variable. Update to 1.4.5. (libgit2-1.3): Inherit from 'libgit2-1.4'. Update to 1.3.2. (libgit2-1.1): Update to 1.1.1. Add back the snippet which comments out the "10 years ago" test that remains on this older version. * 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 | 20 ++++++++++++- gnu/packages/version-control.scm | 50 +++++++++++++++++++++----------- 2 files changed, 52 insertions(+), 18 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 2b1ad77ba5..5314488d7e 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 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* -Copyright @copyright{} 2020 Andr=E9 Batista@* +Copyright @copyright{} 2020, 2023 Andr=E9 Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* @@ -5411,6 +5411,24 @@ From there on, @command{guix pull} will fetch code f= rom the @code{super-hacks} branch of the repository at @code{example.org}. The authentication concer= n is addressed below (@pxref{Channel Authentication}). =20 +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. Howeve= r, +in this case @command{guix} checks said directory for ownership before any +further processing. This means that if the user is not the directory owne= r, +but wants to use it as their default, they will then need to set it as a s= afe +directory in their global git configuration file. Otherwise, @command{gui= x} +will refuse to even read it. Supposing your system-wide local directory i= s 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 + +@noindent +This also applies to the root user. + @node Replicating Guix @section Replicating Guix =20 diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-contro= l.scm index 78a89cfd5b..2f1eb27b3c 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -799,7 +799,7 @@ (define-public git-cal (define-public libgit2 (package (name "libgit2") - (version "1.4.3") + (version "1.5.1") (source (origin ;; Since v1.1.1, release artifacts are no longer offered (se= e: ;; https://github.com/libgit2/libgit2/discussions/5932#discu= ssioncomment-1682729). @@ -810,18 +810,11 @@ (define-public libgit2 (file-name (git-file-name name version)) (sha256 (base32 - "02x1a4zrzpzjd0yxnsi8njh5hgihc1iy1v4r0fnl8m4ckcgp6x2s")) + "04ypzpicpgq1wh6anwcmjjyh2b854lvjhxq0hq2hbsx7kb14qc1b")) (modules '((guix build utils))) (snippet '(begin - (delete-file-recursively "deps") - - ;; The "refs:revparse::date" test is time-dependent: it - ;; assumes "HEAD@{10 years ago}" matches a specific comm= it. - ;; See . - (substitute* "tests/refs/revparse.c" - (("test_object.*10 years ago.*" all) - (string-append "// " all "\n"))))))) + (delete-file-recursively "deps"))))) (build-system cmake-build-system) (outputs '("out" "debug")) (arguments @@ -863,10 +856,10 @@ (define-public libgit2 ;; GPLv2 with linking exception (license license:gpl2))) =20 -(define-public libgit2-1.3 +(define-public libgit2-1.4 (package (inherit libgit2) - (version "1.3.0") + (version "1.4.5") (source (origin (inherit (package-source libgit2)) (method git-fetch) @@ -876,7 +869,22 @@ (define-public libgit2-1.3 (file-name (git-file-name "libgit2" version)) (sha256 (base32 - "0vgpb2175a5dhqiy1iwywwppahgqhi340i8bsvafjpvkw284vazd")))) + "0q754ipc6skagszi93lcy6qr09ibavivm2q5i5fhpdblvlnv2p7x"))))= )) + +(define-public libgit2-1.3 + (package + (inherit libgit2-1.4) + (version "1.3.2") + (source (origin + (inherit (package-source libgit2-1.4)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/libgit2/libgit2") + (commit (string-append "v" version)))) + (file-name (git-file-name "libgit2" version)) + (sha256 + (base32 + "1dngga8jq419z6ps65wpmh2jihcf70k6r98pb1m1yiwj7qqh9792")))) (arguments (substitute-keyword-arguments (package-arguments libgit2) ((#:phases _ '%standard-phases) @@ -892,17 +900,25 @@ (define-public libgit2-1.3 (define-public libgit2-1.1 (package (inherit libgit2-1.3) - (version "1.1.0") + (version "1.1.1") (source (origin (inherit (package-source libgit2-1.3)) (file-name #f) ;use the default name (method url-fetch) (uri (string-append "https://github.com/libgit2/libgit2/" - "releases/download/v" version - "/libgit2-" version ".tar.gz")) + "archive/refs/tags/v" version ".tar.gz")) (sha256 (base32 - "1fjdglkh04qv3b4alg621pxa689i0wlf8m7nf2755zawjr2zhwxd")) + "085644zkjydjba9y162z4s020lfij3c191851ah13iv47wvjb98k")) + (snippet + '(begin + (delete-file-recursively "deps") + ;; The "refs:revparse::date" test is time-dependent: it + ;; assumes "HEAD@{10 years ago}" matches a specific comm= it. + ;; See . + (substitute* "tests/refs/revparse.c" + (("test_object.*10 years ago.*" all) + (string-append "// " all "\n"))))) (patches (search-patches "libgit2-mtime-0.patch")))))) =20 (define-public git-crypt --=20 2.39.1 --KsrHdQxclZKfBIQV-- --gdacvxlmmRaNFQas Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQG5BAABCgAjFiEEXo3OJhMk/jL9rLM1Nj97Uq5OMvYFAmPjwzcFgwPCZwAACgkQ Nj97Uq5OMvartwv+IIcm+3A63CcWUFEeP79llWjMyBZ05anjyB64b5WXG8kHL8sw VnL/DBonpqQr4kguqXZFwleb/f3g4yo3eAwwrymmmo4pZCJBO6Bi88sCQln54qE3 1N02MUXyE9ct723PEuRodpQZC9aSSBQrdyk6edfwhxaiqLAdo/eiJ6RTHNUiwYDQ acc3bMhXQOjKLEwaKoqjjv4+oD9M9nQtT8auSEJ7DNVD8/HgOeX1IQ5gdVPkYzHP HW+U4uOk0COdqOUqNMePi2YV/XI+mJceqPgi+Ybs/ErIE1VbtQ6s/rRZoZSL+FW6 eYIts9Llwx21mf3x4KqMJ9eur5WcOyQlUAtMRyGLmQHx2otU8UsVMzoeAzVU1GC8 +OQ+rawRi5sb1+6je4Hww7GOi4XYsl0VxGKgtRG2k/ztqmCcp/n6nHgMMhhK2W4K QKIwhzs54ViXAYJakIK4I/AwqpryKiu1ssX0wNV5LvBPtMY2UHVFGXpLBmhQzx9K wT3O1BgnNh32+L3A =ly5G -----END PGP SIGNATURE----- --gdacvxlmmRaNFQas-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 08 22:25:52 2023 Received: (at 61246) by debbugs.gnu.org; 9 Feb 2023 03:25:52 +0000 Received: from localhost ([127.0.0.1]:57098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPxZH-0005jl-Os for submit@debbugs.gnu.org; Wed, 08 Feb 2023 22:25:52 -0500 Received: from mail-qv1-f46.google.com ([209.85.219.46]:35463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPxZF-0005jY-Dc for 61246@debbugs.gnu.org; Wed, 08 Feb 2023 22:25:50 -0500 Received: by mail-qv1-f46.google.com with SMTP id i12so584160qvs.2 for <61246@debbugs.gnu.org>; Wed, 08 Feb 2023 19:25:49 -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=syht8C6SUuGb9jE5lM/sRIoydZT8Z3CwUP4tjmcOouI=; b=ngznV+fesMnQxawY2wi9L/b2ARdd6r3MH0LYtCJHL1joFzUitU+qCKwF/yh5Q1ODHY BPnIWSk4do2oc4qE0VKxLoXqN9+ZLdQG3AqTvBshfHyg14lQfKRLVcLrOnAOFdbjjKbj 5d5vCdA1i5qRDOE43465rBUs53eEDniMlv/hM7arG5HLAPimQEckaHPUlXAfjWliZXXz uHZpmUe4qj/N9Lhmj1opvO+tjPNgMMJ1+k5nEGN/8/wPJBpRy520C053qSxH0O5KHR5K vrabwY9JRX/5DGBrYc7VNgJy86ba9Y3n6PnN86AReAqkso83dLhZ6f03K3iPIQAzKMhO y8wA== 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=syht8C6SUuGb9jE5lM/sRIoydZT8Z3CwUP4tjmcOouI=; b=Xv5kIQDf+n9WHdA6LdNjtBp1SXfiDXYgm69fcaRB21A7f9yAYmoKyLOYhuL/menhIL 70yr9ZnOzg1M/OrmTL5g18pgvlgLvkQZ2oc2j0d8rbr69o5MUYAkUTSp9rvFpex076ZI J5M2iJXHmdl8jkz3Fq5elMxM0sopkxaTgoccJGO2cvEH44Mp6K6BtgxAZNIqxCYIzqdH rlykEyNrGLlnVexXWdXsgp1wmJurg278BSbJuaqm7gQPlHynseCIr8DKOfVrm0X7da+T FlCxvpmgFy6HtJTOvsdaM07IpZmHXUGXMhdlA8JFXYzXMw/ghajc0KobcexoVfhJs/w0 9FuA== X-Gm-Message-State: AO0yUKXva6LAuUQcop9E3e+AewNN1Zo+z3KifRYX0Cyei6ZLqGuKAn2q OrObqSJrQA0FHZGPPSEkgfNHBMz+zf3LkQ== X-Google-Smtp-Source: AK7set9t0g5bYKBBfC1EOUYhUA4IhFGPbUM24f7GIbFM33fgOd/8gZFnWKXYQ3aV/NDQy0oHyvlzMA== X-Received: by 2002:ad4:5bae:0:b0:532:1d87:d78a with SMTP id 14-20020ad45bae000000b005321d87d78amr15036574qvq.2.1675913143636; Wed, 08 Feb 2023 19:25:43 -0800 (PST) Received: from hurd (dsl-151-105.b2b2c.ca. [66.158.151.105]) by smtp.gmail.com with ESMTPSA id e65-20020a378244000000b0072ed644bb0dsm470035qkd.97.2023.02.08.19.25.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 19:25:42 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: bug#61246: [PATCH] gnu: libgit2: Update to 1.5.1. References: <20230203031129.3529-1-nandre@riseup.net> Date: Wed, 08 Feb 2023 22:25:41 -0500 In-Reply-To: (=?utf-8?Q?=22Andr=C3=A9?= Batista"'s message of "Wed, 8 Feb 2023 12:43:58 -0300") Message-ID: <877cwrjz9m.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Andr=C3=A9, Andr=C3=A9 Batista writes: > There were both a missing space on the copyright and a missing texi > 'command' tag on the previous patch to guix.texi. Please, apply this > one instead. > > > From 97b1752180ac89f78fdbbbec7d6c4aaf0a18bdbf Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Andr=3DC3=3DA9=3D20Batista?=3D > Date: Wed, 8 Feb 2023 12:28:25 -0300 > Subject: [PATCH] gnu: libgit2: Update to 1.5.1. > To: guix-patches@gnu.org > Cc: 61246@debbugs.gnu.org > > * gnu/packages/version-control.scm (libgit2): Update to 1.5.1. > [source]: Remove snippet to comment out the "10 years ago" test, which > was removed on newer versions. > (libgit2-1.4): New variable. Update to 1.4.5. > (libgit2-1.3): Inherit from 'libgit2-1.4'. Update to 1.3.2. > (libgit2-1.1): Update to 1.1.1. Add back the snippet which comments out > the "10 years ago" test that remains on this older version. > * doc/guix.texi (Using a Custom Guix Channel): Add note and example > on how to exempt a local guix repository from git ownership checks. This loooks good, thanks! > doc/guix.texi | 20 ++++++++++++- > gnu/packages/version-control.scm | 50 +++++++++++++++++++++----------- > 2 files changed, 52 insertions(+), 18 deletions(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 2b1ad77ba5..5314488d7e 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 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@* > @@ -5411,6 +5411,24 @@ 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 > + > +@noindent > +This also applies to the root user. > + > @node Replicating Guix > @section Replicating Guix >=20=20 > diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-cont= rol.scm > index 78a89cfd5b..2f1eb27b3c 100644 > --- a/gnu/packages/version-control.scm > +++ b/gnu/packages/version-control.scm > @@ -799,7 +799,7 @@ (define-public git-cal > (define-public libgit2 > (package > (name "libgit2") > - (version "1.4.3") > + (version "1.5.1") > (source (origin > ;; Since v1.1.1, release artifacts are no longer offered (= see: > ;; https://github.com/libgit2/libgit2/discussions/5932#dis= cussioncomment-1682729). > @@ -810,18 +810,11 @@ (define-public libgit2 > (file-name (git-file-name name version)) > (sha256 > (base32 > - "02x1a4zrzpzjd0yxnsi8njh5hgihc1iy1v4r0fnl8m4ckcgp6x2s")) > + "04ypzpicpgq1wh6anwcmjjyh2b854lvjhxq0hq2hbsx7kb14qc1b")) > (modules '((guix build utils))) > (snippet > '(begin > - (delete-file-recursively "deps") > - > - ;; The "refs:revparse::date" test is time-dependent: it > - ;; assumes "HEAD@{10 years ago}" matches a specific co= mmit. > - ;; See . > - (substitute* "tests/refs/revparse.c" > - (("test_object.*10 years ago.*" all) > - (string-append "// " all "\n"))))))) > + (delete-file-recursively "deps"))))) > (build-system cmake-build-system) > (outputs '("out" "debug")) > (arguments > @@ -863,10 +856,10 @@ (define-public libgit2 > ;; GPLv2 with linking exception > (license license:gpl2))) >=20=20 > -(define-public libgit2-1.3 > +(define-public libgit2-1.4 > (package > (inherit libgit2) > - (version "1.3.0") > + (version "1.4.5") > (source (origin > (inherit (package-source libgit2)) > (method git-fetch) > @@ -876,7 +869,22 @@ (define-public libgit2-1.3 > (file-name (git-file-name "libgit2" version)) > (sha256 > (base32 > - "0vgpb2175a5dhqiy1iwywwppahgqhi340i8bsvafjpvkw284vazd"))= )) > + "0q754ipc6skagszi93lcy6qr09ibavivm2q5i5fhpdblvlnv2p7x"))= )))) > + > +(define-public libgit2-1.3 > + (package > + (inherit libgit2-1.4) > + (version "1.3.2") > + (source (origin > + (inherit (package-source libgit2-1.4)) > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/libgit2/libgit2") > + (commit (string-append "v" version)))) > + (file-name (git-file-name "libgit2" version)) > + (sha256 > + (base32 > + "1dngga8jq419z6ps65wpmh2jihcf70k6r98pb1m1yiwj7qqh9792"))= )) > (arguments > (substitute-keyword-arguments (package-arguments libgit2) > ((#:phases _ '%standard-phases) > @@ -892,17 +900,25 @@ (define-public libgit2-1.3 > (define-public libgit2-1.1 > (package > (inherit libgit2-1.3) > - (version "1.1.0") > + (version "1.1.1") > (source (origin > (inherit (package-source libgit2-1.3)) > (file-name #f) ;use the default name > (method url-fetch) > (uri (string-append "https://github.com/libgit2/libgit2/" > - "releases/download/v" version > - "/libgit2-" version ".tar.gz")) > + "archive/refs/tags/v" version ".tar.gz= ")) We do not use Github/Gitlab/etc. auto-generated tarballs has there is no guarantee that they'll be bit-for-bit identical upon regeneration and this led to broken checksums in the past. Could you please use the tag/commit instead? I noticed about this problem looking at the QA page here: https://qa.guix.gnu.org/issue/61246. I'm not sure what are the other problems reported, they look like false positives to me. Did you rebuild the dependent packages, used that with Guix without problems so far? The QA has yet to answer that question. --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 09 07:43:32 2023 Received: (at 61246) by debbugs.gnu.org; 9 Feb 2023 12:43:32 +0000 Received: from localhost ([127.0.0.1]:57794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQ6Gy-0000cp-Eu for submit@debbugs.gnu.org; Thu, 09 Feb 2023 07:43:32 -0500 Received: from mail-wr1-f52.google.com ([209.85.221.52]:40718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQ6Gw-0000cQ-Am for 61246@debbugs.gnu.org; Thu, 09 Feb 2023 07:43:31 -0500 Received: by mail-wr1-f52.google.com with SMTP id r2so1625205wrv.7 for <61246@debbugs.gnu.org>; Thu, 09 Feb 2023 04:43:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=89SosRE0cW0GsRxC1c9iOYewaiHqnghk8s3BAPdUNNM=; b=P5ETv+t/OyuWq19Mf1P51sC3MoS2G7AENX7qlx/d810Wt5wdLElLb0oi5A54ZkvvZk HYEqr3ug4RUtZefgZtNJoMy/kAEtjCW9QtcgybTNTArMPMW9L38lvTyIC4nxyOBHbwhX ICxbEfplHFU8RHEbhYI+lZ3PbrW3MbEiUC6p/G93ezlut7JB/QgpTXk7we9WJ2KYjmsI OaeJoBiHwh/f5gdDuxWNQVPEXrG5dyW+xEfboC+q8fUtrNbjtsxVU6w/Hezae+B7dE4T a3RqCkj173Rr0Yqqtghq9nRpC1eVqy9ORs/X9KpHb7ZUVrbKxpr7NrnSU0dWDlD8c/Aw 7WUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=89SosRE0cW0GsRxC1c9iOYewaiHqnghk8s3BAPdUNNM=; b=t7X/6vo8nKm3iTlxWS2X76dNbqmqBZXLValNd33kAOwIsf/vcZagCw4Ba1hIgA7HGG g7wAJBc/HfNdMS1vHIrB4yjAhBnqkoRtgkOT9E3vKwudAEHMFepuIV5Rg/r85SYTET5y 8U/ENz5yp69KkXXVgEL0TQSYikd49cWWxHMg1xDr6LW2hnN6JiA4knIe8vLjsMiu4GYt 1MN+qgvPzhZTeWqE0wuJjA/m3rpyQKHh0iU5Rh6ZcMn7sUSJUBEI8k9WMonusunIua1r jlFwJnfMhXN2CJ/jm0QlVVbsc46WnHvy70F9mWx+HuhSxCLj2mH/zKtN0cdHZywgZ2M2 l+LQ== X-Gm-Message-State: AO0yUKX3HaBPOrUwajt2acOs6r+vmT6hnRgs0vrXZmlxkDHH2RA6/a3I FfEMgYXiSFSbZZgSCTI0qfINxsSRiuE= X-Google-Smtp-Source: AK7set9VsQFqHc2lzDuUGKsQXrwF9FRPCXd+sCK3zEFfPsuQsFxx+5gp/mbXx4xSS0C+FFx4h4EkQA== X-Received: by 2002:a5d:614f:0:b0:2c4:4ab:75e9 with SMTP id y15-20020a5d614f000000b002c404ab75e9mr3883478wrt.0.1675946604330; Thu, 09 Feb 2023 04:43:24 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id a4-20020adfeec4000000b002bfc0558ecdsm1133915wrp.113.2023.02.09.04.43.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 04:43:23 -0800 (PST) From: zimoun To: Maxim Cournoyer , =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH] gnu: libgit2: Update to 1.5.1. In-Reply-To: <877cwrjz9m.fsf_-_@gmail.com> References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> Date: Thu, 09 Feb 2023 13:30:21 +0100 Message-ID: <86y1p73tsy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Wed, 08 Feb 2023 at 22:25, Maxim Cournoyer w= rote: >> * gnu/packages/version-control.scm (libgit2): Update to 1.5.1. >> [source]: Remove snippet to comment out the "10 years ago" test, which >> was removed on newer versions. >> (libgit2-1.4): New variable. Update to 1.4.5. >> (libgit2-1.3): Inherit from 'libgit2-1.4'. Update to 1.3.2. >> (libgit2-1.1): Update to 1.1.1. Add back the snippet which comments out >> the "10 years ago" test that remains on this older version. >> * doc/guix.texi (Using a Custom Guix Channel): Add note and example >> on how to exempt a local guix repository from git ownership checks. > > This loooks good, thanks! This patch series should be split into 3 atomic commits. And the update of libgit2-1.1 from 1.1.0 to 1.1.1 is not necessary and even this variable could be removed =E2=80=93 what I am suggesting. :-) Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 10 12:54:46 2023 Received: (at 61246) by debbugs.gnu.org; 10 Feb 2023 17:54:46 +0000 Received: from localhost ([127.0.0.1]:38052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQXbh-000322-Vc for submit@debbugs.gnu.org; Fri, 10 Feb 2023 12:54:46 -0500 Received: from mx0.riseup.net ([198.252.153.6]:47232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQXbf-00031n-QP for 61246@debbugs.gnu.org; Fri, 10 Feb 2023 12:54:45 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PD1b15qrGz9sYQ; Fri, 10 Feb 2023 17:54:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676051677; bh=1XCwxDx6pRPB6Zjtcj2wCfgrWUTBQ17EMVw/mtfBhnc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GV/zYyAzn2dI3ZfNgQE8Mu4ZGXZW3hObA72SkyGabpzdjGdSvH+66dmXkF1BprXMd k4dUQXQ0h/M80/hypE6IT6nRu26P4js6ruiVLjtC+ydNonxI2L1feXOSBwhBHfJfeW fDChvVa6g7KjUBGMCH7Ojzu/o5wBEUftx+kl368Q= X-Riseup-User-ID: B8E476E2020A0EC3675D1B9195E56AFBA274A5E303A8BB8CB987E14209ACFBF6 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PD1Zz5JgYz20b2; Fri, 10 Feb 2023 17:54:35 +0000 (UTC) Date: Fri, 10 Feb 2023 14:53:32 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Maxim Cournoyer Subject: Re: bug#61246: [PATCH] gnu: libgit2: Update to 1.5.1. Message-ID: References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877cwrjz9m.fsf_-_@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org, zimon.toutoune@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Maxim and Zimoun! qua 08 fev 2023 às 22:25:41 (1675905941), maxim.cournoyer@gmail.com enviou: > Hello André, > > (...) > > We do not use Github/Gitlab/etc. auto-generated tarballs has there is no > guarantee that they'll be bit-for-bit identical upon regeneration and > this led to broken checksums in the past. Could you please use the > tag/commit instead? Oh I did not know about that. I could use the git tag instead, but after yours and zimoun's messages I've noticed that: - I had only check dependencies using libgit2 without any @version numbers and so I thought that there were fewer dependencies than there are in fact; - no other package seems to be depending on libgit2-1.1, so it should be remove instead of updated, as zimoun suggested; - this patch should probably be on core-updates, not on master. So I'm inclined to agree with zimoun and just remove libgit2-1.1, what do you think? I'll work on another version of this patch and get back to you. > I noticed about this problem looking at the QA page here: > https://qa.guix.gnu.org/issue/61246. I'm not sure what are the other > problems reported, they look like false positives to me. I did not know about this QA service, thanks for pointing that out. I couldn't figure out the other warnings as well, but I only had a quick look at them. > Did you rebuild the dependent packages, used that with Guix without > problems so far? The QA has yet to answer that question. I did not rebuild all dependent packages yet, I've rebuild only my local dependencies on two machines (i686 and x86_64). Yesterday, however, I've bumped on a build error on libjami that could be related to this patch, even though it does not seem to be so at a first glance. The build error occurs at check phase with the following error: --- ./test/unitTest/test-suite.log ------------------------------------------ ====================================================== Jami Daemon 13.7.0: test/unitTest/test-suite.log ====================================================== # TOTAL: 15 # PASS: 14 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: ut_scheduler ================== .F !!!FAILURES!!! Test Results: Run: 1 Failures: 1 Errors: 0 1) test: jami::test::SchedulerTest::schedulerTest (F) line: 74 scheduler.cpp assertion failed - Expression: cv.wait_for(lk, std::chrono::seconds(3), [&]{ return taskRun == N; }) FAIL ut_scheduler (exit status: 1) error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("check" "-j" "2" "V=1") exit-status: 2 term-signal: #f stop-signal: #f> phase `check' failed after 571.8 seconds command "make" "check" "-j" "2" "V=1" failed with status 2 --- Thanks for helping me out! From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 14 07:24:59 2023 Received: (at 61246) by debbugs.gnu.org; 14 Feb 2023 12:25:00 +0000 Received: from localhost ([127.0.0.1]:52786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRuMl-0004rr-HW for submit@debbugs.gnu.org; Tue, 14 Feb 2023 07:24:59 -0500 Received: from mail-wm1-f45.google.com ([209.85.128.45]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRuMj-0004rU-73 for 61246@debbugs.gnu.org; Tue, 14 Feb 2023 07:24:57 -0500 Received: by mail-wm1-f45.google.com with SMTP id j29-20020a05600c1c1d00b003dc52fed235so11440030wms.1 for <61246@debbugs.gnu.org>; Tue, 14 Feb 2023 04:24:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=/w+BYYiPoOIe0SeUHqFIIA8H5M8ICH954Eoo5jBTNT4=; b=MIGB1tE4ztXt5WI7Rwun3XAc2hRoFU6W2W4VShZUA7a9hajv8OHcYM9I3pEFmCU7Gf tOLH+0NaIdk23+oro3f6NShDLLOG88JQYfQbNB56ekBFsVQKMS/OlgIY/T3rUuZU7/MA iwaJjTZjq/uTn3ixlcRDp3hbctpq62LD44qAXpkXgoN9zw6+wiDPOJnwLwi4fXQ/OhWe +34LCwfs2rDC7IFXB7DaSV76+UBjDU3Xj6nBTn3gZecCqE6+oPd7nAeh4QB6CD8LZ6Jy ttPcNPMKMVoKu+x4Q0/Z3DjZGqgOP1Hh/EXHGlv8rZIZYMNv89i8/4Q/UWIX4L0D466O LcZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=/w+BYYiPoOIe0SeUHqFIIA8H5M8ICH954Eoo5jBTNT4=; b=WWnQBhMBlGixsV+oSauDKJUS8dxct6yvq/dX+rKvbTyWThDYbpmk8zW6B8nWxpKWpK 7F2iKUIKwMV5kwPFkl7FHSGUyw35P8EOIxyJIKV3m1a/1C/AKTbpyLC97ROqp5DLGKDp yrHReY5MjcYiqEaJG8U6SaKJ2oegVWH52x+PhvD1AzYrWYewEyK7vIqx4jVVgi/l5qYH mo3xOuNBTr0s9vofD7xFtnj3os/gVbO0t6x+E0DWMFmBx8Gi9alYFXLbVaA30Kl2fsB6 3dNAqVKvgBBmIryIq6MU7RrcagmKup/gq4nkLhvx8/vdZK3/Xs+gRqI8XQAI9StN1x8Q cXhg== X-Gm-Message-State: AO0yUKWfALCIvcuR0YglKDRw1n0u9/w8gEDEWY5byFy5l9uBZSFvV6XF ij2+ZKCFLp5eaEkggABgNK8= X-Google-Smtp-Source: AK7set8SUqx1a93r2Q0u50YX1SPZTzMP6wpRo1OMBclOEy8NAaAlElDRXAhq6brvHQY8Vbpeb0mgVg== X-Received: by 2002:a05:600c:4713:b0:3db:2922:2b99 with SMTP id v19-20020a05600c471300b003db29222b99mr2096361wmo.4.1676377491027; Tue, 14 Feb 2023 04:24:51 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id c10-20020a05600c170a00b003df241f52e8sm15942592wmn.42.2023.02.14.04.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 04:24:50 -0800 (PST) From: Simon Tournier To: =?utf-8?Q?Andr=C3=A9?= Batista , 61246@debbugs.gnu.org Subject: Re: [bug#61246] [PATCH] gnu: libgit2: Update to 1.5.1. In-Reply-To: <20230203031129.3529-1-nandre@riseup.net> References: <20230203031129.3529-1-nandre@riseup.net> Date: Wed, 08 Feb 2023 16:31:16 +0100 Message-ID: <87a61ogomz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On ven., 03 févr. 2023 at 00:11, André Batista wrote: > (libgit2-1.1): Update to 1.1.1. Add back the snippet which comments > out the "10 years ago" test that remains on this older version. Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.45 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.45 listed in wl.mailspike.net] X-Debbugs-Envelope-To: 61246 Cc: =?utf-8?Q?Andr=C3=A9?= Batista X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On ven., 03 févr. 2023 at 00:11, André Batista wrote: > (libgit2-1.1): Update to 1.1.1. Add back the snippet which comments > out the "10 years ago" test that remains on this older version. Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.45 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.45 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi, On ven., 03 f=C3=A9vr. 2023 at 00:11, Andr=C3=A9 Batista wrote: > (libgit2-1.1): Update to 1.1.1. Add back the snippet which comments > out the "10 years ago" test that remains on this older version. Naive question: Why do we need libgit2-1.1? >From my understanding, it could be removed. Well, I propose to split this patch into three patches. 1. * doc/guix.texi (Using a Custom Guix Channel): Add note and example on how to exempt a local guix repository from git ownership checks. 2. * gnu/packages/version-control.scm (libgit2-1.1): Remove varibale. 3. * gnu/packages/version-control.scm (libgit2): Update to 1.5.1. [source]: Remove snippet to comment out the "10 years ago" test, which was removed on newer versions. (libgit2-1.4): New variable. Update to 1.4.5. (libgit2-1.3): Inherit from 'libgit2-1.4'. Update to 1.3.2. WDYT? Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 14:06:09 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 19:06:09 +0000 Received: from localhost ([127.0.0.1]:41540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT63d-0005Cz-7H for submit@debbugs.gnu.org; Fri, 17 Feb 2023 14:06:09 -0500 Received: from mx1.riseup.net ([198.252.153.129]:52366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT63b-0005Cb-4T for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 14:06:08 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4PJLr93NvxzDqch for <61246@debbugs.gnu.org>; Fri, 17 Feb 2023 19:06:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676660761; bh=RXg+IxXNtJqITx/uI9ustXLDNQlkrJjvALx6EOuEWw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L23R5YpEFXrm9EGpmSLZabPKVjf/X73c/7CbVnkxjqYW1oWhnKrqQPuIxY1GlFdV9 VB3gBNh3s2C3w7yWen1ojRbbKXeHGXHIZEyqSImkY5u8tzTWKLRKxJWHEcpV/xfbin cCx+iU0vBNyyjg+hnmjv+rWQOwhJPDpbXy+dV9ck= X-Riseup-User-ID: 0742B4699065F8AFD6F6F6F9304ED9F11C7C491992D1E1ED4ABC41EC042D107D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4PJLr82sg1z5vg5; Fri, 17 Feb 2023 19:06:00 +0000 (UTC) From: =?UTF-8?q?Andr=C3=A9=20Batista?= To: 61246@debbugs.gnu.org Subject: [PATCH v3 0/3] gnu: libgit2: Update to 1.5.1. Date: Fri, 17 Feb 2023 16:05:37 -0300 Message-Id: <20230217190537.1883-1-nandre@riseup.net> In-Reply-To: <87a61ogomz.fsf@gmail.com> References: <87a61ogomz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: =?UTF-8?q?Andr=C3=A9=20Batista?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Summary: gnu: libgit2-1.1: Remove it. doc: Explain how to use local guix repositories. gnu: libgit2: Update to 1.5.1. doc/guix.texi | 21 +++++++++++++- gnu/packages/version-control.scm | 50 ++++++++++++++------------------ 2 files changed, 41 insertions(+), 30 deletions(-) -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 14:06:37 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 19:06:37 +0000 Received: from localhost ([127.0.0.1]:41543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT645-0005Dk-GW for submit@debbugs.gnu.org; Fri, 17 Feb 2023 14:06:37 -0500 Received: from mx0.riseup.net ([198.252.153.6]:59050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT643-0005DT-N9 for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 14:06:36 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PJLrk0gR1z9swg for <61246@debbugs.gnu.org>; Fri, 17 Feb 2023 19:06:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676660790; bh=tARucEpgygsRy1FIA4XhjK8DHCXrH4l9Fe6kkBaJIAs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m5NYbr1OiFAIyEsfwAFEthOKc2qBPerPGqLuO9eQTdZWKHMMQGfOuTVvjlpKmilvy Iucj4Hqo2MwihxNaUbPM77y1Y6R8IwUtbnCP2MRKssoNfs1EPSg8DMjBvI2TKmLTW1 xnParP1pmFE36xf+/pMoryPlB0A7eXhjOIh7wb+A= X-Riseup-User-ID: 2D267F8E27081E385F49ED23053B144F3882D9723778927F56B2D79D0CF025E2 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4PJLrj0xr5z5vg5; Fri, 17 Feb 2023 19:06:28 +0000 (UTC) From: =?UTF-8?q?Andr=C3=A9=20Batista?= To: 61246@debbugs.gnu.org Subject: [PATCH v3 1/3] gnu: libgit2-1.1: Remove it. Date: Fri, 17 Feb 2023 16:06:07 -0300 Message-Id: <20230217190607.1903-1-nandre@riseup.net> In-Reply-To: <87a61ogomz.fsf@gmail.com> References: <87a61ogomz.fsf@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: =?UTF-8?q?Andr=C3=A9=20Batista?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) There are no remaining packages which depend on this older version. * gnu/packages/version-control.scm (libgit2-1.1): Remove variable. --- gnu/packages/version-control.scm | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 5de344e549..e72c560928 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -894,22 +894,6 @@ (define-public libgit2-1.3 ;; Tests may be disabled if cross-compiling. (format #t "Test suite not run.~%")))))))))) -(define-public libgit2-1.1 - (package - (inherit libgit2-1.3) - (version "1.1.0") - (source (origin - (inherit (package-source libgit2-1.3)) - (file-name #f) ;use the default name - (method url-fetch) - (uri (string-append "https://github.com/libgit2/libgit2/" - "releases/download/v" version - "/libgit2-" version ".tar.gz")) - (sha256 - (base32 - "1fjdglkh04qv3b4alg621pxa689i0wlf8m7nf2755zawjr2zhwxd")) - (patches (search-patches "libgit2-mtime-0.patch")))))) - (define-public git-crypt (package (name "git-crypt") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 14:07:11 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 19:07:11 +0000 Received: from localhost ([127.0.0.1]:41548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT64c-0005F2-VD for submit@debbugs.gnu.org; Fri, 17 Feb 2023 14:07:11 -0500 Received: from mx0.riseup.net ([198.252.153.6]:50960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT64b-0005En-7H for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 14:07:09 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PJLsM5mBwz9ss2 for <61246@debbugs.gnu.org>; Fri, 17 Feb 2023 19:07:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676660823; bh=GtzPUjL0c0ujKQ34P2rIxShtfEcv8KzHSCVyewKjaN0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N2yhN91QbhjP0Q+4kaf5asNEecFGCT4E5brXdDVUduS6YKUYz/rfBe3+3PgMhklJ9 9AESi9GVooxhXcBOU1oQ9f7QxbpLlByJnVaoA4RX26y37PKh8DfOFJBhrR2+hm0nRR nbD7OMYtdYuUnRxSB53ljponoW+kIn5umVEEveCE= X-Riseup-User-ID: 8DED8412A1FBF60F30DDB46A19276CAC81C57F1F21AA66BEF90C3FF8AC527717 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4PJLsL4f3Yz5vg5; Fri, 17 Feb 2023 19:07:02 +0000 (UTC) From: =?UTF-8?q?Andr=C3=A9=20Batista?= To: 61246@debbugs.gnu.org Subject: [PATCH v3 2/3] doc: Explain how to use local guix repositories. Date: Fri, 17 Feb 2023 16:06:40 -0300 Message-Id: <20230217190640.1914-1-nandre@riseup.net> In-Reply-To: <87a61ogomz.fsf@gmail.com> References: <87a61ogomz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: =?UTF-8?q?Andr=C3=A9=20Batista?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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é Batista@* +Copyright @copyright{} 2020, 2023 André 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 concern is addressed below (@pxref{Channel Authentication}). +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} 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: + +@example +[safe] + directory = /src/guix.git +@end example + +@noindent +This also applies to the root user unless when called with @command{sudo} by +the directory owner. + @node Replicating Guix @section Replicating Guix -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 14:07:43 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 19:07:43 +0000 Received: from localhost ([127.0.0.1]:41555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT658-0005G0-Pi for submit@debbugs.gnu.org; Fri, 17 Feb 2023 14:07:43 -0500 Received: from mx0.riseup.net ([198.252.153.6]:52312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT655-0005Fa-5l for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 14:07:39 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PJLsx5TLJz9ss2 for <61246@debbugs.gnu.org>; Fri, 17 Feb 2023 19:07:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676660853; bh=t1NikJS5y/4q0/BVCTk7k58Ve4wpbI20ofbGQGLt+MU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dlzlpl2KI+nZ+kavxfCu6L80BzRW9+9kWmZCNoBOc2iZvnmHpf/F2WbusEpbJfUbB BaMdZXwYiWJqG4HC79d/AjT7CmtCQyp0/l711rlqyGWKM9jWXzKsUeKZbZA8ze4YQU PKod3A0a7rSucARVcJa59L6DwGDserVhmtVL8SXA= X-Riseup-User-ID: B451376BDC5D20D8FA202C98D82AB511BAE40521B7EC78BA37A7848FC6829A99 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4PJLsw5fzxz5vg5; Fri, 17 Feb 2023 19:07:32 +0000 (UTC) From: =?UTF-8?q?Andr=C3=A9=20Batista?= To: 61246@debbugs.gnu.org Subject: [PATCH v3 3/3] gnu: libgit2: Update to 1.5.1. Date: Fri, 17 Feb 2023 16:07:10 -0300 Message-Id: <20230217190710.1927-1-nandre@riseup.net> In-Reply-To: <87a61ogomz.fsf@gmail.com> References: <87a61ogomz.fsf@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: =?UTF-8?q?Andr=C3=A9=20Batista?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Fixes CVE-2023-22742. Follows up on fixes to CVE-2022-24765. Provides compatibility with git changes to address CVE-2022-29187. * gnu/packages/version-control.scm (libgit2): Update to 1.5.1. [source]: Remove snippet to comment out the "10 years ago" test, which was removed on newer versions. (libgit2-1.4): New variable. Update to 1.4.5. (libgit2-1.3): Inherit from 'libgit2-1.4'. Update to 1.3.2. --- gnu/packages/version-control.scm | 34 ++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index e72c560928..49dc96d454 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -804,7 +804,7 @@ (define-public git-cal (define-public libgit2 (package (name "libgit2") - (version "1.4.3") + (version "1.5.1") (source (origin ;; Since v1.1.1, release artifacts are no longer offered (see: ;; https://github.com/libgit2/libgit2/discussions/5932#discussioncomment-1682729). @@ -815,18 +815,11 @@ (define-public libgit2 (file-name (git-file-name name version)) (sha256 (base32 - "02x1a4zrzpzjd0yxnsi8njh5hgihc1iy1v4r0fnl8m4ckcgp6x2s")) + "04ypzpicpgq1wh6anwcmjjyh2b854lvjhxq0hq2hbsx7kb14qc1b")) (modules '((guix build utils))) (snippet '(begin - (delete-file-recursively "deps") - - ;; The "refs:revparse::date" test is time-dependent: it - ;; assumes "HEAD@{10 years ago}" matches a specific commit. - ;; See . - (substitute* "tests/refs/revparse.c" - (("test_object.*10 years ago.*" all) - (string-append "// " all "\n"))))))) + (delete-file-recursively "deps"))))) (build-system cmake-build-system) (outputs '("out" "debug")) (arguments @@ -868,10 +861,10 @@ (define-public libgit2 ;; GPLv2 with linking exception (license license:gpl2))) -(define-public libgit2-1.3 +(define-public libgit2-1.4 (package (inherit libgit2) - (version "1.3.0") + (version "1.4.5") (source (origin (inherit (package-source libgit2)) (method git-fetch) @@ -881,7 +874,22 @@ (define-public libgit2-1.3 (file-name (git-file-name "libgit2" version)) (sha256 (base32 - "0vgpb2175a5dhqiy1iwywwppahgqhi340i8bsvafjpvkw284vazd")))) + "0q754ipc6skagszi93lcy6qr09ibavivm2q5i5fhpdblvlnv2p7x")))))) + +(define-public libgit2-1.3 + (package + (inherit libgit2-1.4) + (version "1.3.2") + (source (origin + (inherit (package-source libgit2-1.4)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/libgit2/libgit2") + (commit (string-append "v" version)))) + (file-name (git-file-name "libgit2" version)) + (sha256 + (base32 + "1dngga8jq419z6ps65wpmh2jihcf70k6r98pb1m1yiwj7qqh9792")))) (arguments (substitute-keyword-arguments (package-arguments libgit2) ((#:phases _ '%standard-phases) -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 14:17:21 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 19:17:21 +0000 Received: from localhost ([127.0.0.1]:41578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6ET-0005X7-Dd for submit@debbugs.gnu.org; Fri, 17 Feb 2023 14:17:21 -0500 Received: from mx1.riseup.net ([198.252.153.129]:41894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6ER-0005Wu-MW for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 14:17:20 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4PJM560sKlzDsTF; Fri, 17 Feb 2023 19:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676661434; bh=rTIGFVjBbsTunLn+OSks7eaq9V5B0wC8hmmn+SKQquM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RF+ovvHfUk1UkD6fTQe3gRQPmGYRCnrv3VOT+4HMHmY674qkEL7eR0X7p9qCVMSBj bVrz8hSr9ofu6pDYKuGSE56ZInUIzjM98pITB8sjPMoLG5wvr8SksDt+NJqBfDicVs DFEU8hoJl+uri6iGm/MtWKfkL/1bTxjWDMypfla4= X-Riseup-User-ID: BE86B657B9F51A57CE896EFB5B576FE5A664AAF6CA613A06D1F284C82DA5E947 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PJM543WrXz1yPW; Fri, 17 Feb 2023 19:17:12 +0000 (UTC) Date: Fri, 17 Feb 2023 16:15:48 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Maxim Cournoyer Subject: Re: bug#61246: [PATCH] gnu: libgit2: Update to 1.5.1. Message-ID: References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org, zimon.toutoune@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi! sex 10 fev 2023 às 14:54:40 (1676051680), nandre@riseup.net enviou: > (...) > > I did not rebuild all dependent packages yet, I've rebuild only my local > dependencies on two machines (i686 and x86_64). > > Yesterday, however, I've bumped on a build error on libjami that could > be related to this patch, even though it does not seem to be so at a > first glance. The build error occurs at check phase with the following > error: > (...) Forget about this, I've built it on yet another machine without issues, so this problem is indeed unrelated. Is there a no-brainer way to try building all dependent packages? TIA From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 14:24:16 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 19:24:16 +0000 Received: from localhost ([127.0.0.1]:41591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6L9-0005i8-SN for submit@debbugs.gnu.org; Fri, 17 Feb 2023 14:24:16 -0500 Received: from mx0.riseup.net ([198.252.153.6]:52036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6Ks-0005hF-MX for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 14:24:13 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PJMDm69PQz9sCX; Fri, 17 Feb 2023 19:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676661832; bh=Vzr7oI5ICgF/GfvaMsb28vXuTQeSxAnobBVLQRuVxmE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A7tV+t0F5VPT5j24BYPF/VAKFsTu97yKv+SpYj9vWP5mZjQHhE+jdt3l1Fac/+YnL TUkLAX9g3r+uOLoYfAFKBomU3s1tcM/cfcSNFSGAF0AT95z74lL7Gw/cPsdMdWoRjx oqk5yKUn4elM4yhWXL6Z62VAtkfTCNYzfGieK4Vw= X-Riseup-User-ID: 3B678388A9C78541309641213BA6827857BA03EA5FE8D4D8B863935E05312A40 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PJMDl4DgRz1yPW; Fri, 17 Feb 2023 19:23:51 +0000 (UTC) Date: Fri, 17 Feb 2023 16:23:47 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Maxim Cournoyer Subject: Re: bug#61246: [PATCH] gnu: libgit2: Update to 1.5.1. Message-ID: References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org, zimon.toutoune@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) sex 17 fev 2023 às 16:17:15 (1676661435), nandre@riseup.net enviou: > (...) > Is there a no-brainer way to try building all dependent packages? Sigh, please disregard the above question... From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 14:47:02 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 19:47:02 +0000 Received: from localhost ([127.0.0.1]:41615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6hC-0006Gh-8y for submit@debbugs.gnu.org; Fri, 17 Feb 2023 14:47:02 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:37529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6h9-0006GM-Ns for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 14:47:00 -0500 Received: by mail-qt1-f169.google.com with SMTP id a27so1877658qto.4 for <61246@debbugs.gnu.org>; Fri, 17 Feb 2023 11:46:59 -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=7EEqM6AjXrZLNrkLQRKjVu5iSQ54u77WiDAPKqxEmpQ=; b=hbwmlYV4M9JprDiQUsxOjH67CiIPSZgJD2Qoe/HuJxur2Q7k3XuJL3GdZy1AYeR/xQ /noC1kLbmKZ+hZ6yTXz68TLqE1PSrc2bSVbQRjahrOIEvqlaCPEiTSB6hLkXwjClhDaJ o0CatwlL+SAln753vNhBiAQ5f3h6i/WWBIdxTyU7oRHn5zIysKyO3zfrd+8z2zTaueVX v8W1r9sW28tgmNwhortCleTIOu9P+yLsfRlWHFsQW8T3UtE/HsD5x/wnTC/oE97pIxwr 7EvdjRSEWdqyqpGqtMrxKyHuFZ6Ph5VuNsvEa/RR8O5GzdIINrrgWsEtJsP6EqcE5vZ0 vfLw== 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=7EEqM6AjXrZLNrkLQRKjVu5iSQ54u77WiDAPKqxEmpQ=; b=C555UdxxN3pV+Is5s2JNq42Cb/68kX/k2zZhwx14rx9FHRR/dC9ct5nPM0nsoom0OA bHrEJY5s7BLFKy12sfthqCdZw1v0z6rEOTB4Ie7IIHjZ4iI5Gr6ll07bknZmrxkSUUZP L+FIP/sPiknsjOKOT2J77oSejj55de9R097FX3eLdWFqpd8vBaleVQ+MiIa5rovIxavK 1T/tRQXf6ms596ElVEQayysg2uAaYKLvXwELu8bxw03lNRdmkqezY+H6g0MpBfkKYLJO jteba9Yk6RPyTIOW/D4EgQcB7jMDZHOogBZfcFc2t9QKfMF1qfzePsbGgsABQ+oOgJ1y Ev8Q== X-Gm-Message-State: AO0yUKWnaau/2ddk5KpSYSTntFaUjEt3eT3BL2KFv4IkmYcC1/jAw4yQ ZxMbQZ4SOwm8dxHMnCwHMflKAmuk7urzhERQ X-Google-Smtp-Source: AK7set/3vi2SnoKMioUQtXkJ7kOQzHeJeh5rSdUwqK/rxxDzdkkpdiuvPIpO/dD7QCt/CSPGFu1zmg== X-Received: by 2002:a05:622a:1194:b0:3ba:266f:103b with SMTP id m20-20020a05622a119400b003ba266f103bmr2893485qtk.47.1676663214421; Fri, 17 Feb 2023 11:46:54 -0800 (PST) Received: from hurd (dsl-157-123.b2b2c.ca. [66.158.157.123]) by smtp.gmail.com with ESMTPSA id 200-20020a3705d1000000b0073b929d0371sm3558503qkf.4.2023.02.17.11.46.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 11:46:54 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: bug#61246: [PATCH] gnu: libgit2: Update to 1.5.1. References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> Date: Fri, 17 Feb 2023 14:46:52 -0500 In-Reply-To: (=?utf-8?Q?=22Andr=C3=A9?= Batista"'s message of "Fri, 17 Feb 2023 16:15:48 -0300") Message-ID: <87v8k0qdlf.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org, zimon.toutoune@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Andr=C3=A9 Batista writes: > Hi! > > sex 10 fev 2023 =C3=A0s 14:54:40 (1676051680), nandre@riseup.net enviou: >> (...) >> >> I did not rebuild all dependent packages yet, I've rebuild only my local >> dependencies on two machines (i686 and x86_64). >>=20 >> Yesterday, however, I've bumped on a build error on libjami that could >> be related to this patch, even though it does not seem to be so at a >> first glance. The build error occurs at check phase with the following >> error: >> (...) > > Forget about this, I've built it on yet another machine without > issues, so this problem is indeed unrelated. > > Is there a no-brainer way to try building all dependent packages? Sadly not from the CLI, I used a bunch of shell script helpers to do so: https://notabug.org/apteryx/guix-api-examples/src/master/command-line-hacks= .sh --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 14:58:22 2023 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 To: =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. 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?=22Andr?= =?utf-8?Q?=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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 15:45:31 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 20:45:31 +0000 Received: from localhost ([127.0.0.1]:41677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT7bn-0007ja-GI for submit@debbugs.gnu.org; Fri, 17 Feb 2023 15:45:31 -0500 Received: from mail-qv1-f48.google.com ([209.85.219.48]:35749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT7bl-0007jN-9q for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 15:45:29 -0500 Received: by mail-qv1-f48.google.com with SMTP id qh27so2429451qvb.2 for <61246@debbugs.gnu.org>; Fri, 17 Feb 2023 12:45:29 -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=Ln1VCHDNSyULkfaqMFZRc1QPh3Him8gEigTqKWxcmmE=; b=LV+wK2gh7utejuOjLel7tXdkcGTp4QZFUq9bdSussT96QhjsKVHoXJS2xX0uMW/DRS M17v4eIixoyNQV7wBHF8zUZiBi3IEEM63OkaLKsqgoDYq9MEAcaD9Zwia+tdwxfDTUkC BpI5VI+UmQn/df/lYks3qjP7nH1HROXQd4+Ddv6FZ0TiaY1gssec7AYEMQG8IimO3Lot 2w2dNGTH12BOflElcfJJ0Z31NonfdPF3KM50+Q3b+1wTXw6UaISXmjwO1v/FuVLr/0Pi PzzYSHslcRg0FcG/1QO7mPftXwqVEbk5JQvCQIB1acJ0Ac1fObQOTgUZre9NxkxW20NO 8ohw== 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=Ln1VCHDNSyULkfaqMFZRc1QPh3Him8gEigTqKWxcmmE=; b=sD6Oa9/+ntrOpmkYvS4Qjg/JVMuj8axRuDYHn+bfsOSXwWeQpfBpP3KnCvc0TmmgfO g8J6FEJyG+ANpRX7O+Tf9/Ykb5N0HkJXvYiaOiRScw8EwfY3iUS3E2/uXTdiWk2Sz025 RHARVYfiTMoRylOCqOp1jBBnqeRy7673cHsCZcgYeKV2ZUMWeBPftNMFUtLVftWW21n1 GlpYFfB7LNN/0/GFpUJorB0RngRxrsULLsYMyYcbSuLeB2auB3u2iu6Z2kzuHwE4+ZmK eyRsupgnwUI2Cm3yfbJghieTxysFj8J3U3F3Z7W9BUhIKikWd8fGNdbUQuS5tnSUGU2P 0KLw== X-Gm-Message-State: AO0yUKV2+n++QQN+rQFJRraUmiI4Ndj4b7cNu6TihviHw8I0Yglwvpw0 FaLPNUmvJU9VtMu1gr6Z20PnuhUOZxOQetTk X-Google-Smtp-Source: AK7set/fQRHwH9UGX0EGG93m0CxQOfDqbPoFXKHNwpGLpKJWvJKuoiTTb6CrdplY2+GincakMVFzAw== X-Received: by 2002:a05:6214:ac6:b0:56e:ba7e:35e0 with SMTP id g6-20020a0562140ac600b0056eba7e35e0mr5033847qvi.48.1676666723633; Fri, 17 Feb 2023 12:45:23 -0800 (PST) Received: from hurd (dsl-157-123.b2b2c.ca. [66.158.157.123]) by smtp.gmail.com with ESMTPSA id o4-20020a37be04000000b00706b09b16fasm3929417qkf.11.2023.02.17.12.45.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 12:45:23 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> Date: Fri, 17 Feb 2023 15:45:22 -0500 In-Reply-To: <20230217190640.1914-1-nandre@riseup.net> (=?utf-8?Q?=22Andr?= =?utf-8?Q?=C3=A9?= Batista"'s message of "Fri, 17 Feb 2023 16:06:40 -0300") Message-ID: <87edqoqavx.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Andr=C3=A9, 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(-) I've pushed the first two patches, leaving this one until you get back to me about my previous comment. --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 18:25:03 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 23:25:03 +0000 Received: from localhost ([127.0.0.1]:41854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTA6B-0005uv-0v for submit@debbugs.gnu.org; Fri, 17 Feb 2023 18:25:03 -0500 Received: from mx1.riseup.net ([198.252.153.129]:34784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTA68-0005uK-9E for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 18:25:01 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4PJSZt4N2jzDqp7; Fri, 17 Feb 2023 23:24:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676676294; bh=UzNuLykpHKLqhN6zKkGbntMzcBycDqsYUYy627/gF98=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b6IBd0v7IprftDO6g41EtOGCFtceP6OXcShctv7qtI4eDL9OA0TwxSwDXdxfcRrSS zScZqFMM3e0mMbAeoI23Go7SHZKoi8CWiEJ01qjoL6+0O6onPt6P/p4UO5U2cLRDet eLa28wIxGl4Z3jpEM97sq1jp1+MJZnq5uhu0vNOs= X-Riseup-User-ID: 0849C1BBAF95577574D7E8388A0476F86E8EF63F77783FF0043B2EFF4F961FB7 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PJSZs4KGXz1yBT; Fri, 17 Feb 2023 23:24:53 +0000 (UTC) Date: Fri, 17 Feb 2023 20:24:45 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Maxim Cournoyer Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. Message-ID: References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> <87r0uoqd2j.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87r0uoqd2j.fsf@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, sex 17 fev 2023 às 14:58:12 (1676656692), maxim.cournoyer@gmail.com enviou: > Hello, > > André Batista writes: > > +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} 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: > > + > > +@example > > +[safe] > > + directory = /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) ? Not really. It's guix itself and its subcommands which will fail in this scenario, not git, even though it's because guix is using git configuration through libgit2. To me it would be misleading to use @command{git} there. I could come up with a more detailed description, however, I don't think this would be the place to be diving on a detailed discussion of guix internals. I'm up to suggestions though if you think this patch would make people wonder if it is a typo. WDYT? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 18:32:10 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 23:32:10 +0000 Received: from localhost ([127.0.0.1]:41868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTAD3-000684-QD for submit@debbugs.gnu.org; Fri, 17 Feb 2023 18:32:10 -0500 Received: from mx0.riseup.net ([198.252.153.6]:48826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTAD1-00067a-DB for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 18:32:08 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PJSl557MJz9t7p; Fri, 17 Feb 2023 23:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676676721; bh=1IAF0/mSbTUvZoFFdVr+snLHDqmdULm4EI/egs7fhrs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hCup5rI71ViUg5I6ZaSAX0waA2GYxHencWON7MZ1zJctKB8afHLxU1L1d0H5OCYwi JdGBjAD3cR0LDjkRqlUZXBgOGfwZ5M7iLzKBjZIAMxdKhBZ6Vr5Dq9agDDhehW8mq4 8zMmcn7FAo66+M9wfz7IixYg2aPmJocy2CQ4SDQc= X-Riseup-User-ID: 97E67301F49B5A98844293C7ABA34002423DB1E0FE1DEE0DA10B61C4099FE3C9 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PJSl44G5Sz1yCw; Fri, 17 Feb 2023 23:32:00 +0000 (UTC) Date: Fri, 17 Feb 2023 20:31:55 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Maxim Cournoyer Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. Message-ID: References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> <87edqoqavx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87edqoqavx.fsf@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) sex 17 fev 2023 às 15:45:22 (1676659522), maxim.cournoyer@gmail.com enviou: > Hi André, > (...) > I've pushed the first two patches, leaving this one until you get back > to me about my previous comment. I was building the dependents and just found out that python-pygit2 requires libgit2-1.4. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 18:33:56 2023 Received: (at 61246) by debbugs.gnu.org; 17 Feb 2023 23:33:56 +0000 Received: from localhost ([127.0.0.1]:41872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTAEm-0006Ak-6z for submit@debbugs.gnu.org; Fri, 17 Feb 2023 18:33:56 -0500 Received: from mx1.riseup.net ([198.252.153.129]:36810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTAEk-0006AU-R2 for 61246@debbugs.gnu.org; Fri, 17 Feb 2023 18:33:55 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4PJSn93GHYzDqMV; Fri, 17 Feb 2023 23:33:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676676829; bh=Em3R7a/sCg2ukKtuCCQs9wR2fUC6q5eAn/rVgj2BsLA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iYrOQAYmdZG5SZar7zjDuKW5TY/aGn3BeP6l4hEpKDYHPiPCY0q4pZiaSYP/KH/yI Mz2oF/5dWFzmTfkLN2vvQqT7hguuUlbPLe9ZOLgAttlVjvbdO9t+x6f/yho6rMXPHu FlsAdQU9E+iEjWCPYlNavR5R9PrvW+TUWc5icNjs= X-Riseup-User-ID: 9B655EF2C4263ACDAE7D5D8233DD5DD98FD8124ECBAEEC1ACF1CF2BA7CB1D548 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PJSn8228dz1y8Z; Fri, 17 Feb 2023 23:33:48 +0000 (UTC) Date: Fri, 17 Feb 2023 20:33:42 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Maxim Cournoyer Subject: Re: bug#61246: [PATCH] gnu: libgit2: Update to 1.5.1. Message-ID: References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> <87v8k0qdlf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87v8k0qdlf.fsf@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org, zimon.toutoune@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) sex 17 fev 2023 às 14:46:52 (1676656012), maxim.cournoyer@gmail.com enviou: > Hi, > > André Batista writes: > > > Is there a no-brainer way to try building all dependent packages? > > Sadly not from the CLI, I used a bunch of shell script helpers to do so: > https://notabug.org/apteryx/guix-api-examples/src/master/command-line-hacks.sh thanks! From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 12:35:42 2023 Received: (at 61246) by debbugs.gnu.org; 18 Feb 2023 17:35:43 +0000 Received: from localhost ([127.0.0.1]:44892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTR7e-0004ty-JD for submit@debbugs.gnu.org; Sat, 18 Feb 2023 12:35:42 -0500 Received: from mail-qt1-f175.google.com ([209.85.160.175]:43753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTR7c-0004tZ-4r for 61246@debbugs.gnu.org; Sat, 18 Feb 2023 12:35:40 -0500 Received: by mail-qt1-f175.google.com with SMTP id fu23so741316qtb.10 for <61246@debbugs.gnu.org>; Sat, 18 Feb 2023 09:35:40 -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=UwaTDRGV+Fd4Vempq2jvu+4MLvscGX+Kmt8Cjm5sut8=; b=Fd5Xec8nTpl8TzN6jrBQwrSYj16lwTlV+rAu/BhL236PNZ8LCpM6+w8ofmTYuBiicD nsuox7xz1iQ/Qghk0xsAse4vhNifJFNS2A7CMA5sswIR9xKXX/igyHKRTPuhr0YjO4gW jBJS45XNixzeGzfJ1IBbk7zICFpPTo5AojjCcFxbL3voeGX1OQmTSeYV+FXBU2sTbfrW IJ4FLUGfUskee9dvCcF9evp0eNCIzXVcpzhz9kvFJkNT4GMbbmBo1fRATOSHuNsXYXQw cZlu/u0lysRoheU6HDtJEC00/vDuv4LqA2nVnlmU88xT30imHEy9kE+z6Vl00JQ3SFr4 gvAA== 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=UwaTDRGV+Fd4Vempq2jvu+4MLvscGX+Kmt8Cjm5sut8=; b=hHrCASdxZLmW1dObNl6v0PwdBoVi76ImaLA4jDvSoDep4sg8ofLH3xKhU2pYQoo+Xx loFCW0thNdmagk1NYoWRArpeA2JVBkA1YESZJ1SXkeoXXWTZEKB004fsuJ6T/UQaQGoM /E7ZiLrK4XjQSb4AaEFU3vb6jipRKcJgA3VHtAkZlbNmmbbgDtSGP3NCujUD8/jtTv6a BtsvQnMPvkcWRiPLiVYkGp0s5I5rDHWNci2S/qaKP+P/L7DaktA0maXB67bzu188Zhu+ 5A5QyZyaC6CrmkWsRyF/H8kBZ1mH0iz75GkCARAxtq31PI7pv/GyGVVeU5W6DY9P10s6 IFRw== X-Gm-Message-State: AO0yUKURGlHfe1y7szd1lCIt/bEP4dyBP86f0PE7NhTNxrv5H0/USlZC Nit9pC8OXpSrIDJxAmjY8rGd4Q23nZ2ZPrBi X-Google-Smtp-Source: AK7set/oSGlAIYP1FB7xzb5ooqs1USJj8PUkJJa6nyHdDM/Ti6SzS0DaW0Pbbp0iobfBm/SeDH4EaA== X-Received: by 2002:a05:622a:13d1:b0:3bd:de7:6163 with SMTP id p17-20020a05622a13d100b003bd0de76163mr15497341qtk.16.1676741734307; Sat, 18 Feb 2023 09:35:34 -0800 (PST) Received: from hurd (dsl-157-123.b2b2c.ca. [66.158.157.123]) by smtp.gmail.com with ESMTPSA id o190-20020a375ac7000000b0073b45004754sm5650882qkb.34.2023.02.18.09.35.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Feb 2023 09:35:33 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> <87r0uoqd2j.fsf@gmail.com> Date: Sat, 18 Feb 2023 12:35:32 -0500 In-Reply-To: (=?utf-8?Q?=22Andr=C3=A9?= Batista"'s message of "Fri, 17 Feb 2023 20:24:45 -0300") Message-ID: <87fsb2q3kr.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Andr=C3=A9, Andr=C3=A9 Batista writes: > Hi, > > sex 17 fev 2023 =C3=A0s 14:58:12 (1676656692), maxim.cournoyer@gmail.com = enviou: >> Hello, >> >> Andr=C3=A9 Batista writes: >> > +Note that you can specify a local directory on the @code{url} field a= bove if >> > +the channel that you intend to use resides on a local file system. H= owever, >> > +in this case @command{guix} checks said directory for ownership befor= e 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 a= s a safe >> > +directory in their global git configuration file. Otherwise, @comman= d{guix} >> > +will refuse to even read it. Supposing your system-wide local direct= ory 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) ? > > Not really. It's guix itself and its subcommands which will fail in > this scenario, not git, even though it's because guix is using git > configuration through libgit2. To me it would be misleading to use > @command{git} there. I could come up with a more detailed > description, however, I don't think this would be the place to be > diving on a detailed discussion of guix internals. I'm up to > suggestions though if you think this patch would make people wonder > if it is a typo. I understand. How about a very subtle nudge at the fact that Guix uses git (via libgit2) under the hood? Something like the following, where I've used a footnote (untested): --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--- --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 12:43:33 2023 Received: (at 61246) by debbugs.gnu.org; 18 Feb 2023 17:43:33 +0000 Received: from localhost ([127.0.0.1]:44898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTRFF-00055N-JZ for submit@debbugs.gnu.org; Sat, 18 Feb 2023 12:43:33 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:46922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTRFE-00055B-Af for 61246@debbugs.gnu.org; Sat, 18 Feb 2023 12:43:32 -0500 Received: by mail-qt1-f182.google.com with SMTP id hg7so654585qtb.13 for <61246@debbugs.gnu.org>; Sat, 18 Feb 2023 09:43:32 -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=tbOBDUotMmrwH8aQJJA6ZajJXzeEg6PO4iQ74WbMqxw=; b=eKVm7AgFB0f03BBPFgwpOrIzqqks/OI5/kzFxLqQP3glBOYKQuax5qhz/gB47rkj5V GuNBHnFHsdvea3Aa167JtXVdNBCtzZ4HNZBCR7eVbb8hUniNJHlvArwr4qUMDnsXLivt XgVFmo9ILd/alsoFb0L7V7f6UW6Ql01JsK1zzaGfdHW/PTVFvvXb9k6a4Ba1aFRnFcRn CKYMSqncTxoiCjxg7QWf0H4kquiw6sxGoS6QRSqxBAiB3+hUWxC2K9DP9k1B1kSv62d1 rQ3wiELIyYq+48uoA5CWPIItVN7CTG3ohEJfwlmda9OI6WtoaXwK6G0wYGMcq2oXPzmr 5rHw== 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=tbOBDUotMmrwH8aQJJA6ZajJXzeEg6PO4iQ74WbMqxw=; b=twFvOQI2+U3VxKZhOY4lKs7FRd9DRCaqFejSjv1Pgz0tEYOoXk4azcCcgJtj2VeLNX FVwUf634Zazv9677Yz1BMBQVeGYxg4ts8mOYT7wWZVxS1Mb0F0a7Pu2gAQUrv4Pgvt3o BYofOsfr7g55crCusuRKa3nTHOdTOds5ATwPa6Ik7u0ZCnhJQ1KpNEN0F/TdtT8mk0y6 m3grAUJP+1JYPyiEqCTAibcQG2zwmt3BwNKXOUzywhg4vSeGg/1v3GDF3C+5B27n/M6U wTpnfkX5EkQaXZ4il1ilyO5FKUjVIEkXY5yvIKpclDLKvJ7x9Q7bNoPAIn/0g6gPLLCx NPxA== X-Gm-Message-State: AO0yUKXDqHgbyU7W1nxqyfq4iB0Qp12NbDVZaVc2956y1UKkAMpe29Kf kWLWsd4eIIEjgiUJtE1F2cojWoXC64YFlX06 X-Google-Smtp-Source: AK7set9s2UAQGAIR4PdMViQ7WuJ7g5tmAmReLXUBxti9iuCJ7QfDw4HvZ6mj1xd3YZKD6cLa6lgXgA== X-Received: by 2002:ac8:58d2:0:b0:3b6:88c2:2ac6 with SMTP id u18-20020ac858d2000000b003b688c22ac6mr6955395qta.27.1676742206651; Sat, 18 Feb 2023 09:43:26 -0800 (PST) Received: from hurd (dsl-157-123.b2b2c.ca. [66.158.157.123]) by smtp.gmail.com with ESMTPSA id v9-20020ac87289000000b003bd193a1cfbsm3777726qto.86.2023.02.18.09.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Feb 2023 09:43:26 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> <87edqoqavx.fsf@gmail.com> Date: Sat, 18 Feb 2023 12:43:25 -0500 In-Reply-To: (=?utf-8?Q?=22Andr=C3=A9?= Batista"'s message of "Fri, 17 Feb 2023 20:31:55 -0300") Message-ID: <87bklqq37m.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Andr=C3=A9 Batista writes: > sex 17 fev 2023 =C3=A0s 15:45:22 (1676659522), maxim.cournoyer@gmail.com = enviou: >> Hi Andr=C3=A9, >> (...) >> I've pushed the first two patches, leaving this one until you get back >> to me about my previous comment. > > I was building the dependents and just found out that python-pygit2 > requires libgit2-1.4. I've opted to update it to 1.11.1 instead; commit "gnu: python-pygit2: Update to 1.11.1." will land to master shortly. --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 13:07:48 2023 Received: (at 61246) by debbugs.gnu.org; 18 Feb 2023 18:07:48 +0000 Received: from localhost ([127.0.0.1]:44928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTRci-0005lO-Gq for submit@debbugs.gnu.org; Sat, 18 Feb 2023 13:07:48 -0500 Received: from tobias.gr ([80.241.217.52]:47990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTRcf-0005lF-Ux for 61246@debbugs.gnu.org; Sat, 18 Feb 2023 13:07:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=nZQo53inaoJFy JMahSeLHmD0GEVOy9A4XbcVFxIpvGk=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=Tkxnllp6Wk388Rq83mhTehN/pqy4z5sZI9V9Vp nc74e4Op+4ECGgsJF6eFY8E2sh2S+vJ2oKYVYvKRM7s3vNmjTNzwGzcknW7+KjvCmP9aHv 9K09QvpfiUEMBz/qFBCN/LHq6wvYAN6f15J6us6Gbe5MyyHigJkd4LE2BfpYizFOLPsNDz zFekh0q2AqoGgpzeHDGcULtWeZCfxvrZxcC+vcaqCTvDEoXKW7ypQxEW2FuNdvo/SSoev7 GYyR/W0OtY2a2qoyDn7Y/U+8VcbLie+qSVmwBvf/TQz78D42pDppwg4UxsHw5XSfPz6wSC wst17evbfTWXPX9oKwsvzv4A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id f0910868 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 18 Feb 2023 18:07:42 +0000 (UTC) References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> <87v8k0qdlf.fsf@gmail.com> From: Tobias Geerinckx-Rice To: Maxim Cournoyer , =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH] gnu: libgit2: Update to 1.5.1. Date: Sat, 18 Feb 2023 19:04:31 +0100 In-reply-to: <87v8k0qdlf.fsf@gmail.com> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87lekux2te.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Maxim, Andr=C3=A9, I belatedly second Zimoun here: > This patch series should be split into 3 atomic commits. Maxim Cournoyer =E5=86=99=E9=81=93=EF=BC=9A > Sadly not from the CLI, I used a bunch of shell script helpers=20 > to do so: > https://notabug.org/apteryx/guix-api-examples/src/master/command-line-hac= ks.sh Just FYI, it seems like this didn't catch Julia, which (sigh)=20 fails its test suite when the libgit2 version number doesn't match=20 its hard-coded expectation. No biggie, but might help you debug=20 your scripts. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY/EUfQ0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15BA0BAL3Ukxaa/gwXcDh8W5KSP66gVbB80C6xRDtIpU9d 1FKUAP9N3IOxZx6EJHy4rU5MfTxwXaTTuQ36a5NwIN+tVDLEAQ== =j2k3 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 13:13:40 2023 Received: (at 61246) by debbugs.gnu.org; 18 Feb 2023 18:13:40 +0000 Received: from localhost ([127.0.0.1]:44939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTRiO-0005u1-JW for submit@debbugs.gnu.org; Sat, 18 Feb 2023 13:13:40 -0500 Received: from tobias.gr ([80.241.217.52]:52710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTRiN-0005tu-Ok for 61246@debbugs.gnu.org; Sat, 18 Feb 2023 13:13:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=AazuN3JKQ8f/7 6McVCDy2sbDW4l1kCpOl4B08ydWTig=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=M5mAtuG0+6IuONCS+i9ArwbvB2IxVRnHPjV/gE GRVRQvwhvFagZYzhCImf3YKCQueh3YQLIhyM/qvt2HxAwrCXtB6yMuqOumXzjvIcnWicL8 GozPqfl7ybpe2Y/9YO3pNtsqDZ9EAHRh1aP7M8Odg7EytS/kAeB/eKhjk74LbFUos+aGHZ WnZC0Lche/2jWSchFdQMhzcwoRAd5lsGGkRjh+klkPMcuUXsT9hGGFTENGelH3OZSvXB48 HcFvi8QwNCvXiLldVxnYiy8jIrJYLtuQFi+ulTLdzZ3TqHu4di+U5pjF28eA73bkJPyNGb yCoQlTxlSRlr6B/xlSmnYCpQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 88029c09 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 18 Feb 2023 18:13:34 +0000 (UTC) References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> <87v8k0qdlf.fsf@gmail.com> <87lekux2te.fsf@nckx> From: Tobias Geerinckx-Rice To: Maxim Cournoyer , =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH] gnu: libgit2: Update to 1.5.1. Date: Sat, 18 Feb 2023 19:13:53 +0100 In-reply-to: <87lekux2te.fsf@nckx> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87h6vix2jm.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice =E5=86=99=E9=81=93=EF=BC=9A > I belatedly second Zimoun here: > >> This patch series should be split into 3 atomic commits. Or maybe I misinterpreted the intention. When debugging this, I would have liked to find separate commits=20 for each version, or a more generic title (without the misleading=20 =E2=80=98to 1.5.1=E2=80=99). Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY/EV3Q0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15g7YBAMAEXsEZNiT3AJptniguUtnJz8/D8C/McNltFhJm q10vAP0R4LuDdyPG5mcdBB1KFY5u3cFIsCqWKawecEmcP5WQCg== =Wx8n -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 15:45:33 2023 Received: (at 61246) by debbugs.gnu.org; 18 Feb 2023 20:45:33 +0000 Received: from localhost ([127.0.0.1]:45046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTU5M-0001hY-SM for submit@debbugs.gnu.org; Sat, 18 Feb 2023 15:45:33 -0500 Received: from mail-qt1-f173.google.com ([209.85.160.173]:46917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTU5L-0001hH-C1 for 61246@debbugs.gnu.org; Sat, 18 Feb 2023 15:45:31 -0500 Received: by mail-qt1-f173.google.com with SMTP id hg7so850315qtb.13 for <61246@debbugs.gnu.org>; Sat, 18 Feb 2023 12:45:31 -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=/m+eZldYxvE3SXE5rbacLSFI3cifRRqZhVwbJeDNjkY=; b=bsL4TyuqFsfuw+tJeMcwgFINv05txIiEk9FFv7yI+TrVkENs4qvAkcNa+69gbMfK1q 5ddz9mDoL446oxcERiuO4d5V57rSiXrgmzbNPmRjVjeWRp7rjci1lTda74QsQjt3VTeX Gj6piAOoFQfnAF8V9xXURsCstnuwdxIbAjUvAn5gH70m5Dwmr7+E/H/L0UpYgT2w+grV 5DFSxaZJiGho5BmvEilgKmSY5kvG9dTcIJwp0Y6lLpQEPndLLCUHwebIHNev9MX1HBXf oh+jck0Jpjp22GvVEuSytJGXEJgD9xP9QYcSs0SG73o4zuR9cs4h5vxOwC9+G3y/Y/4C ZEHg== 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=/m+eZldYxvE3SXE5rbacLSFI3cifRRqZhVwbJeDNjkY=; b=WW00HeajPqDa+49/EKRqLxDbnjY7eNkKY+33zsUlUmBdXVsiTq2Ar2Nr8EuKQ4dkCA 6QDxfOV4q065xKRtxU13gK9tZqalKvhm+zDwyMYwhb6nqST3I8tBBJ8jCXMprYKeSpWr 1pKCw12xC3SDHdO3On857glqzWYkp2kqMkmghLXJYIV6VKHAVYznjL6AfIDyMOIMdkHb U2s0Z5lC1AVuLDjmH7XFY8wKXShXOc1zHJ1LcXAYnq6zGKJ/NzdikAIuuLFoD9vBKTak ZsUYTzinysTWkkkK9BlFDEEOIZSK0ZZQ32nwOLa/uHOP8O0C0y9drA8LJZUUk+QsMCjU MnsQ== X-Gm-Message-State: AO0yUKVwN0te8+xHVidL34o8rqDKyqBgFQjowa1aqTqBbbXuvNSq5rVy xh31bnCpBVKjx3XfhdewO+gADiTX1sXN3Q== X-Google-Smtp-Source: AK7set+anVnayTE/QvTV8IqJy2Ta8erlqwQE46hn5tIAPsKotzb5ka6QJvm8lSOkcYH9hjevon1FtA== X-Received: by 2002:ac8:5715:0:b0:3bd:d46:dbe4 with SMTP id 21-20020ac85715000000b003bd0d46dbe4mr16937367qtw.57.1676753125771; Sat, 18 Feb 2023 12:45:25 -0800 (PST) Received: from hurd (dsl-157-123.b2b2c.ca. [66.158.157.123]) by smtp.gmail.com with ESMTPSA id 82-20020a370b55000000b0073b3316bbd0sm5400788qkl.29.2023.02.18.12.45.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Feb 2023 12:45:25 -0800 (PST) From: Maxim Cournoyer To: Tobias Geerinckx-Rice Subject: Re: [bug#61246] [PATCH] gnu: libgit2: Update to 1.5.1. References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> <87v8k0qdlf.fsf@gmail.com> <87lekux2te.fsf@nckx> <87h6vix2jm.fsf@nckx> Date: Sat, 18 Feb 2023 15:45:24 -0500 In-Reply-To: <87h6vix2jm.fsf@nckx> (Tobias Geerinckx-Rice's message of "Sat, 18 Feb 2023 19:13:53 +0100") Message-ID: <87r0umog7v.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: =?utf-8?Q?Andr=C3=A9?= Batista , 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Tobias! Tobias Geerinckx-Rice writes: > Tobias Geerinckx-Rice =E5=86=99=E9=81=93=EF=BC=9A >> I belatedly second Zimoun here: >> >>> This patch series should be split into 3 atomic commits. > > Or maybe I misinterpreted the intention. > > When debugging this, I would have liked to find separate commits for > each version, or a more generic title (without the misleading =E2=80=98to > 1.5.1=E2=80=99). Apologies for the breakage, and thank you for the prompt fix! I wish I had the QA's badge of approval, but after waiting more than a week I had no expectation of when it'd show up. --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 05:42:23 2023 Received: (at 61246) by debbugs.gnu.org; 20 Feb 2023 10:42:24 +0000 Received: from localhost ([127.0.0.1]:50582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU3cl-0003sL-Hv for submit@debbugs.gnu.org; Mon, 20 Feb 2023 05:42:23 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:39884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU3ci-0003ri-EV for 61246@debbugs.gnu.org; Mon, 20 Feb 2023 05:42:21 -0500 Received: by mail-wr1-f48.google.com with SMTP id r7so467265wrz.6 for <61246@debbugs.gnu.org>; Mon, 20 Feb 2023 02:42:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=IRh7H+1ZxI+BL+JSLn/33fuds5zo/9lAuq7TtP0itkg=; b=KwuNuAZ91udOxEda2j76bPWcaKS6kfxBjel9JsSuaYeY1S9q20lTzKCrXmQ//X97J7 /XoRHKxFlX3cckRnDWisHwqoxGl3Kjyi/tbmlsUEAtQbkOHPfkGYqwQ3HC9nf1xXkjlM xM9n0NQ/ksXYiGAWnT7I8cdzNoK9SDCtzvEn7IIkTXgpDk38qFwGbABxtoCqY3xSboe3 ax/o8Zxr09t/Cv3HH8cEZEr+DizTLHppZrW4IS1yT580p5FoD9VzNZMT7DNxqwogRnC0 gvDCDyPj2zvRq9CwS3Jr4PS6f1tXsPpfEaKi3GQyu0EAGuh4IM/eiJZ1b/eRWeq53Ozb 3HLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=IRh7H+1ZxI+BL+JSLn/33fuds5zo/9lAuq7TtP0itkg=; b=JYd3/ZMx/iaOOqzLmW0Wkp0RL1AUgcnbJ3nZzRmcGf4g+WF0lfdyLsPFy+uGKVBwgz KEWOKg6VnRfNQ/CHV20DUbCbIj22+9NhWsaLY6oOLX+0jQ/Va0XjhcqMNffBkqs1GqRm 2TdxgPK27W3mifYcMCtCIx9yluKnNjVbWHAg6SDiJowZUXJlClqHnKE8A8uqmE6EEPCt Us+dxN/lbdP5la56MaJ1OJzpiIZ5JElx55h1UrijftnjODmClUuz/A3hSf0Lpu8BG77L 3iJtAdj0YHMRon+bfRBjd9l6EB7J9ozmgk8jabl68UfokozDrfnV+Xav1s7Iae06w8r1 b1cg== X-Gm-Message-State: AO0yUKUB7Aa4jWrtKfeAFdSsmGrRpyk2h74SWLPOLvDzFw1H2llH8G3T +ITkNLgV5rNJUOC1xazBu/nf2Z0bPGs= X-Google-Smtp-Source: AK7set99jpIVZ9fFsjPA+SqUVLFI8EtrIaESxsb33/IeRVBdg/K4EesI/ph+CENRp3aPoFupPw6ONA== X-Received: by 2002:a5d:490d:0:b0:2c6:f9e8:a212 with SMTP id x13-20020a5d490d000000b002c6f9e8a212mr1772873wrq.2.1676889734096; Mon, 20 Feb 2023 02:42:14 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id x4-20020adfdd84000000b002c556a4f1casm757529wrl.42.2023.02.20.02.42.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 02:42:13 -0800 (PST) From: Simon Tournier To: Tobias Geerinckx-Rice , Maxim Cournoyer , =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH] gnu: libgit2: Update to 1.5.1. In-Reply-To: <87h6vix2jm.fsf@nckx> References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> <87v8k0qdlf.fsf@gmail.com> <87lekux2te.fsf@nckx> <87h6vix2jm.fsf@nckx> Date: Mon, 20 Feb 2023 11:05:43 +0100 Message-ID: <87y1os4poo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On sam., 18 f=C3=A9vr. 2023 at 19:13, Tobias Geerinckx-Rice via Guix-patche= s via wrote: > Tobias Geerinckx-Rice =E5=86=99=E9=81=93=EF=BC=9A >> I belatedly second Zimoun here: >> >>> This patch series should be split into 3 atomic commits. > > Or maybe I misinterpreted the intention. > > When debugging this, I would have liked to find separate commits a > for each version, or a more generic title (without the misleading=20 > =E2=80=98to 1.5.1=E2=80=99). The intention was: =C2=AB When debugging this, I would have liked to find separate commits a for each version, or a more generic title (without the misleading =E2=80=98to 1.5.1=E2=80=99). =C2=BB :-) Just to point that as member of the Julia team, I know by experience that the dependency relationship between Julia and the Git ecosystem can be tedious to find. Hence my proposal to split =E2=80=93 it helps to preve= nt breakage or help to debug it. Thanks Tobias for the quick fix! Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 05:42:24 2023 Received: (at 61246) by debbugs.gnu.org; 20 Feb 2023 10:42:24 +0000 Received: from localhost ([127.0.0.1]:50586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU3cm-0003sV-Ar for submit@debbugs.gnu.org; Mon, 20 Feb 2023 05:42:24 -0500 Received: from mail-wr1-f54.google.com ([209.85.221.54]:33592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU3ci-0003rj-F1 for 61246@debbugs.gnu.org; Mon, 20 Feb 2023 05:42:22 -0500 Received: by mail-wr1-f54.google.com with SMTP id bo30so80456wrb.0 for <61246@debbugs.gnu.org>; Mon, 20 Feb 2023 02:42:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=BuZs5BJW62QoR2J1LqYNe1JW0q1oGJ0qyy9m4Z5xO7k=; b=YhXoNGm9kqkNeW8Q7B+9bkYkBRQb0gsg9S7syNgUQtI+wK4P1JOQgl+sWJX+OGGRnI AQDxYTyYn7sjdew+VOBiOayF4tL2dvgcY/hN0vuu4OsCYO2FXUN3ZYwrUo6zB9LGKky8 E/Kwhky6XJJPiIUeIB31o5Oum7A/On1jcaflkboJESo2opUqdfsDFrGX3sN+vntnSmU1 TkWhQRnozE4p7BFplBStuUh2YWaJMhK29uE96NgI5MelEWSzcox7qPJjHsaOFAe7M2kh aNLMa77F1G07O5eBN+nDUjSjZmUBqc7KT8yMTwVjqED8SIeubtFs2HUC6GJL7VIHdz0u SdJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=BuZs5BJW62QoR2J1LqYNe1JW0q1oGJ0qyy9m4Z5xO7k=; b=asbUqrGcvK4mELwDt2xm0FYtsLR4eWS+mQOC0gi7De9r2oSSeX55vdiXHUL+flg3y3 zc10p805heN8+uRhqMcJUIJxToVtLT4uezm52Mgg4WihpXeseM2kUY2ZIaKl8XRSAghh doaQzPDQFsJJnprRPj63KL3zGDJ1+L5KOrrgmRc8PAmuCIy/A5w79+yQ1bHxX5IHAPng lkEE8Fo4cn/9/+Ac9PzEo3sDc0AYdpDHcW2+QpCtjGxZENKM63eoRilFBiqAlUe8gHad 3avYsdDQtf91lVmYLVcOF/S/YpE2PwWQ4IisOp1JUHdaNNJvvFR31UZuFziOHou8aqRr tj+A== X-Gm-Message-State: AO0yUKUpdSCsWylf/GxNKStlqXpNVSr4NvRfnFioKFyHkJ9wvVAmeowh n46G42aayC4FskYBh8lt6zEH2+zSMPE= X-Google-Smtp-Source: AK7set9LIh4cWcAivluepgYJmmX5ym8zyC+XXS++Knougs654IgAlQDqI3/q+2c3e5j1yBhQ2N/gSg== X-Received: by 2002:adf:e682:0:b0:2c5:4e28:e33c with SMTP id r2-20020adfe682000000b002c54e28e33cmr364935wrm.2.1676889734706; Mon, 20 Feb 2023 02:42:14 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id e29-20020a5d595d000000b002c558869934sm5872624wri.81.2023.02.20.02.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 02:42:14 -0800 (PST) From: Simon Tournier To: Maxim Cournoyer , Tobias Geerinckx-Rice Subject: Re: [bug#61246] [PATCH] gnu: libgit2: Update to 1.5.1. In-Reply-To: <87r0umog7v.fsf@gmail.com> References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> <87v8k0qdlf.fsf@gmail.com> <87lekux2te.fsf@nckx> <87h6vix2jm.fsf@nckx> <87r0umog7v.fsf@gmail.com> Date: Mon, 20 Feb 2023 11:08:27 +0100 Message-ID: <87sff04pk4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: =?utf-8?Q?Andr=C3=A9?= Batista , 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On sam., 18 f=C3=A9vr. 2023 at 15:45, Maxim Cournoyer wrote: > Apologies for the breakage, and thank you for the prompt fix! I wish I > had the QA's badge of approval, but after waiting more than a week I had > no expectation of when it'd show up. I agree that it is hard to know if something related to QA is going wrong or if it is something related to the patch. I had the issue in [1,2]. 1: https://issues.guix.gnu.org/msgid/86ilg1c0cy.fsf@gmail.com 2: https://issues.guix.gnu.org/msgid/CAJ3okZ3pquWUJxcV09LBeb+6Hk_oZgJX3Thpo= MUHEjFixqycHA@mail.gmail.com Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 22 13:11:02 2023 Received: (at 61246) by debbugs.gnu.org; 22 Feb 2023 18:11:02 +0000 Received: from localhost ([127.0.0.1]:60304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUta1-0002Cf-LG for submit@debbugs.gnu.org; Wed, 22 Feb 2023 13:11:02 -0500 Received: from mx1.riseup.net ([198.252.153.129]:36924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUtZy-0002CH-Vl for 61246@debbugs.gnu.org; Wed, 22 Feb 2023 13:11:00 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4PMPNF2L2zzDqFh; Wed, 22 Feb 2023 18:10:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1677089453; bh=XtoZEkLPrErA0eRad7Ml4SUllMk+NV5I+NXarTees6M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sW1JQlZxN915NenGa57KVZRNb0Vs+TzSig+CkKp7FOIFMCekL9RMCgisvZdr+Cezy +q8Hm8TemjM82s5jTqeVclKPasmaZaBJet8mfowIq8ErtpoApu4AICVs3sIGabTnkB 5lRBhhZGZIrgevg5AmgIJ323jEprWUYOJo6HmxwI= X-Riseup-User-ID: D75D77A863F5FB3E6D4236CC63D1F2DACD9D3902082EE88CAEFD1605A6737B51 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PMPND2WGhz1yPW; Wed, 22 Feb 2023 18:10:52 +0000 (UTC) Date: Wed, 22 Feb 2023 15:10:39 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Maxim Cournoyer Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. Message-ID: References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> <87r0uoqd2j.fsf@gmail.com> <87fsb2q3kr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87fsb2q3kr.fsf@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Maxim, sáb 18 fev 2023 às 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}. Looking at the manual, on section 7.4 "Channel Authentication", it says: --- The @command{guix pull} and @command{guix time-machine} commands @dfn{authenticate} the code retrieved from channels: they make sure each commit that is fetched is signed by an authorized developer. The goal is to protect from unauthorized modifications to the channel that would lead users to run malicious code. As a user, you must provide a @dfn{channel introduction} in your channels file so that Guix knows how to authenticate its first commit. A channel specification, including its introduction, looks something along these lines: --- Then it goes on to describe how to insert a openpgp fingerprint, a commit hash, but it does not say it's @command{git}, nor @command{gnupg}, and it has no word to say about gcrypt library, libgit2 or guile and IMO it's good as is. Anyway, would it satisfy your concerns if I were to send another patch version with the following contents? --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 Guix checks said directory for ownership before any further processing and it will, by default, abort execution if the configured directory is neither owned by the calling user nor has it been configured as a safe directory in the user's global @command{git} configuration file at @code{~/.gitconfig}, which Guix honors@footnote{If you know your @command{git}, this security measure mimicks what it does.}. Supposing your system-wide local channel is at @code{/src/guix.git}, you would then declare it a safe directory by adding the following configuration directives to your @command{git} global configuration file: --8<---------------cut here---------------end--------------->8--- Cheers, From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 22 13:18:13 2023 Received: (at 61246) by debbugs.gnu.org; 22 Feb 2023 18:18:13 +0000 Received: from localhost ([127.0.0.1]:60317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUtgz-0002QD-70 for submit@debbugs.gnu.org; Wed, 22 Feb 2023 13:18:13 -0500 Received: from mx1.riseup.net ([198.252.153.129]:49976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUtgw-0002Pv-Kh for 61246@debbugs.gnu.org; Wed, 22 Feb 2023 13:18:11 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4PMPXW4zSGzDqjL; Wed, 22 Feb 2023 18:18:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1677089883; bh=etQxsZ0fyUuaW0RXEaRYf6v3cHgfy2Q3sYUJNrMCArw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GnWlQsp+YAqeUhQDQZWm1I1RnxMO5hrZvjKm9xG0MN//m0ZK+ly3yAQ/N/eYfszLc cyhzbw9uxJTQ9uhDnNL2rRK0EFQ6gZMm8Ys0j8mQMMrX8sy8V2r69DaOnHadMp27OG DfE/ZOednpK7F63gTGaxUCyV5Z/0OXUfmo+5hZ4c= X-Riseup-User-ID: 118A9B2C3144B768536DF7C362AD8FF0C388247D1EB63CA6AE2F7958959F4470 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PMPXV4FXrz1yPW; Wed, 22 Feb 2023 18:18:02 +0000 (UTC) Date: Wed, 22 Feb 2023 15:17:57 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Tobias Geerinckx-Rice Subject: Re: [bug#61246] [PATCH] gnu: libgit2: Update to 1.5.1. Message-ID: References: <20230203031129.3529-1-nandre@riseup.net> <877cwrjz9m.fsf_-_@gmail.com> <87v8k0qdlf.fsf@gmail.com> <87lekux2te.fsf@nckx> <87h6vix2jm.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h6vix2jm.fsf@nckx> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org, Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Tobias! sáb 18 fev 2023 às 19:13:53 (1676758433), me@tobias.gr enviou: > > When debugging this, I would have liked to find separate commits for each > version, or a more generic title (without the misleading ‘to 1.5.1’). Ack! I'll keep that in mind and try to alleviate the burden instead of aggravating it. Regards, From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 23 07:43:40 2023 Received: (at 61246) by debbugs.gnu.org; 23 Feb 2023 12:43:41 +0000 Received: from localhost ([127.0.0.1]:33286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVAwm-0003nh-HP for submit@debbugs.gnu.org; Thu, 23 Feb 2023 07:43:40 -0500 Received: from mx0.riseup.net ([198.252.153.6]:59196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVAwl-0003nU-5t for 61246@debbugs.gnu.org; Thu, 23 Feb 2023 07:43:39 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PMt451ysgz9sl1; Thu, 23 Feb 2023 12:43:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1677156213; bh=RtgyLyfCuWjU2UBR3EWOlHLjVR5naxfOqwaHSy9FdP0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IQ8dTbCgPfPg6QbGVuHeMBsJqU0lSgfjbyb65TG/B3SsXNHq/3ReyQxwdY0SchagT wofrT/aWI4bXN6z0qdgen1854ceBezXm+MtCZy8Xz9EjHoqiGDxT8LFeSiokTNBCdd SaTa9SQHPzLD9N/i7SWvQioLqQE8gDgaVtRa936E= X-Riseup-User-ID: 7E832EFE61098E8B26AD39EC4BD8089FE55E697336C03EA653AC1A2C67CF1AAE Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PMt4362DFz1y9M; Thu, 23 Feb 2023 12:43:31 +0000 (UTC) Date: Thu, 23 Feb 2023 09:43:18 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Maxim Cournoyer Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. Message-ID: References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> <87r0uoqd2j.fsf@gmail.com> <87fsb2q3kr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87fsb2q3kr.fsf@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Maxim, sáb 18 fev 2023 às 12:35:32 (1676734532), maxim.cournoyer@gmail.com enviou: > (...) > >> 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) ? > > > > Not really. It's guix itself and its subcommands which will fail in > > this scenario, not git, even though it's because guix is using git > > configuration through libgit2. To me it would be misleading to use > > @command{git} there. I could come up with a more detailed > > description, however, I don't think this would be the place to be > > diving on a detailed discussion of guix internals. I'm up to > > suggestions though if you think this patch would make people wonder > > if it is a typo. Just to be sure we are on the same page on this: have you followed on #55399? AKA Guix has a choice to make here since we could just as well decide to diverge from git and disable owner validation checks entirely in Guix. On the one side, users wouldn't need to bother with git configuration and the manual could do without this patch. On the other, would this divergence have any security implications? As far as I can see it doesn't, but I may not be seeing far enough and we would be hard coding and burying this decision in Guix. Also we wouldn't be exempting one chosen directory of these checks, but disabling it altogether in Guix. WDYT? From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 23 17:05:57 2023 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 To: =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. 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?=22Andr=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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246-done Cc: 61246-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 23 17:38:55 2023 Received: (at 61246) by debbugs.gnu.org; 23 Feb 2023 22:38:55 +0000 Received: from localhost ([127.0.0.1]:35527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVKEo-0005p4-OJ for submit@debbugs.gnu.org; Thu, 23 Feb 2023 17:38:55 -0500 Received: from mail-qt1-f176.google.com ([209.85.160.176]:34725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVKEm-0005or-VU for 61246@debbugs.gnu.org; Thu, 23 Feb 2023 17:38:53 -0500 Received: by mail-qt1-f176.google.com with SMTP id b6so6588068qtb.1 for <61246@debbugs.gnu.org>; Thu, 23 Feb 2023 14:38:52 -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=N1kL5/FOTPozGU1IIXoJoBSVUHedhwlTiFxaz5vJwGo=; b=bSR4+ygw/2dmO0EFG01bK94zsLkEukkaMuHfcAvvwnCiQcNH4jiTrdgBGMVVIlx8l2 EhApGCxx3Wyn6nUX651JCwurjODN1fnH0H7v6U382D7BZ1lpxM9VF32tl39UKSBV1Yzq Lv2gBWJ1yt5rNWFdWXIGUtTu79yHNCOtY0orgQGSE6ApMXoNwZoNcXYGJq1jCITOznmb Or87ZG6bQ/Gyb+/RXXqkc3v6lh0JC4BoSO03sQkxhWTwCc2dprct4je5Ih74eG3fiCWO 6No6OrKWk75aQLeuxNVkeIDBioi4i/6feGS3UGFC1EMKFwtaICqhAIJoGUQJwWCRRqiO Q6Rw== 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=N1kL5/FOTPozGU1IIXoJoBSVUHedhwlTiFxaz5vJwGo=; b=zwWjbUDY/fTJXVXP8QE9H76wWWxLjO0JDMr7hozP8V1LG5Ot6TgqJ6JhqmXZ0FhTaC ZIxeiWfhLsaqcl3T2ZxFtbtuu3iqJBjqXsGWp6QV7nFfkzPmQVnvGu+6VpQXWcZ9OgOG DFiOo4DbE3mZd/NOC1KF5wFz9mELSnIA6poYxpwSZfzH9erjYoB+ws9X8Jg8m/CdmmdW Wn9WwN6n4AcNgcogirtmyPhaf0XX4bQbm0CKnEbkdsB+CWn9aWuvwoO9f4Dh4fIZbMih qKVeYiNIb9ADFcHZtyWJYp8txY+N7bd9H1wa4ladcq1osrwMnpsPB4ArtQV2DI3ePtWu p1EA== X-Gm-Message-State: AO0yUKVwz+bkjU3bh8KZ+pbkSiH9MNdASEb/4+noWnkYMsR51/NAs481 qr1gBw+XyFaRyKBmaDLGZsGSqqCJz1rMcA== X-Google-Smtp-Source: AK7set8Dha4Ox1FJcnL62AIzmYKseb1+biGqm9IyHF31TFbqQY8lxoipzXTsJVR421NOKqZ6XPrrtA== X-Received: by 2002:ac8:7fc8:0:b0:3b8:6a41:c329 with SMTP id b8-20020ac87fc8000000b003b86a41c329mr20695225qtk.21.1677191927104; Thu, 23 Feb 2023 14:38:47 -0800 (PST) Received: from hurd (dsl-10-129-1.b2b2c.ca. [72.10.129.1]) by smtp.gmail.com with ESMTPSA id 145-20020a370397000000b0073b79edf46csm3328111qkd.83.2023.02.23.14.38.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 14:38:46 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#61246] [PATCH v3 2/3] doc: Explain how to use local guix repositories. References: <87a61ogomz.fsf@gmail.com> <20230217190640.1914-1-nandre@riseup.net> <87r0uoqd2j.fsf@gmail.com> <87fsb2q3kr.fsf@gmail.com> Date: Thu, 23 Feb 2023 17:38:45 -0500 In-Reply-To: (=?utf-8?Q?=22Andr=C3=A9?= Batista"'s message of "Thu, 23 Feb 2023 09:43:18 -0300") Message-ID: <87y1oogg7e.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61246 Cc: 61246@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Andr=C3=A9 Batista writes: > Hi Maxim, > > s=C3=A1b 18 fev 2023 =C3=A0s 12:35:32 (1676734532), maxim.cournoyer@gmail= .com enviou: >> (...) >> >> 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) ? >> > >> > Not really. It's guix itself and its subcommands which will fail in >> > this scenario, not git, even though it's because guix is using git >> > configuration through libgit2. To me it would be misleading to use >> > @command{git} there. I could come up with a more detailed >> > description, however, I don't think this would be the place to be >> > diving on a detailed discussion of guix internals. I'm up to >> > suggestions though if you think this patch would make people wonder >> > if it is a typo. > > Just to be sure we are on the same page on this: have you followed on > #55399? AKA Guix has a choice to make here since we could just as > well decide to diverge from git and disable owner validation checks > entirely in Guix. On the one side, users wouldn't need to bother with > git configuration and the manual could do without this patch. On the > other, would this divergence have any security implications? As far > as I can see it doesn't, but I may not be seeing far enough and we > would be hard coding and burying this decision in Guix. > > Also we wouldn't be exempting one chosen directory of these checks, > but disabling it altogether in Guix. I'm not sure of the security implications this new git switch tries addressing, so I'd have to read about it more before I can commit on what's right to do. In the meantime, we have a recent libgit2 and users have instructions about dealing with its new security "features", so it still seems a plus to me. --=20 Thanks, Maxim From unknown Wed Jun 25 03:56:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 24 Mar 2023 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator