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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19978 in the body.
You can then email your comments to 19978 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#19978; Package guix. (Sun, 01 Mar 2015 21:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer):
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 01 Mar 2015 21:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 06 Apr 2015 20:00:04 GMT) Full text and rfc822 format available.

Notification sent to taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer):
bug acknowledged by developer. (Mon, 06 Apr 2015 20:00:05 GMT) Full text and rfc822 format available.

Message #10 received at 19978-done <at> debbugs.gnu.org (full text, mbox):

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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 May 2015 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 352 days ago.

Previous Next


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