From patchwork Mon Oct 7 09:59:09 2024 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: 68757 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 3161127BBEA; Mon, 7 Oct 2024 11:00:20 +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=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 81D2127BBE2 for ; Mon, 7 Oct 2024 11:00:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxkXC-000272-Pq; Mon, 07 Oct 2024 06:00:11 -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 1sxkWy-00020H-QY for guix-patches@gnu.org; Mon, 07 Oct 2024 06:00:00 -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 1sxkWy-0006lB-8l for guix-patches@gnu.org; Mon, 07 Oct 2024 05:59:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=1xlTjPqzAaz/gV90jIjJPQmOHe7PB3pZYF5xG3SqYwU=; b=YdXWeCfqrobbk0mg51HHgeRQ41VIyntsvb1IomGzYyOldr8bBBOgkvb1Qii4Nj6Q1i//xJAipvufAwianmW9aOfleCNyJ5TDydPC9ooPL8a0zkFuLEdST/ATLIxnSMWx0vlZGJsNtAKCpcZJNfDvB8JwLZ+tD2Nx23VNxM0+EBIr1Cv7obFpaB3DShmwuIDNOm4fxA/dqCAxqf7tVa/vP1CickDINlsvLPkGhpjoWQO6OZKEWcgBN+huAZKEoGPF8idarqKtVMR08WT0xdfMd23xQZbglSK3G0JvTFuS0513l52sj0RHUGt1RZG640LF2XtqUbRTOTGvr7n55F3PIQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxkX5-0001OZ-BQ for guix-patches@gnu.org; Mon, 07 Oct 2024 06:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH v2] time-machine: Print profile path if no command is given. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 10:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72928 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: Josselin Poiret , Maxim Cournoyer , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Florian Pelz , 72928-done@debbugs.gnu.org, Christopher Baines Received: via spool by 72928-done@debbugs.gnu.org id=D72928.17282951695246 (code D ref 72928); Mon, 07 Oct 2024 10:00:03 +0000 Received: (at 72928-done) by debbugs.gnu.org; 7 Oct 2024 09:59:29 +0000 Received: from localhost ([127.0.0.1]:44890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxkWW-0001MX-PP for submit@debbugs.gnu.org; Mon, 07 Oct 2024 05:59:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxkWU-0001MK-SF for 72928-done@debbugs.gnu.org; Mon, 07 Oct 2024 05:59:27 -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 1sxkWH-0006hA-3t; Mon, 07 Oct 2024 05:59:13 -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=1xlTjPqzAaz/gV90jIjJPQmOHe7PB3pZYF5xG3SqYwU=; b=gUo+SXXALY9wjtBGeHLx hlMOhp8Tcs5a0ZdT/TKwUE5qKmGnYjsOZTD4mofRhcwBAKguWvB2TmqdBUZmscemepfEWl8pJmOhT THMtM9nqGSeIASYgIIDEtvYiIeCRvDoJk6zMd7UpOKqV3/6IPIhU6lhsM1Q+u5h1XXD+n98c8mcT7 E4SEweLbX2fON92KCGb63LbDIKYKZvkHXfSVh9X/MirNIRpMHLxU6ma6nwTATbE/z85lhFqeU7C6u QI/Padqt7bKVcKDxcoKgH2+/5lpt92/1kUmDmzonKSWi++f+TJ2PX/JVFoJ5i1aZAf6WksYTl2rVH 3prAc57nuxNSxA==; From: Ludovic =?utf-8?q?Court=C3=A8s?= In-Reply-To: <7f53e25ef8bb1415d73c577b8845195eb013f6c9.1728220987.git.~@wolfsden.cz> (Tomas Volf's message of "Sun, 6 Oct 2024 15:23:07 +0200") References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <7f53e25ef8bb1415d73c577b8845195eb013f6c9.1728220987.git.~@wolfsden.cz> Date: Mon, 07 Oct 2024 11:59:09 +0200 Message-ID: <878qv0z11u.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Tomas Volf <~@wolfsden.cz> skribis: > Instead of warning, print the profile path of the cached-channel-instance. > > * guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: Print > the profile directory. > (show-help): Adjust usage message. > * doc/guix.texi (Invoking guix time-machine): Document it. > > Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177 Applied, thanks! I took the liberty to make the cosmetic changes below to be consistent with the style and terminology used throughout the manual. Thanks! Ludo’. diff --git a/doc/guix.texi b/doc/guix.texi index e643aec19a..4aafcf9cc0 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4763,9 +4763,9 @@ Invoking guix time-machine options (@pxref{Common Build Options}). If @command{guix time-machine} is executed without any command, it -prints the path to the guix profile that would be used to execute the -command. This is sometimes useful if you need to get store path for the -profile, e.g. when you want to @command{guix copy} it. +prints the file name of the profile that would be used to execute the +command. This is sometimes useful if you need to get store file name of +the profile---e.g., when you want to @command{guix copy} it. @node Inferiors @section Inferiors