From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6M9OF7sEE2YAaQEAqHPOHw:P1 (envelope-from ) for ; Sun, 07 Apr 2024 22:40:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6M9OF7sEE2YAaQEAqHPOHw (envelope-from ) for ; Sun, 07 Apr 2024 22:40:27 +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=I9hTI5C7; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712522427; 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=Ymeua3CMSv8XHXvAfQVDSZIo+L+oNuPxd4arZdVgkdI=; b=UsWJQgfhVFzFWFXxHdUvKe+BgFXNZBt7Yz4Xnra2uyB4QrJI1kDPM40iR65UgFZ8ScfqdI yCRUnvsqYzC5V8CFmNGS/GDAPm1ZQ38ryVT0h/ux9mrchXmU++qadHki1JrQ5vfeHtkv53 njOv8x8863c05mIoC5i09uK0mMMHI7JOfaVrzPyxgCHIr/uFN8f9vZeehJJYcWVFlzyRoC uHDkCw/i4Sd12SP2zSFH6Yhqn7ITc8YipL4vy/+u/6Tw/Wd7vzlKjbJVbjqQ+TrDF623vF ZJmJCSV809Gp311ZDxSgvseqrj1gYinc+ICUvzIeIRn7EIaQ2UtuowbFUn5J7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712522427; a=rsa-sha256; cv=none; b=CcClJDvTIaU7qu00QBvCkgFmkOY56oTSMCgihnZCtEPZzj5eX/FaooMhvZa0zC8e4tVu09 J3jLuDfmHDdK6meHd+kJYbtC1+uIeFJ339qTw7QbqzbMJ4aWdtnx+nWevF2QFA5Ut6DuIE IFv9I13wHycy8WU3Yol42BLvJyLNEquiCbSlqIqMtVOiDQp6uHUwqGaGyrizAoi2EuWT+o XhnWBzxf9/Ro36vkHRyW1azAyDL4fy1qX6tqWA+ViKVvy990MwsgnlnvrCv31PSqMjRxkJ dObz8IHgcOC70C4rll28Z6YQwkZcpYZmi/EkHzjDtXPLQS9YNbkJBcX+OdffPg== 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=I9hTI5C7; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 F36B026448 for ; Sun, 7 Apr 2024 22:40:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtZJ0-00016A-Cv; Sun, 07 Apr 2024 16:39:58 -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 1rtZIz-00015r-0z for guix-patches@gnu.org; Sun, 07 Apr 2024 16:39:57 -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 1rtZIy-0005wz-Pf for guix-patches@gnu.org; Sun, 07 Apr 2024 16:39:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtZJ5-00012Z-Mw; Sun, 07 Apr 2024 16:40:03 -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: pelzflorian@pelzflorian.de, julien@lepiller.eu, guix-patches@gnu.org Resent-Date: Sun, 07 Apr 2024 20:40:03 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Florian Pelz , Julien Lepiller X-Debbugs-Original-Xcc: Florian Pelz , Julien Lepiller Received: via spool by 69780-submit@debbugs.gnu.org id=B69780.17125223443616 (code B ref 69780); Sun, 07 Apr 2024 20:40:03 +0000 Received: (at 69780) by debbugs.gnu.org; 7 Apr 2024 20:39:04 +0000 Received: from localhost ([127.0.0.1]:44790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtZI6-0000vq-8Q for submit@debbugs.gnu.org; Sun, 07 Apr 2024 16:39:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtZI3-0000uw-Fw for 69780@debbugs.gnu.org; Sun, 07 Apr 2024 16:39:00 -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 1rtZHr-0005pT-6m; Sun, 07 Apr 2024 16:38:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=Ymeua3CMSv8XHXvAfQVDSZIo+L+oNuPxd4arZdVgkdI=; b=I9hTI5C7OGfCJDFrGFbZ rCAXYJrcnfmo2hgfLmefSsRKQTv510m7E704DJa7FXIHfmZMptm1v5AQaM+66A9fPMcmFti6s/SIg 6pNFE2dD/S/VYr1wRpewIzt4PQVKpdNBpJaFg46AvyUdBbxAiCtDGqaTJxxsK2GuyJ7Vg/Z4+5I77 8vjJ97lAxTzcE9YyPppTWnay7aOQ7NCSXw+yzUT8trlssymwYH+SM56csephzneVl1sKtFdWxrvl7 rtqhsC4QK8tPOKpaAySJdFVTpCKKgbcjMgAFJF1kQkY1ssudAw9vyJzV6m94eSzDRqJz5lMutQWkU KkfAZtL+Rv6F7g==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sun, 7 Apr 2024 22:38:25 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Migadu-Spam-Score: -6.07 X-Spam-Score: -6.07 X-Migadu-Queue-Id: F36B026448 X-Migadu-Scanner: mx12.migadu.com X-TUID: R0keY4upNMT1 Hello comrades, This is an update on . Changes since v1: • Write config to the right file using the new ‘set-config-string’ procedure of Guile-Git. • Write hooks to the right place (again, accounting for worktrees) using the new ‘repository-common-directory’ procedure of Guile-Git. • Support branch-specific configuration, as suggested by Skyler and Tomas. • Create a post-merge hook rather than post-checkout, as suggested by Skyler. • 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=guile-git=master If we agree on the patch set, I’ll tag Guile-Git 0.7.0 and update it in Guix before applying these patches. Feedback welcome! Ludo’. Ludovic Courtès (5): git authenticate: Record introduction and keyring in ‘.git/config’. 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 ‘guix git authenticate’ changes. 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 -- 2.41.0