GNU bug report logs - #74583
‘guix git authenticate’ pre-push hook unsuitable in some cases

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Thu, 28 Nov 2024 08:20:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 74583 <at> debbugs.gnu.org:


Received: (at 74583) by debbugs.gnu.org; 30 Nov 2024 20:55:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 30 15:55:06 2024
Received: from localhost ([127.0.0.1]:49285 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tHUUb-0000U8-UF
	for submit <at> debbugs.gnu.org; Sat, 30 Nov 2024 15:55:06 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59704)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1tHUUa-0000TT-1S
 for 74583 <at> debbugs.gnu.org; Sat, 30 Nov 2024 15:55:04 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1tHUUU-0007al-OY
 for 74583 <at> debbugs.gnu.org; Sat, 30 Nov 2024 15:54:58 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=jlP7XSR+5fr8YQOPxQ9fr7YUrgGyA6jptSHR/JartaI=; b=qySlWZBk0YqlErOMdnMy
 yfQDBJl1ltPiJA2Ft5QYvmomqs8b7AQSYl309Dg/cVSYYK64NcHtBLp9p6cokWXJFjEwViBffHh7H
 95YJbISglml6c/PlD0MJMjbdYByg88cmLBvq6G52qc0A2Zwx9IIhq1iIY83sJ/VEbap/uq6400q0s
 q1EUJtjzp1FdG6NRHsZMZ7cPzPGL3f1YUNjaG55NvVI04JffrIkn/uRYdlagXMN0mfP/LrM0OmbTi
 MQfFamh+EMves9iUwpt5G0RaabbspX5gE9b/mhBb6hLfSm2KOqKgMfOOA1rqUq0ybFXXf7Q7NH/AX
 PQJd2yxIk9eQRw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: 74583 <at> debbugs.gnu.org
Subject: Re: bug#74583: =?utf-8?Q?=E2=80=98guix?= git =?utf-8?Q?authentica?=
 =?utf-8?Q?te=E2=80=99?= pre-push hook unsuitable in some cases
In-Reply-To: <877c8kxxlh.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Sat, 30 Nov 2024 21:42:18 +0100")
References: <87mshj7otp.fsf@HIDDEN> <877c8kxxlh.fsf@HIDDEN>
Date: Sat, 30 Nov 2024 21:54:56 +0100
Message-ID: <87y110wifz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 74583
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

And when pushing tags:

