From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Inconsistency between "guix system" and "guix package" Date: Mon, 02 Oct 2017 16:43:02 +0200 Message-ID: <87fub1pq4p.fsf@gnu.org> References: <87shf21vpj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz1w5-0004sW-Uv for guix-devel@gnu.org; Mon, 02 Oct 2017 10:43:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dz1w2-0004w9-3Q for guix-devel@gnu.org; Mon, 02 Oct 2017 10:43:09 -0400 In-Reply-To: <87shf21vpj.fsf@gmail.com> (Alex Kost's message of "Sun, 01 Oct 2017 23:04:08 +0300") 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" To: Alex Kost Cc: guix-devel Hey hey! Alex Kost skribis: > Hartmut Goebel (2017-09-22 14:13 +0200) wrote: > >> Hi, >> >> I just stepped into problems listing the generations of "system". Then I >> found out: >> >> "guix system" uses sub-commands >> >> guix system list-generations >> guix system roll-back >> guix system switch-generation >> >> Contrary to this "guix package" uses options: >> >> guix package --list-generations >> guix package --switch-generation >> guix package --roll-back >> guix package --delete-generations >> >> Please also note there is no "guix system delete-generations"! >> >> This difference is confusing. Should I report this as a bug? > > I think it's not a bug, just some inconsistency that was accumulated > with time. I also asked about it 2 years ago: > > http://lists.gnu.org/archive/html/guix-devel/2015-10/msg00960.html > > My understanding is that people would agree on unified actions/options > for "package" and "system" commands. The problem is that no one has > worked in this direction :-) That=E2=80=99s a good summary. :-) There=E2=80=99s also the problem that =E2=80=98guix package=E2=80=99 needs = to support multiple actions on the same line, for transactions, as in: guix package -i guile -r python So we cannot just have =E2=80=9Cguix package install=E2=80=9D or =E2=80=9Cg= uix package remove=E2=80=9D. Thoughts? It=E2=80=99s one of these simple problems that appear to lack a simple solu= tion. :-) Ludo=E2=80=99.