From patchwork Tue Oct 11 09:51:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 1026 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3AF7A27BBEA; Tue, 11 Oct 2022 10:59:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E9FA327BBE9 for ; Tue, 11 Oct 2022 10:59:34 +0100 (BST) Received: from localhost ([::1]:36588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiC2v-0004Cr-RI for patchwork@mira.cbaines.net; Tue, 11 Oct 2022 05:59:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiBve-0008Oo-SY for guix-patches@gnu.org; Tue, 11 Oct 2022 05:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiBve-0004JK-KJ for guix-patches@gnu.org; Tue, 11 Oct 2022 05:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiBve-000390-FZ for guix-patches@gnu.org; Tue, 11 Oct 2022 05:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58433] [PATCH 0/2] Accept tags in the 'commit' field of Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 Oct 2022 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58433 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58433@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166548189012037 (code B ref -1); Tue, 11 Oct 2022 09:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Oct 2022 09:51:30 +0000 Received: from localhost ([127.0.0.1]:50930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiBv8-000385-CP for submit@debbugs.gnu.org; Tue, 11 Oct 2022 05:51:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:48516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiBv5-00037w-Ru for submit@debbugs.gnu.org; Tue, 11 Oct 2022 05:51:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiBv4-0007rP-D9 for guix-patches@gnu.org; Tue, 11 Oct 2022 05:51:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiBv3-00049Q-7r; Tue, 11 Oct 2022 05:51:25 -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=iEBPf7pQwE0vlH6CUaOiu9eXkbwxmkfV+w6M7Csj5cQ=; b=Z4uxsLWPICTtyv QYrUKPiYjhIKvGeWGiucwlykCKdcw4Nr921GyRciPhVzFhQzuCpm0M+DakNQ8i0LolEnMCJcfN6Ok CRGcqBfp0MYbHseJSVBylexQKCwq7L3NelkAL0qyv3ID5l/asVVjZ81/PVKLXkiQKnfgzdLuH4e0R qsthlhEH1kCeg/V9Gq6AY3GSgofSj64/QSxIpUzuJDhsJUOAcY6f5RQT8jhVNg6gkQFvLfH1i1KuA 60t0+s+zW3RqRTksFNOIUGD1ONS24nH7LrgPEDAkWdv1vYj/8YOxL4kyk8RjW5/Jit0ZT6wsJFeT1 LGASJ3zCzC7ksnWnxXLQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=39814 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiBv2-0002CY-Qe; Tue, 11 Oct 2022 05:51:25 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Tue, 11 Oct 2022 11:51:17 +0200 Message-Id: <20221011095117.31182-1-ludo@gnu.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi! This change lets us pass tags to ‘guix time-machine’ and ‘guix pull’, as in: guix time-machine --commit=v1.2.0 -- describe At last! Thoughts? Ludo’. Ludovic Courtès (2): git: 'update-cached-checkout' returns the commit ID when given a tag. channels: Interpret the 'commit' field of channel as a tag or commit. doc/guix.texi | 23 +++++++++++++++++++++-- guix/channels.scm | 2 +- guix/git.scm | 15 +++++++++------ guix/inferior.scm | 2 +- tests/git.scm | 32 +++++++++++++++++++++++++++++++- 5 files changed, 63 insertions(+), 11 deletions(-) base-commit: 5d5bc072059f514394afdaccfcc72cdb282d7ce2