From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?UTF-8?Q?Bay=C4=B1rl=C4=B1/Kammer?=) Subject: bug#19978: It's too easy to accidentally delete all generations Date: Sun, 01 Mar 2015 22:41:20 +0100 Message-ID: <871tl8gzun.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSBch-0007Qm-Ib for bug-guix@gnu.org; Sun, 01 Mar 2015 16:42:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSBcg-0008M2-QM for bug-guix@gnu.org; Sun, 01 Mar 2015 16:42:03 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:58219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSBcg-0008Ll-LZ for bug-guix@gnu.org; Sun, 01 Mar 2015 16:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YSBcg-0007H7-6x for bug-guix@gnu.org; Sun, 01 Mar 2015 16:42:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSBc3-0006js-Qu for bug-guix@gnu.org; Sun, 01 Mar 2015 16:41:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSBc3-0007t0-24 for bug-guix@gnu.org; Sun, 01 Mar 2015 16:41:23 -0500 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:43413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSBc2-0007sw-RV for bug-guix@gnu.org; Sun, 01 Mar 2015 16:41:22 -0500 Received: by wggy19 with SMTP id y19so29939995wgg.10 for ; Sun, 01 Mar 2015 13:41:22 -0800 (PST) Received: from taylan.uni.cx (p200300514A44319C0213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a44:319c:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id gi3sm13236398wic.15.2015.03.01.13.41.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Mar 2015 13:41:21 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 19978@debbugs.gnu.org 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