From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WNrhLFzl8WUZAAAA62LTzQ:P1 (envelope-from ) for ; Wed, 13 Mar 2024 18:41:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WNrhLFzl8WUZAAAA62LTzQ (envelope-from ) for ; Wed, 13 Mar 2024 18:41:48 +0100 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=moLUMexv; 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=1710351708; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sJlTr3+Ii215G+CjDDL3OiOFrsW8eh2+V+u/KZNXTC4=; b=V30LmqRWl6IS5c+TqWuUSoyBUH6S3lgGTkitBFI5wKAiLb8YjsPzsYtCTRLgt0HC0oVr3W rBtsrmMSytdcJjLX5t5m+bsAwrN09Tls/02yu3CS2by2Vi0rWqqn3UBnkTYpewXI6PiREE NnDKaxH6UjW8bKdplhkzHpyyoVFDDHnB++HVAfP26E7HsJxpkfuND19WhfZTxdT169KJuk Lm96+ZlJRufyithRsUBPv+GPW0y9McDd1YJWrDWX6GFUoRjOBOUDyYp++BtMM7lpG6P11C Ur5fJHb0Zy0tyMmTirvjl6OBGXvElYWOLgewok4fVNhMlJY+j2IR0V60ucQ+Sg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710351708; a=rsa-sha256; cv=none; b=Q9Tj/QW/3sJckdoWjeqwNO/WOYk7ah4SaIKVMpBLdfsad4f+YK+PX0H6HY83i+G3Xvnhj3 1wn386mWedHOlE57xF9Qa93xw/yVTtobf0DTaegrbXL6ankzZvSBo5dJAyMDoJ92GO11E0 s9R4OgerGCIR5GBp7fl1vq9mgVtgGdV20JnL1bQVynQC9LWD5fKrd9HJ5HwPMnVmeyfDbL 6DeO6PK1nmDnKXPZoxQHAY6noEbktUnH5vduI/nxbcKLNFG3jRbuISHcOnxroVj5JrEW5a MiBuDCgO4PNHOQYA8ToDL6V9xoPWEGqKItnRF4DIeMQ+Rid9UYgCXL6XZUnfkA== 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=moLUMexv; 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 71000595D6 for ; Wed, 13 Mar 2024 18:41:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkSba-0008Ho-IM; Wed, 13 Mar 2024 13:41:30 -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 1rkSbY-0008HV-FB for guix-patches@gnu.org; Wed, 13 Mar 2024 13:41:28 -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 1rkSbY-0000rF-71 for guix-patches@gnu.org; Wed, 13 Mar 2024 13:41:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rkSc5-0008Ci-Sr; Wed, 13 Mar 2024 13:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69780] [PATCH 0/4] 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: Wed, 13 Mar 2024 17:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Florian Pelz , Julien Lepiller Received: via spool by submit@debbugs.gnu.org id=B.171035166931471 (code B ref -1); Wed, 13 Mar 2024 17:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Mar 2024 17:41:09 +0000 Received: from localhost ([127.0.0.1]:47339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkSbF-0008BX-6I for submit@debbugs.gnu.org; Wed, 13 Mar 2024 13:41:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:33294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkSbD-0008BP-QP for submit@debbugs.gnu.org; Wed, 13 Mar 2024 13:41:08 -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 1rkSac-00088t-86 for guix-patches@gnu.org; Wed, 13 Mar 2024 13:40:32 -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 1rkSab-0000dv-Jq; Wed, 13 Mar 2024 13:40:29 -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:Subject:To:From:in-reply-to: references; bh=sJlTr3+Ii215G+CjDDL3OiOFrsW8eh2+V+u/KZNXTC4=; b=moLUMexv+QN/n+ j9dVgncGPNaCCMCUdihAgASu6+Bb9OHCo/0P41pEdqHrBXry+wpE5c+gS0JjMAlFHh70q6dZSOVK7 v9wnTeNrxFaO3zlLxeSb5tDiwcMd70nyx/cbBAbdnj6ESwcL3ipppVj07jTQTm7DooCYnvWp9TLsp idhT5HeIJCz/LeDWabd1efS7H/ATYLVooS6UX8fLuYkVk0TH5ZbDM9r2XKEeOpdrb2luJzn9HMtwB KVJQiySz5DNu6+5tEn7+2/gTPghIQkTzq48I0UpBCC12Eyr0zmQ9uW7GeSY/DluSbw4eI7Px1ZLwG R1NB4O99b17vNqPS5LpA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 13 Mar 2024 18:40:13 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 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.19 X-Spam-Score: -6.19 X-Migadu-Queue-Id: 71000595D6 X-Migadu-Scanner: mx11.migadu.com X-TUID: /eymTSKvocBY Hello Git! :-) ‘guix git authenticate’ has always been inconvenient because one has to provide the introduction (commit and signer) on the command line. Only recently did I realize that we could store that info in ‘.git/config’. This is the main goal of this patch set. The rest further simplifies its use by discovering the repo and installing pre-push and post-checkout hooks. Thoughts? Ludo’. Ludovic Courtès (4): git authenticate: Record introduction and keyring in ‘.git/config’. git authenticate: Discover the repository. git authenticate: Install pre-push and post-checkout hooks. DRAFT news: Add entry for ‘guix git authenticate’ changes. doc/guix.texi | 17 ++- etc/news.scm | 16 +++ guix/scripts/git/authenticate.scm | 169 ++++++++++++++++++++++++------ tests/guix-git-authenticate.sh | 9 +- 4 files changed, 174 insertions(+), 37 deletions(-) base-commit: 7b5c030684020282a690322b558f86718eb148a7 -- 2.41.0