From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:38537) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAvUd-0003Em-NH for guix-patches@gnu.org; Thu, 19 Sep 2019 08:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAvUc-0002Sa-F9 for guix-patches@gnu.org; Thu, 19 Sep 2019 08:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46427) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iAvUc-0002SO-BU for guix-patches@gnu.org; Thu, 19 Sep 2019 08:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iAvUc-0004Xy-4p for guix-patches@gnu.org; Thu, 19 Sep 2019 08:25:02 -0400 Subject: [bug#37443] [PATCH] scripts: pull: Add options for generation management Resent-Message-ID: MIME-Version: 1.0 References: <87d0fx71p2.fsf@gnu.org> <87v9toy9wh.fsf@gnu.org> <878sqk33g3.fsf@gnu.org> In-Reply-To: <878sqk33g3.fsf@gnu.org> From: zimoun Date: Thu, 19 Sep 2019 14:23:51 +0200 Message-ID: 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Konrad Hinsen , 37443-done@debbugs.gnu.org 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., whic= h is really > what users expect, I feel less of an incentive for a catch-all =E2=80=9Cg= uix > 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 Something nicer should be to have aliases defined by the user. > > - 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 make= s sense > to me, but as a command I=E2=80=99d have to type, it=E2=80=99s not someth= ing 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" All the best, simon