GNU bug report logs - #19978
It's too easy to accidentally delete all generations

Previous Next

Package: guix;

Reported by: taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer)

Date: Sun, 1 Mar 2015 21:42:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: taylanbayirli <at> gmail.com (Taylan Ulrich
 Bayırlı/Kammer)
Subject: bug#19978: closed (Re: bug#19978: It's too easy to accidentally
 delete all generations)
Date: Mon, 06 Apr 2015 20:00:06 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#19978: It's too easy to accidentally delete all generations

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 19978 <at> debbugs.gnu.org.

-- 
19978: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19978
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: taylanbayirli <at> gmail.com (Taylan Ulrich "Bayırlı/Kammer")
Cc: 19978-done <at> debbugs.gnu.org
Subject: Re: bug#19978: It's too easy to accidentally delete all generations
Date: Mon, 06 Apr 2015 21:59:36 +0200
taylanbayirli <at> gmail.com (Taylan Ulrich "Bayırlı/Kammer") skribis:

> The other day I ran "guix package -d 1d" thinking it will preserve the
> current generation, but it didn't.  If I'm not mistaken, there's no
> recovery from that either.
>
> Any command that will delete even the current generation should probably
> interactively warn/prompt the user by default, or fail, unless given a
> --force flag.  Documentation should also warn I guess.

I believe d26eb84 fixes that.

There’s no --force flag, but I think it’s unnecessary: it’s always
possible to rollback to generation 0 and from there remove whatever.

Thanks,
Ludo’.

[Message part 3 (message/rfc822, inline)]
From: taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer)
To: bug-guix <at> gnu.org
Subject: It's too easy to accidentally delete all generations
Date: Sun, 01 Mar 2015 22:41:20 +0100
The other day I ran "guix package -d 1d" thinking it will preserve the
current generation, but it didn't.  If I'm not mistaken, there's no
recovery from that either.

Any command that will delete even the current generation should probably
interactively warn/prompt the user by default, or fail, unless given a
--force flag.  Documentation should also warn I guess.

Taylan



This bug report was last modified 10 years and 105 days ago.

Previous Next


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