From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id iD/gEQ9LGWbM3QAA62LTzQ:P1 (envelope-from ) for ; Fri, 12 Apr 2024 16:54:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iD/gEQ9LGWbM3QAA62LTzQ (envelope-from ) for ; Fri, 12 Apr 2024 16:54:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JjNlYmWY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712933647; a=rsa-sha256; cv=none; b=YjL0Qj453nLWR1iXnjjRicURqhxqtLU3RrR/4oXzVhWwhtmP3nYnrSOgr5o02yK9xAeDj0 PelZE9vXziiegGAReO9W+yzB/Vc+9nDwVvluyAmE0rzJYWeYBdDG5qAh0PpexGaAmXcTN7 tHc6ypOneAUkMLiatdzmK2uALDnKa6QYtcEiaYq6Yht0v5tv5sYBq1A9YqcQy1cSeBYmCE teg+iaPSE7F0wjVScL6EIrbKLuKdH5+QzVy79M5/l0L+QSML2aoNq/8dpVOe+43vFSWDlZ BfBLFNmhIEqYTV4Rj8hPBYFmgiLHy3OZIcM2i+W1J9JCpib8hwKjOJPkg1VuSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JjNlYmWY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712933647; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=J2a4Xrpx6/zjv4gWawGTQ/b9lWT4FHSXPyQBzqxhTEE=; b=ImIgh8tJ6jCbSUxLbYqVMUNAmYCVD2hipqLVr0P4Xzv/gDZ8DLGZgpoitY4OGpSk8oUixL odDGEZnjAE/VdnfAIZbCTogmGxakMh586Ptj+QKV/uQvkvbGVi6Z09f8FvjMRARp18yQ4r ZLYunj1d4uKHlvjvJ0SpNoK0sDUPm2pD/sQhbHqwUEJ+nFGIfFbXZmytPwazFsahe81d0G tMWYlBxBOqCyp2/M+kQ0vL0PBOKz7DY3xzoSHIb0cJiJx7kIRc+w7lBuaLMwGVHyjD0p+q MCxtxdOv49NrcZkevqaVOhxfm3YxGGGFB8PzzWvsXeUPbsc9JcIMk9uwpvFv6Q== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0CCB06D26F for ; Fri, 12 Apr 2024 16:54:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvIHs-0007JG-Lw; Fri, 12 Apr 2024 10:53:56 -0400 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 1rvIHo-0007Iv-Ip for guix-patches@gnu.org; Fri, 12 Apr 2024 10:53:53 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rvIHo-0008H5-92 for guix-patches@gnu.org; Fri, 12 Apr 2024 10:53:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rvIHx-0006il-Rg for guix-patches@gnu.org; Fri, 12 Apr 2024 10:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69780] [PATCH v2 0/5] Simplify 'guix git authenticate' usage Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Apr 2024 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69780 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69780@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz>, Skyler Ferris Received: via spool by 69780-submit@debbugs.gnu.org id=B69780.171293361125485 (code B ref 69780); Fri, 12 Apr 2024 14:54:01 +0000 Received: (at 69780) by debbugs.gnu.org; 12 Apr 2024 14:53:31 +0000 Received: from localhost ([127.0.0.1]:59437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvIHT-0006cz-D2 for submit@debbugs.gnu.org; Fri, 12 Apr 2024 10:53:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvIHQ-0006c0-4D for 69780@debbugs.gnu.org; Fri, 12 Apr 2024 10:53:29 -0400 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 ) id 1rvIH8-00086U-Mt; Fri, 12 Apr 2024 10:53:10 -0400 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=J2a4Xrpx6/zjv4gWawGTQ/b9lWT4FHSXPyQBzqxhTEE=; b=JjNlYmWYsulY0Ve1S36/ bCL5vxgBUMoG1CnAoMDmUXDT67F+CB8nyC7CWsmzzP+xyl3tUlmqeN8Ps91eP07F6JaWaMYHIXdrK r7bUasDbuLXoCYylKX9QwssQ6oIjhs/2VQxE/CgqTRfnbJAdg8cmuwlmOGs0mSh7+z2eHJ4ZOWrsR vqx5QRCO7jgeAisURdYlRcWI/NupzqbaVWiblm0nQYhe/Z6pcQKn18PULE0JFHqnsCz6Cr0xL31iZ 5XmcqQ+MvD7P2vlzecIUHmLXgcbMcazjAu2tkYH33zqxqPrswPGUoMobuTMSq8vBD5RhM4DO8dCuR Flc6xG2MrKOVAQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 7 Apr 2024 22:38:25 +0200") References: Date: Fri, 12 Apr 2024 16:52:38 +0200 Message-ID: <87cyqu63bd.fsf@gnu.org> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -7.08 X-Migadu-Queue-Id: 0CCB06D26F X-Migadu-Spam-Score: -7.08 X-Migadu-Scanner: mx10.migadu.com X-TUID: /iCtWbddfWsH Hey Tomas & Skyler, Looks like I forgot to Cc: you (or maybe the =E2=80=98send-email=E2=80=99 m= agic overrode my Cc: or X-Debbugs-Cc: header, not sure.) So: here=E2=80=99s a friendly p= ing. Ludo=E2=80=99. Ludovic Court=C3=A8s skribis: > This is an update on . > > Changes since v1: > > =E2=80=A2 Write config to the right file using the new > =E2=80=98set-config-string=E2=80=99 procedure of Guile-Git. > > =E2=80=A2 Write hooks to the right place (again, accounting for > worktrees) using the new =E2=80=98repository-common-directory=E2=80=99 > procedure of Guile-Git. > > =E2=80=A2 Support branch-specific configuration, as suggested by > Skyler and Tomas. > > =E2=80=A2 Create a post-merge hook rather than post-checkout, as > suggested by Skyler. > > =E2=80=A2 Add German translation by Florian and French translation > of the news entry. > > Since this requires the latest Guile-Git, you can use this > trick to test locally: > > guix shell -CPW -m manifest.scm \ > guile-git --with-branch=3Dguile-git=3Dmaster > > If we agree on the patch set, I=E2=80=99ll tag Guile-Git 0.7.0 and > update it in Guix before applying these patches. > > Feedback welcome! > > Ludo=E2=80=99. > > Ludovic Court=C3=A8s (5): > git authenticate: Record introduction and keyring in =E2=80=98.git/conf= ig=E2=80=99. > git authenticate: Discover the repository. > git authenticate: Print something upon success. > git authenticate: Install pre-push and post-checkout hooks. > DRAFT news: Add entry for =E2=80=98guix git authenticate=E2=80=99 chang= es. > > doc/guix.texi | 33 ++++- > etc/news.scm | 44 +++++++ > guix/scripts/git/authenticate.scm | 197 +++++++++++++++++++++++++----- > tests/guix-git-authenticate.sh | 9 +- > 4 files changed, 249 insertions(+), 34 deletions(-) > > > base-commit: 9b50a35fc0764f48688974af106fd7a6809f33ee