From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 19 08:35:25 2019 Received: (at 37443-done) by debbugs.gnu.org; 19 Sep 2019 12:35:25 +0000 Received: from localhost ([127.0.0.1]:55253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAvef-0004nE-EY for submit@debbugs.gnu.org; Thu, 19 Sep 2019 08:35:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAvee-0004n2-3A for 37443-done@debbugs.gnu.org; Thu, 19 Sep 2019 08:35:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iAveY-0007Us-GQ; Thu, 19 Sep 2019 08:35:18 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=40548 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iAveX-0006Ib-No; Thu, 19 Sep 2019 08:35:18 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#37443] [PATCH] scripts: pull: Add options for generation management References: <87d0fx71p2.fsf@gnu.org> <87v9toy9wh.fsf@gnu.org> <878sqk33g3.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour du Travail de =?utf-8?Q?l'Ann=C3=A9e?= 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 19 Sep 2019 14:35:13 +0200 In-Reply-To: (zimoun's message of "Thu, 19 Sep 2019 14:23:51 +0200") Message-ID: <874l1831mm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37443-done Cc: Konrad Hinsen , 37443-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) zimoun skribis: > On Thu, 19 Sep 2019 at 13:57, Ludovic Court=C3=A8s wrote: >> >> Konrad Hinsen skribis: >> >> > Ludovic Court=C3=A8s writes: > >> Also, now that we finally have =E2=80=9Cguix install=E2=80=9D & co., whi= ch is really >> what users expect, I feel less of an incentive for a catch-all =E2=80=9C= guix >> profile=E2=80=9D command. >> >> Maybe we need more of these aliases, though, like =E2=80=9Cguix show=E2= =80=9D. > > "guix show" would be nice. > But I did not feel a lot of enthusiasm about it. ;-) > https://lists.gnu.org/archive/html/guix-devel/2019-07/msg00264.html I=E2=80=99m enthusiastic every time I type =E2=80=9Cguix package --show=3D= =E2=80=9D, believe me. ;-) > Something nicer should be to have aliases defined by the user. Yes, that too. >> > - Everything that operates on "guix" (the software, including the >> > package definitions) starts with "itself": >> > >> > guix itself update (today's "guix pull") >> > guix itself roll-back >> >> It=E2=80=99s a another instance where the categorization you propose mak= es sense >> to me, but as a command I=E2=80=99d have to type, it=E2=80=99s not somet= hing I like. > > Me neither. :-) > > And "guix itself" fixes implicitly the profile to > ~/.config/guix/current and maybe people are doing "non-conventional" > stuff as "guix pull -p ~/.guix-profile --list-generations". > > "guix pull --list-generations" should be aliased to "guix log" > "guix pull --delete-generations" -> "guix log --delete-generations" > "guix pull --switch-generations" -> "guix log --switch-generations" > "guix pull --news" -> "guix log --news" Though =E2=80=9Cguix log=E2=80=9D is ambiguous: it could mean guix pull -l or: guix package -l or: guix build --log-file Naming is hard! Ludo=E2=80=99.