From unknown Sat Aug 16 18:39:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19978: It's too easy to accidentally delete all generations Resent-From: taylanbayirli@gmail.com (Taylan Ulrich =?UTF-8?Q?Bay=C4=B1rl=C4=B1/Kammer?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 01 Mar 2015 21:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19978 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 19978@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.142524609327927 (code B ref -1); Sun, 01 Mar 2015 21:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Mar 2015 21:41:33 +0000 Received: from localhost ([127.0.0.1]:33584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSBcC-0007GN-NK for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57203) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSBcB-0007GA-76 for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSBc5-0007tI-3S for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSBc5-0007tC-14 for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:25 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=8bOcPdx/47auuiKKteQk3t/3pHlAHtaNsUMfn5vyR0g=; b=VlbWaVp1CUBS0oK5lupcgs+82nsleJ0pFy85+LUfe/2/GNf6EOa1xEmS3vJq1g+1Gi S7wiGE7t6ObeE2v0IySfpIi515EEN+0ccq/dWkVvF9IdaEf3eTjSMWejH8p1/zx3XOE0 eTvqquFSInv9SxG37Jl01ABn5LlpqWbcVIiMYr/iaMBuAS9mRnjEjrqdpQUhQsZxL6q9 Ylm6VDBApJAv+T/HYE5JJiMEpEXYZANGke5x43aigt8R2mzx9cCtIA5geEINqcdLzPY9 oQs0EFXjarwvgWtl5j3umTM63XU0oQTiqdx6h7xxOsJLU78ExELEmAHfnadwgGtRrLsN mBbw== X-Received: by 10.180.98.167 with SMTP id ej7mr29809644wib.87.1425246082199; 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) From: taylanbayirli@gmail.com (Taylan Ulrich =?UTF-8?Q?Bay=C4=B1rl=C4=B1/Kammer?=) Date: Sun, 01 Mar 2015 22:41:20 +0100 Message-ID: <871tl8gzun.fsf@taylan.uni.cx> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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 From unknown Sat Aug 16 18:39:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: taylanbayirli@gmail.com (Taylan Ulrich =?UTF-8?Q?Bay=C4=B1rl=C4=B1/Kammer?=) Subject: bug#19978: closed (Re: bug#19978: It's too easy to accidentally delete all generations) Message-ID: References: <87a8yl81uf.fsf@gnu.org> <871tl8gzun.fsf@taylan.uni.cx> X-Gnu-PR-Message: they-closed 19978 X-Gnu-PR-Package: guix Reply-To: 19978@debbugs.gnu.org Date: Mon, 06 Apr 2015 20:00:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1428350406-29161-1" This is a multi-part message in MIME format... ------------=_1428350406-29161-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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@debbugs.gnu.org. --=20 19978: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19978 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1428350406-29161-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 19978-done) by debbugs.gnu.org; 6 Apr 2015 19:59:41 +0000 Received: from localhost ([127.0.0.1]:46546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfDBN-0007ZF-Cy for submit@debbugs.gnu.org; Mon, 06 Apr 2015 15:59:41 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37824 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfDBM-0007Z8-2A for 19978-done@debbugs.gnu.org; Mon, 06 Apr 2015 15:59:40 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:49472 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YfDBL-0003cX-Fo; Mon, 06 Apr 2015 15:59:39 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?=22Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer=22?=) Subject: Re: bug#19978: It's too easy to accidentally delete all generations References: <871tl8gzun.fsf@taylan.uni.cx> Date: Mon, 06 Apr 2015 21:59:36 +0200 In-Reply-To: <871tl8gzun.fsf@taylan.uni.cx> ("Taylan Ulrich \=\?utf-8\?Q\?\=5C\=22Bay\=C4\=B1rl\=C4\=B1\=2FKammer\=5C\=22\=22's\?\= message of "Sun, 01 Mar 2015 22:41:20 +0100") Message-ID: <87a8yl81uf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19978-done Cc: 19978-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) taylanbayirli@gmail.com (Taylan Ulrich "Bay=C4=B1rl=C4=B1/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=E2=80=99s no --force flag, but I think it=E2=80=99s unnecessary: it= =E2=80=99s always possible to rollback to generation 0 and from there remove whatever. Thanks, Ludo=E2=80=99. ------------=_1428350406-29161-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Mar 2015 21:41:33 +0000 Received: from localhost ([127.0.0.1]:33584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSBcC-0007GN-NK for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57203) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSBcB-0007GA-76 for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSBc5-0007tI-3S for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSBc5-0007tC-14 for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:25 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=8bOcPdx/47auuiKKteQk3t/3pHlAHtaNsUMfn5vyR0g=; b=VlbWaVp1CUBS0oK5lupcgs+82nsleJ0pFy85+LUfe/2/GNf6EOa1xEmS3vJq1g+1Gi S7wiGE7t6ObeE2v0IySfpIi515EEN+0ccq/dWkVvF9IdaEf3eTjSMWejH8p1/zx3XOE0 eTvqquFSInv9SxG37Jl01ABn5LlpqWbcVIiMYr/iaMBuAS9mRnjEjrqdpQUhQsZxL6q9 Ylm6VDBApJAv+T/HYE5JJiMEpEXYZANGke5x43aigt8R2mzx9cCtIA5geEINqcdLzPY9 oQs0EFXjarwvgWtl5j3umTM63XU0oQTiqdx6h7xxOsJLU78ExELEmAHfnadwgGtRrLsN mBbw== X-Received: by 10.180.98.167 with SMTP id ej7mr29809644wib.87.1425246082199; 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) From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) To: bug-guix@gnu.org Subject: 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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 ------------=_1428350406-29161-1--