From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uHHuFGNS52ZkIAAA62LTzQ:P1 (envelope-from ) for ; Sun, 15 Sep 2024 21:32:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uHHuFGNS52ZkIAAA62LTzQ (envelope-from ) for ; Sun, 15 Sep 2024 23:32:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=f5Uc3HZk; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=oACiqMdg; 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=1726435939; 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=eS9E3RVjPGmN8LCjVCsjTGel46kGyUP551e2fMG3C+c=; b=CuuGlGztguPCcPq8DpO66ti85iSVv/Q9EcKKcjuS5aJ52blAMd3NwXkKOUGAq6+EuXScwz 5C/vGnTAMdSOGdzuFCmoPoif1VSgJ03mBmWSUAqV39/7oRroqgiNBAAJm4214hgONyIFhC H3LzGw9B/pwtU+4hlStMrAzjJzgiAGLwsZPIgQV/qEB0t6V7hJKxWUIa3BVhcFSSBfz5rM JHeqNCNqqznYVd5MRhXQAP2JHDP7IbCH4a8tVRSfRAN69yPJdMxQ13W5Gfer0QREkpUj6X YAi42l8jD7jkbury70OkWeSqoWM2eZv+v9LFbGxkyk0gOH6A1mddUKQAI3fdeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726435939; a=rsa-sha256; cv=none; b=f7UzwnFcPzJ6fsSKAux+UVRg3nlfQ0fAovK7xgWAeiVNKpypI7+fcbI2MrhGaColRqFxPf Zo6gp10bDx6q/i2mmE2ziftCcNXUuZYsw048H0wqyw36WMc71o0C/8GNgl7JlROjVB6+KB DvTRORk0Idu3S5jqdT40OMc6RrUpBe3FMi5HwFgiOw0W5hI20QscvN1eSstwGr7O834Dp9 do/8ObSgbk60RogTKUyO0v4Hu4mDTPh7GNtuwVIxqk2XFw6qYBBRb96pFcmLXVD+bi8rOH kc6DmRGcHSrBCg+hM3MokInIQJ1C2oTqVNFhHSGj5jeFZzigOQixuaHN6Z9cPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=f5Uc3HZk; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=oACiqMdg; 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" 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 CCE461261E for ; Sun, 15 Sep 2024 23:32:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spwqf-00031G-Mt; Sun, 15 Sep 2024 17:32:03 -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 1spwqV-00030s-FF for guix-patches@gnu.org; Sun, 15 Sep 2024 17:31:51 -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 1spwqV-0006Ru-6K for guix-patches@gnu.org; Sun, 15 Sep 2024 17:31:51 -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=eS9E3RVjPGmN8LCjVCsjTGel46kGyUP551e2fMG3C+c=; b=f5Uc3HZkgOiudKlyzlRyD8Fck+ZFkKQ502Dwyjpp6ofK2hzEOaZWMikCR+aHuS3SdFCVU9F9IESEwpk/MJC3Y7SP4vd92E/eQWYZFFKMemolF78NjEI30NzEQMHan6tYL+jXq9SUmeXOuicv0X3HtFDk8tclXlkw9K5XUnli4QZC0TqCaotgJPopWA17qS7+5mP2VO9HniZ5+UJ9f2YuuyGlpiIkB0d5ZkNUJjwXDE4ZvDQCpagRgFZ2T0tCWpBoMTj+SuOZKrejAZij7H9N3A/fv21Jb6QYrQHzNhdskoJLkJ4fgQpVhuXw/NE0U78EgiSYJKFB0NBdx3gIj/DFSg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spwqg-0006Rc-Bb for guix-patches@gnu.org; Sun, 15 Sep 2024 17:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72928] [PATCH] 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: Sun, 15 Sep 2024 21:32:02 +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 , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Christopher Baines , 72928@debbugs.gnu.org Received: via spool by 72928-submit@debbugs.gnu.org id=B72928.172643591724761 (code B ref 72928); Sun, 15 Sep 2024 21:32:02 +0000 Received: (at 72928) by debbugs.gnu.org; 15 Sep 2024 21:31:57 +0000 Received: from localhost ([127.0.0.1]:50626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spwqb-0006RJ-B4 for submit@debbugs.gnu.org; Sun, 15 Sep 2024 17:31:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spwqY-0006R4-Bk for 72928@debbugs.gnu.org; Sun, 15 Sep 2024 17:31:55 -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 1spwo7-00068j-Qr; Sun, 15 Sep 2024 17:29:23 -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=eS9E3RVjPGmN8LCjVCsjTGel46kGyUP551e2fMG3C+c=; b=oACiqMdgYojm/2RJGMXJ ee/tUsVrhm68kpWGPu1N5AbhgssBDhw5L89E/ZE0cuy39BENcWWs+nkH16WRGB2coayMGSLE3itqH psJsmci9eZr6hAhtZ6UpQnM8auEdfBRG7qKeoUZY0lxKgBiYEIaijbRL4gnxUBMDmj6rDf6kb+pJt Efmo4Afda4m0LbmJj1o3L8YpiK/16FuHgnbPlVW7nWFMZ5MRMrLT5a+aifEnbuuK6CQW2BsevfUo9 bGu4rjhog73pT/CUg2JEz4Paw9eXau70pHFVGb2zeakiRn0FAkJcRwd7mjNe3snY/NQqpJ+9cCu+k l+L8KtvDXPqL4Q==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87r09khcuo.fsf@wolfsden.cz> (Tomas Volf's message of "Sun, 15 Sep 2024 22:38:07 +0200") References: <9f9f76785a5f43b77eeff14d407c675876dffd61.1725198888.git.~@wolfsden.cz> <87o74wc2l2.fsf@gnu.org> <87r09khcuo.fsf@wolfsden.cz> Date: Sun, 15 Sep 2024 23:29:19 +0200 Message-ID: <87frq0d2s0.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.51 X-Spam-Score: -5.51 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: CCE461261E X-TUID: dORk/NxGS53o Hi, Tomas Volf <~@wolfsden.cz> skribis: >>> + (if command-line >>> + (apply execl (cons* executable executable command-line)) >>> + (format #t "~a\n" directory))))))) >> >> Maybe print =E2=80=98executable=E2=80=99 rather than =E2=80=98directory= =E2=80=99? > > Printing directory gives nice symmetry between > > $ $(guix build guix)/bin/guix describe > guix 9a2ddcc > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a > > > and > > $ $(guix time-machine -q --commit=3D9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a= 49a)/bin/guix describe > guix 9a2ddcc > repository URL: https://git.savannah.gnu.org/git/guix.git > commit: 9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a > > And in some cases you need the store item (guix copy?), and in my > opinion it is easier to go from directory to binary than other way > around. Ah yes, good points, I agree. Let=E2=80=99s do that. > Ah, yeah, definitely. Once previous point is clarified, I will send v2. Green light as far as I=E2=80=99m concerned! Thanks, Ludo=E2=80=99.