From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:39461) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTAa3-0003ju-An for guix-patches@gnu.org; Fri, 08 Nov 2019 15:10:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTAa2-0004vT-C5 for guix-patches@gnu.org; Fri, 08 Nov 2019 15:10:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38849) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTAa2-0004vP-90 for guix-patches@gnu.org; Fri, 08 Nov 2019 15:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTAa2-0001Nh-0j for guix-patches@gnu.org; Fri, 08 Nov 2019 15:10:02 -0500 Subject: [bug#37978] [PATCH] guix: new command "guix time-machine" Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87y2wt3ycb.fsf@gnu.org> Date: Fri, 08 Nov 2019 21:09:10 +0100 In-Reply-To: (Konrad Hinsen's message of "Fri, 08 Nov 2019 08:14:03 +0100") Message-ID: <87o8xmdtax.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Konrad Hinsen Cc: 37978@debbugs.gnu.org Hello, Konrad Hinsen skribis: >> How about (1) calling it =E2=80=98cached-channel-instance=E2=80=99 (or s= imilar), and (2) >> not opening a connection to the daemon? >> >> Regarding (2), it means that procedure would be a monadic procedure and >> it=E2=80=99s up to the user to do with-store + run-with-store or whateve= r. The > > That would imply that the user always opens a daemon, even if it is not > necessary because the required instance is already in the cache. Is that > a price worth paying for a more conventional interface, in your opinion? Ah, I hadn=E2=80=99t thought about it. Hmm opening a connection to the daemon doesn=E2=80=99t cost much, but OTOH = it=E2=80=99s best if we can avoid it here since =E2=80=98guix time-machine=E2=80=99 is j= ust a trampoline. Dunno, I=E2=80=99ll comment on the new patches and we=E2=80=99ll see. :-) Ludo=E2=80=99.