From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Add guix install command Date: Fri, 07 Aug 2015 10:47:00 +0300 Message-ID: <87614rsfpn.fsf@gmail.com> References: <87pp32ulfj.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNcMu-0001EY-7h for guix-devel@gnu.org; Fri, 07 Aug 2015 03:47:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNcMr-0006z4-12 for guix-devel@gnu.org; Fri, 07 Aug 2015 03:47:08 -0400 Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:34995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNcMq-0006z0-Oc for guix-devel@gnu.org; Fri, 07 Aug 2015 03:47:04 -0400 Received: by labkb6 with SMTP id kb6so41217503lab.2 for ; Fri, 07 Aug 2015 00:47:03 -0700 (PDT) In-Reply-To: <87pp32ulfj.fsf@igalia.com> (Andy Wingo's message of "Wed, 05 Aug 2015 11:36:00 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andy Wingo Cc: guix-devel@gnu.org Andy Wingo (2015-08-05 12:36 +0300) wrote: > Hi, > > I think Guix's tooling is OK but it could be better. As a user -- and > I'm really trying to be a user and not a developer :-) -- my main > interactions with a Guix system are installing, searching, and > upgrading. Sometimes mucking about with profiles, sometimes more > involved things, but usually installing, searching, and upgrading, in > that order. > > So to me the guix package command is a bit overkill for my uses and I > always forget which options are which (often typing "guix install" only > to be told there is no such thing, likewise for search, and is it search > with big -S or little -s?). I spend a lot of my time with guix looking > at the --help output (and I still don't know why "guix help package" > doesn't give me anything useful). > > I know that guix package is definitely the core interface, and the one > that Guix wants. However I would like to plead for adding more > special-purpose subset interfaces :) They will make user life better. > > Attached is a patch to implement "guix install". It just copies over > functionality from guix package. We could refactor more but I would > start with this as it is; when things need changes is the time to > refactor, at least for me. What do you think? :) I don't mind the new commands, but I think this patch is unacceptable because of the huge code duplicating. Sorry if it was sounded rude, I just think that refactoring needs to be done instead of copying pieces from (guix scripts package). -- Alex