From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 19 13:23:16 2019 Received: (at 37443-done) by debbugs.gnu.org; 19 Sep 2019 17:23:16 +0000 Received: from localhost ([127.0.0.1]:56350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iB09E-0004Hh-E2 for submit@debbugs.gnu.org; Thu, 19 Sep 2019 13:23:16 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21393) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iB09C-0004HX-GI for 37443-done@debbugs.gnu.org; Thu, 19 Sep 2019 13:23:15 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1568913774; cv=none; d=zoho.com; s=zohoarc; b=hak0tFsnosZwfjEAtsCthq8HzkK+6kyi7EO9jnR3Sdbe/D0zub1iQwuGuCEFA/FpqSKiPujsSCNlenA90EIyEJ+s3jS5Cx0HFC/ukSudOQJBVbtZ+fG7VN60rBSR3M4pO6uHwk+Z18Ao+2l6V8gUwmeS2U2CrZzuHPGZ+DbHRW0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568913774; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=GRQ4ztDr4V5wJjvBD8UQEn6ucijBZ+O5WK/t2z+d++4=; b=oc8nejU/+UN+hxJKWOr29vbQJ4AtqzsZma/2AQPXU14rwYg51OQafa6V3wbHuH8AvXpIxHwtgKECjSVh0ISvgI/NB00F0gwbRwMHz4Kd/DBqaWMrRw8olv+iN5qC1NoZcB7bnfyxaZpV4L2OEa0F79kB0xvum91mQNgi4LLzBy0= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1568913774; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1408; bh=GRQ4ztDr4V5wJjvBD8UQEn6ucijBZ+O5WK/t2z+d++4=; b=Hvd/gNbUqBLuduWuWRFyz3q6P1QCN8v/afkzn+uMzii7Lx7ZiVsjblEIVW83s048 RpHh56Gvt6ucOdnRQvNoBGWfOWeM6xdSp2JXGliwTCIAe8mxdxQX6QkKz1q/gWvwSHt ioBZaNaKfU0PUKSN9qvDi7IOex5sxqr+Aq7JWLjs= Received: from localhost (p54AD4E22.dip0.t-ipconnect.de [84.173.78.34]) by mx.zohomail.com with SMTPS id 15689137737941013.7704541360712; Thu, 19 Sep 2019 10:22:53 -0700 (PDT) References: <87d0fx71p2.fsf@gnu.org> <87v9toy9wh.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: zimoun Subject: Re: [bug#37443] [PATCH] scripts: pull: Add options for generation management In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC 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 X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37443-done Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 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: -1.0 (-) 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