GNU bug report logs -
#37443
[PATCH] scripts: pull: Add options for generation management
Previous Next
Full log
View this message in rfc822 format
zimoun <zimon.toutoune <at> gmail.com> skribis:
> On Thu, 19 Sep 2019 at 13:57, Ludovic Courtès <ludo <at> gnu.org> wrote:
>>
>> Konrad Hinsen <konrad.hinsen <at> fastmail.net> skribis:
>>
>> > Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Also, now that we finally have “guix install” & co., which is really
>> what users expect, I feel less of an incentive for a catch-all “guix
>> profile” command.
>>
>> Maybe we need more of these aliases, though, like “guix show”.
>
> "guix show" would be nice.
> But I did not feel a lot of enthusiasm about it. ;-)
> https://lists.gnu.org/archive/html/guix-devel/2019-07/msg00264.html
I’m enthusiastic every time I type “guix package --show=”, believe me.
;-)
> Something nicer should be to have aliases defined by the user.
Yes, that too.
>> > - 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
>>
>> It’s a another instance where the categorization you propose makes sense
>> to me, but as a command I’d have to type, it’s not something I like.
>
> Me neither. :-)
>
> And "guix itself" fixes implicitly the profile to
> ~/.config/guix/current and maybe people are doing "non-conventional"
> stuff as "guix pull -p ~/.guix-profile --list-generations".
>
> "guix pull --list-generations" should be aliased to "guix log"
> "guix pull --delete-generations" -> "guix log --delete-generations"
> "guix pull --switch-generations" -> "guix log --switch-generations"
> "guix pull --news" -> "guix log --news"
Though “guix log” is ambiguous: it could mean
guix pull -l
or:
guix package -l
or:
guix build --log-file
Naming is hard!
Ludo’.
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.