From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Add guix install command Date: Fri, 07 Aug 2015 10:48:47 +0200 Message-ID: <87h9obpjps.fsf@elephly.net> References: <87pp32ulfj.fsf@igalia.com> <87614rsfpn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNdKk-0004um-Gu for guix-devel@gnu.org; Fri, 07 Aug 2015 04:48:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNdKh-0006Cb-B5 for guix-devel@gnu.org; Fri, 07 Aug 2015 04:48:58 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNdKh-0006CQ-1X for guix-devel@gnu.org; Fri, 07 Aug 2015 04:48:55 -0400 In-reply-to: <87614rsfpn.fsf@gmail.com> 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: Alex Kost Cc: guix-devel@gnu.org >> 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 Would it be possible to implement this with stubs for “guix install” and “guix search” that serve as mere aliases to “guix package -i” and “guix package -s”? I think it would be nice to have these commands as long as they are just aliases and don’t duplicate code. ~~ Ricardo