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

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Thu, 28 Nov 2024 08:20:02 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Subject: bug#74583: closed (Re: bug#74583: ‘guix git
 authenticate’ pre-push hook unsuitable in some cases)
Date: Mon, 23 Jun 2025 09:48:08 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#74583: ‘guix git authenticate’ pre-push hook unsuitable in some cases

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 74583 <at> debbugs.gnu.org.

-- 
74583: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74583
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: 74583-done <at> debbugs.gnu.org
Subject: Re: bug#74583: ‘guix git authenticate’ pre-push hook unsuitable in some cases
Date: Mon, 23 Jun 2025 11:46:12 +0200
Ludovic Courtès <ludo <at> gnu.org> writes:

> Proposed fixes: <https://codeberg.org/guix/guix/pulls/482>.

Pushed:

  99f85246e19 * git authenticate: Do nothing when invoked from the keyring branch.
  0ec5cab1325 * git authenticate: Gracefully handle passing an annotated tag to ‘--end’.
  56eb949f3b4 * git authenticate: Upgrade pre-push hook with a fixed version.
  55b38ddefca * git authenticate: Remove support for Guile-Git < 0.7.0.

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: ‘guix git authenticate’
 pre-push hook unsuitable in some cases
Date: Thu, 28 Nov 2024 09:19:30 +0100
As reported by Sébastien¹, the ‘pre-push’ hook installed by ‘guix git
authenticate’ fails when pushing the keyring branch because that branch
is not authenticated.

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

We should list these corner cases and have ‘guix git authenticate’
install a fixed hook.

Ludo’.

¹ https://lists.gnu.org/archive/html/guix-devel/2024-11/msg00256.html



This bug report was last modified 26 days ago.

Previous Next


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