From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56965) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVkDC-0007QE-8w for guix-patches@gnu.org; Fri, 15 Nov 2019 17:37:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVkD9-0002L9-6T for guix-patches@gnu.org; Fri, 15 Nov 2019 17:37:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56902) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVkD8-0002L0-St for guix-patches@gnu.org; Fri, 15 Nov 2019 17:37:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iVkD8-0005IO-OC for guix-patches@gnu.org; Fri, 15 Nov 2019 17:37:02 -0500 Subject: bug#37978: [PATCH] guix: new command "guix time-machine" Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87y2wt3ycb.fsf@gnu.org> Date: Fri, 15 Nov 2019 23:35:52 +0100 In-Reply-To: (Konrad Hinsen's message of "Fri, 08 Nov 2019 15:16:36 +0100") Message-ID: <875zjkzs1j.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-done@debbugs.gnu.org Hi Konrad, Konrad Hinsen skribis: > Konrad Hinsen writes: > >> Thanks for your detailed comments, most of which I agree with, and I >> will make the required changes. > > I just submitted two new patches. Looking forward to everyone's feedbck! I=E2=80=99ve just applied them, thank you! I followed up with one commit to gracefully handle Git errors (e.g., when one type =E2=80=98--commit=3Dfoobar=E2=80=99) and another one to handl= e build options like the other commands. Let me know if anything looks wrong. Anyway, I can do things like this: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix time-machine --commit=3D65956ad3526ba09e1f7a40722c96c= 6ef7c0936fe -- package -A |wc -l Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... guile: warning: failed to install locale warning: failed to install locale: Invalid argument 7666 --8<---------------cut here---------------end--------------->8--- =E2=80=A6 where the commit in question is from June 2018. Pretty fun! It would be neat if the =E2=80=9CUpdating=E2=80=A6=E2=80=9D message wouldn= =E2=80=99t show up when in fact everything is already available. Also, it=E2=80=99d be nice if we cou= ld write (and in =E2=80=98guix pull=E2=80=99 too) =E2=80=98--date=3D2019-07-07= =E2=80=99 or =E2=80=98--date=3Dlast-month=E2=80=99. Future work! :-) Thanks again for this nifty command! Ludo=E2=80=99.