unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 74583@debbugs.gnu.org
Subject: bug#74583: ‘guix git authenticate’ pre-push hook unsuitable in some cases
Date: Sat, 30 Nov 2024 21:42:18 +0100	[thread overview]
Message-ID: <877c8kxxlh.fsf@gnu.org> (raw)
In-Reply-To: <87mshj7otp.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 28 Nov 2024 09:19:30 +0100")

Ludovic Courtès <ludo@gnu.org> skribis:

> 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.

Here’s what happens when running ‘git pull’ from the ‘keyring’ branch:

--8<---------------cut here---------------start------------->8---
$ git pull
remote: Enumerating objects: 9963, done.        
remote: Counting objects: 100% (9063/9063), done.        
remote: Compressing objects: 100% (1920/1920), done.        
remote: Total 8838 (delta 7033), reused 8721 (delta 6918), pack-reused 0        
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 update)
 + 2104837001...7853ffd6ff kernel-updates    -> origin/kernel-updates  (forced 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 update)
 + 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 descendant of introductory commit 9edb3f66fd807b096b48283debdcddccfea34bad
--8<---------------cut here---------------end--------------->8---

Ludo’.




  reply	other threads:[~2024-11-30 20:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-28  8:19 bug#74583: ‘guix git authenticate’ pre-push hook unsuitable in some cases Ludovic Courtès
2024-11-30 20:42 ` Ludovic Courtès [this message]
2024-11-30 20:54   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877c8kxxlh.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=74583@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).