From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51211) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iB0A1-0003I5-Jh for guix-patches@gnu.org; Thu, 19 Sep 2019 13:24:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iB09z-0002me-Ei for guix-patches@gnu.org; Thu, 19 Sep 2019 13:24:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47529) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iB09y-0002m6-Ae for guix-patches@gnu.org; Thu, 19 Sep 2019 13:24:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iB09y-0004J0-4T for guix-patches@gnu.org; Thu, 19 Sep 2019 13:24:02 -0400 Subject: [bug#37443] [PATCH] scripts: pull: Add options for generation management Resent-Message-ID: References: <87d0fx71p2.fsf@gnu.org> <87v9toy9wh.fsf@gnu.org> From: Ricardo Wurmus In-reply-to: Date: Thu, 19 Sep 2019 19:22:48 +0200 Message-ID: <877e64nqtz.fsf@elephly.net> 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: zimoun Cc: Konrad Hinsen , 37443-done@debbugs.gnu.org zimoun writes: > Coming from Conda package manager, it took me some time to understand; > because the Guix terminology was not what I was expecting from the > Conda terminology (in conda "guix environment" does not exist, and > "guix profile" is called environment). > > Profile as persistent environment clarifies, IMHO. Instead of providing a =E2=80=9Cguix profile=E2=80=9D command, another opti= on would be to merge =E2=80=9Cguix package=E2=80=9D and =E2=80=9Cguix environment=E2=80= =9D to just =E2=80=9Cguix env[ironment]=E2=80=9D. We could finally get rid of =E2=80=9Cguix environm= ent --ad-hoc=E2=80=9D while we=E2=80=99re at it :) > Is it possible to list all my own profiles? Not with a simple command, but Guix does keep links to profiles. Take a look here: /var/guix/gcroots/profiles/per-user/zimoun/ >> > And since I am in criticizing mood, the whole Guix management API >> > suffers from bad naming. Consider "guix pull -l". What does it pull? = Or > > I agree that "guix pull" should be split into: > - "guix pull" which actually pulls and builds derivations > - "guix log" which lists, switches or deletes the pull generation > > For example "guix log --news" seems better than "guix pull --news". I=E2=80=99m not convinced this would actually be an improvement. We need to avoid sub-command inflation. -- Ricardo