GNU bug report logs - #37443
[PATCH] scripts: pull: Add options for generation management

Previous Next

Package: guix-patches;

Reported by: Konrad Hinsen <konrad.hinsen <at> fastmail.net>

Date: Wed, 18 Sep 2019 08:22:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 37443-done <at> debbugs.gnu.org
Subject: [bug#37443] [PATCH] scripts: pull: Add options for generation management
Date: Thu, 19 Sep 2019 12:19:20 +0200
Ludovic Courtès <ludo <at> gnu.org> writes:

>> 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
>> "guix package –-roll-back", which doesn't roll back a package but a
>> profile. Guix is following the lead of git whose command line API makes
>> sense only to people who have seen it grow historically.
>
> What would you suggest?  “guix log”, “guix roll-back”?

I don't have a detailed and thought-out plan, but here are some ideas:

 - Everything that modifies a profile (the standard package kind) starts
   with "profile":

     guix profile <profile-path> install ...
     guix profile <profile-path> remove ...
     guix profile <profile-path> roll-back

   The <profile-path> could be made optional in some way for working
   on the default profile.

 - The profile-independent operations of "guix package" already have
   nice aliases, e.g. "guix search". So "guix package" could go away.


 - Everything that operates on "guix" (the software, including the
   package definitions) starts with "itself":

     guix itself update  (today's "guix pull")
     guix itself roll-back

Konrad.




This bug report was last modified 5 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.