[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] guix package: Add '--delete-generations'.
From: |
Nikita Karetnikov |
Subject: |
Re: [PATCH] guix package: Add '--delete-generations'. |
Date: |
Wed, 25 Sep 2013 08:21:30 +0400 |
> Oh. I’d prefer if it would delete all generations but the current one.
> That’s a fairly useful pattern: suppose you want to make space on your
> disk (and you know you won’t need to roll back), it’d be handy to run:
> guix package --delete-generations && guix gc
> Whereas if you have to use ranges, you end up doing something like:
> guix package --list-generations |grep ^G
> # check the number of the last generation...
> guix package --delete-generations=..42 && guix gc
> Conversely, removing *all* the generations is something you’re unlikely
> to do very often.
‘--delete-generations’ could accept an additional argument, say,
‘keep-current’. It’d be easier to implement, and I find it less
confusing.
Would you accept such a solution?
pgppk1zfKEmxl.pgp
Description: PGP signature
- Re: Generation 0, (continued)
Re: [PATCH] guix package: Add '--delete-generations'., Ludovic Courtès, 2013/09/22
Re: [PATCH] guix package: Add '--delete-generations'.,
Nikita Karetnikov <=
Re: [PATCH] guix package: Add '--delete-generations'., Ludovic Courtès, 2013/09/25
Re: [PATCH] guix package: Add '--delete-generations'., Nikita Karetnikov, 2013/09/25
Re: [PATCH] guix package: Add '--delete-generations'., Ludovic Courtès, 2013/09/26
Re: [PATCH] guix package: Add '--delete-generations'., Ludovic Courtès, 2013/09/27