--8<---------------cut here---------------start------------->8---
$ git =E2=80=A6 push origin --tags
guix git: .[1;31merror: .[0mGit error: the requested type does not match th=
e type in the ODB
error: failed to push some refs to 'ssh://git.sv.gnu.org/srv/git/shepherd.g=
it'
--8<---------------cut here---------------end--------------->8---




Information forwarded to bug-guix@HIDDEN:
bug#74583; Package guix. Full text available.

Message received at 74583 <at> debbugs.gnu.org:


Received: (at 74583) by debbugs.gnu.org; 30 Nov 2024 20:42:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 30 15:42:30 2024
Received: from localhost ([127.0.0.1]:49268 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tHUIQ-0008IC-5K
	for submit <at> debbugs.gnu.org; Sat, 30 Nov 2024 15:42:30 -0500
Received: from eggs.gnu.org ([209.51.188.92]:53588)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1tHUIN-0008Hs-PL
 for 74583 <at> debbugs.gnu.org; Sat, 30 Nov 2024 15:42:28 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1tHUII-0003VX-DJ
 for 74583 <at> debbugs.gnu.org; Sat, 30 Nov 2024 15:42:22 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=KnjaZmiLkSahZsHLd37RTDz/l2YsOo8G/ZRDke0dkzs=; b=Y7bSWcD+opsS+Mqd/hEF
 cGMA0PdpA/qFKtU+XcnTuDYSTWT2CyOST/3ez9Oj+4V0BB2sUeJHHQXMj8p8/GR0SaSEAbdbZ0rBO
 6NcxQUeTwjXsKE8n65Zxw44+Fj1Fieuwv8/jXODDCIQebIPIq6meDNQD9PtZSb+oN2XCQqwPrr8/V
 lWVu7zmvFEfiv/lYjkRv1WPLzMKxmq4rknsp+d6vcr6Grh9dx7TRBBtCSvpzPSRiEqz0ys7QvZOzu
 pNl9XfmyitsGswYwcO7aBkBDAtD7rFbW/dBhySzBLSBLgfM2xq3Z7rjGtm3fN0120dI4eBZipsrZT
 Z9NUpzPjRheJOA==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: 74583 <at> debbugs.gnu.org
Subject: Re: bug#74583: =?utf-8?Q?=E2=80=98guix?= git =?utf-8?Q?authentica?=
 =?utf-8?Q?te=E2=80=99?= pre-push hook unsuitable in some cases
In-Reply-To: <87mshj7otp.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Thu, 28 Nov 2024 09:19:30 +0100")
References: <87mshj7otp.fsf@HIDDEN>
Date: Sat, 30 Nov 2024 21:42:18 +0100
Message-ID: <877c8kxxlh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 74583
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ludovic Court=C3=A8s <ludo@HIDDEN> skribis:

> As reported by S=C3=A9bastien=C2=B9, the =E2=80=98pre-push=E2=80=99 hook =
installed by =E2=80=98guix git
> authenticate=E2=80=99 fails when pushing the keyring branch because that =
branch
> is not authenticated.

Here=E2=80=99s what happens when running =E2=80=98git pull=E2=80=99 from th=
e =E2=80=98keyring=E2=80=99 branch:

--8<---------------cut here---------------start------------->8---
$ git pull
remote: Enumerating objects: 9963, done.=20=20=20=20=20=20=20=20
remote: Counting objects: 100% (9063/9063), done.=20=20=20=20=20=20=20=20
remote: Compressing objects: 100% (1920/1920), done.=20=20=20=20=20=20=20=20
remote: Total 8838 (delta 7033), reused 8721 (delta 6918), pack-reused 0=20=
=20=20=20=20=20=20=20
Receiving objects: 100% (8838/8838), 3.83 MiB | 5.14 MiB/s, done.
Resolving deltas: 100% (7033/7033), completed with 150 local objects.
From ssh://git.sv.gnu.org/srv/git/guix
   1d5caad391..f8868dd56b  keyring           -> origin/keyring
   00fda872d0..b9afd0ae5e  go-team           -> origin/go-team
 + 34344d8e24...77e3ebbfe2 gsl-upgrade       -> origin/gsl-upgrade  (forced=
 update)
   b51632cfa4..a36fe3204b  hurd-team         -> origin/hurd-team
 + 00f0b26fa8...022819af80 kde-team          -> origin/kde-team  (forced up=
date)
 + 2104837001...7853ffd6ff kernel-updates    -> origin/kernel-updates  (for=
ced update)
 + 566cd207a8...cf6a849f1b python-team       -> origin/python-team  (forced=
 update)
   86f14d70d7..77e98a5546  r-team            -> origin/r-team
 + e40a906933...31e7d5d0d7 rust-team         -> origin/rust-team  (forced u=
pdate)
 + 47a0a24991...aa3960c15e wip-zig-bootstrap -> origin/wip-zig-bootstrap  (=
forced update)
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Updating 1d5caad391..f8868dd56b
Fast-forward
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
 ekaitz-3F7356D6.key | 52 +++++++++++++++++++++++++++++++++++++++++++++++++=
+++
 1 file changed, 52 insertions(+)
 create mode 100644 ekaitz-3F7356D6.key
Authenticating commits 9edb3f6 to f8868dd (28 new commits)...
guix git: error: commit f8868dd56bff0f282329a33abb62262b2fc584b6 is not a d=
escendant of introductory commit 9edb3f66fd807b096b48283debdcddccfea34bad
--8<---------------cut here---------------end--------------->8---

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#74583; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Nov 2024 08:19:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 03:19:40 2024
Received: from localhost ([127.0.0.1]:36483 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tGZkS-0002iQ-1G
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 03:19:40 -0500
Received: from lists.gnu.org ([209.51.188.17]:56126)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1tGZkQ-0002iG-3W
 for submit <at> debbugs.gnu.org; Thu, 28 Nov 2024 03:19:38 -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 <ludo@HIDDEN>) id 1tGZkP-0005Jz-K6
 for bug-guix@HIDDEN; Thu, 28 Nov 2024 03:19:37 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1tGZkP-0004Ck-6q
 for bug-guix@HIDDEN; Thu, 28 Nov 2024 03:19:37 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=iVoiRJxQCgFbSclF354wTL8Hd54ZdPCcDqIY1npJEMg=; b=hEJq4Ya8D70KW2
 a94gzaHNnyYfwVFuQ23x2bg8fKABpwJ+A0CKzhxx+/ZARNVKZ5eJVpmLso2SWn7jhu29cBSoor0I6
 CHIsXQSFGTUZPmIgbnbHt5DWnItC3O59sKN8hBSgsjeephWeugniLs+/eWTObv1TTQwXnqyeFGQID
 AHAxJf+PPvPQGoo4G8/P76Xuo74qYbker+9bORUqP6LxZ324/4reXtV439fYjORHr3aSy3ULrzUoW
 T+xJ9DvfOvWAsN2gZAUwFlIaRhkyZO2fS3W3bzMb8Gf0K2427BBlyuo22ZCd/uCcBMf3+TNjWIksb
 BEYvTjH9ServxFF0ziMA==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: =?utf-8?Q?=E2=80=98guix?= git =?utf-8?Q?authenticate=E2=80=99?=
 pre-push hook unsuitable in some cases
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Octidi 8 Frimaire an 233 de la =?utf-8?Q?R=C3=A9volu?=
 =?utf-8?Q?tion=2C?= jour du Miel
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 28 Nov 2024 09:19:30 +0100
Message-ID: <87mshj7otp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

As reported by S=C3=A9bastien=C2=B9, the =E2=80=98pre-push=E2=80=99 hook in=
stalled by =E2=80=98guix git
authenticate=E2=80=99 fails when pushing the keyring branch because that br=
anch
is not authenticated.

I=E2=80=99ve seen other situations where it fails, and IIRC one of them is =
when
pushing a tag.

We should list these corner cases and have =E2=80=98guix git authenticate=
=E2=80=99
install a fixed hook.

Ludo=E2=80=99.

=C2=B9 https://lists.gnu.org/archive/html/guix-devel/2024-11/msg00256.html




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#74583; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.