From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SP3JJ2DTlGGD0AAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 11:03:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ME5tI2DTlGHiagAAbx9fmQ (envelope-from ) for ; Wed, 17 Nov 2021 10:03:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4B6D3FE55 for ; Wed, 17 Nov 2021 11:03:12 +0100 (CET) Received: from localhost ([::1]:41484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnHmZ-0006O0-CD for larch@yhetil.org; Wed, 17 Nov 2021 05:03:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnHmQ-0006NL-4t for guix-patches@gnu.org; Wed, 17 Nov 2021 05:03:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnHmP-0006qC-T3 for guix-patches@gnu.org; Wed, 17 Nov 2021 05:03:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnHmP-000873-Pq for guix-patches@gnu.org; Wed, 17 Nov 2021 05:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51427] [PATCH] nix: libstore: Do not remove unused links when deleting specific items. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Nov 2021 10:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51427 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 51427@debbugs.gnu.org, Liliana Marie Prikler , Maxim Cournoyer Received: via spool by 51427-submit@debbugs.gnu.org id=B51427.163714335531128 (code B ref 51427); Wed, 17 Nov 2021 10:03:01 +0000 Received: (at 51427) by debbugs.gnu.org; 17 Nov 2021 10:02:35 +0000 Received: from localhost ([127.0.0.1]:60222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnHlz-00085y-An for submit@debbugs.gnu.org; Wed, 17 Nov 2021 05:02:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnHlx-00085T-6G for 51427@debbugs.gnu.org; Wed, 17 Nov 2021 05:02:34 -0500 Received: from [2001:470:142:3::e] (port=54330 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnHlr-0006ma-Uq; Wed, 17 Nov 2021 05:02:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=BBcC67BdbkyRGWVq/E75xxK2tt/tZKlxI8TNwKTzqAA=; b=IvvDLeuthw87u61Rn01L AUJ/FeZR61ZVrUIbI9cCgi9BDN6Uo9Io8fUTMJsW+AajzLSlubbAXOOw1u9O929yWPGD5sZ0yP+Ws wo4azj5VblIqFXus2/ayX6tvH+/GboH9d0UCIPg0XUdSWZcttBJ1bIbV1GSg9iwGhGMT99uMzfTkK n6JakGBoNVe+oSMtEj5uwUJCGLT1FBSv5aS1VbOiZMNPqopE5kV042W79YFyK23n1KCvZcTHolMPN 8HQICmBhrGsD3KXanE3RX/gLL0cVF8CvxgCrJc4A5yLXlGxiVvXAF+v+fa4WqgjFql1a4/sakpKLX PcW6KCFiRB9eeA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64340 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnHlr-00070V-IN; Wed, 17 Nov 2021 05:02:27 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211027034918.4591-1-maxim.cournoyer@gmail.com> <87o8795j61.fsf@gnu.org> <5c2dd60acfaa7d74b7554babb3e223bc855bac8a.camel@gmail.com> <87h7cxp9tl.fsf@gnu.org> <87sfwg7w9z.fsf@gmail.com> <87ee7tmdbd.fsf@gnu.org> <86k0hhnqss.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Brumaire an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 17 Nov 2021 11:02:25 +0100 In-Reply-To: <86k0hhnqss.fsf@gmail.com> (zimoun's message of "Tue, 09 Nov 2021 19:10:27 +0100") Message-ID: <871r3f2j7y.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637143392; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BBcC67BdbkyRGWVq/E75xxK2tt/tZKlxI8TNwKTzqAA=; b=QtHQJw+mWHkVXzKIOvOK4jhroipRFDV49FLP/H1xR2ZwDjU3uXbg02nm1fR72WhjymPerw EJEn6FCRmHef7U5+kBzWJmgtk83COXzw48Wv4xlqUySU3sFSVZBqGZgg+EJn0ggD6TRSfB PV5OOIGeEDglt2qYv3phUL8h0Xra25IQwWDr96hcAUviPk+uWHDaBlf/e7heGynn8KoGCo zem7p5lLE3BX33/C5FfPrJk5cXoLURET1kLLcrVSXdqkGRAZex97UHF71fLc5+ORhLsMvm RwLyzwN/E8dOE112GvWS9YSuZ5q5D7/Q7Av2uy5dTSwa/1nT3eU91QaV0hRiCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637143392; a=rsa-sha256; cv=none; b=iuXcGLnkito/rrBWDdtb+A1C7H5Ok+KuEsHUIfI2vfxs4U3ceSd2VaX4bdms8bH/VJlgb6 mNNCVmHAQjnPqNT7YQkmYwXvAS1NwcBWm58BwDJsQX5yWMWCDDOvWorPOhOptR/sfKabEJ 1UofMhTlmD4vwqz8J0xFOjV0/U/N1E0twRosODTnW3jS35gweIVaDd69L4DDW1lDsa416+ O7LWG6l9a0od1kdYfcw6NSRCPYOV3CNpbj1hf89z+1ZnTNlKfG+P5DU+RdzE9TbYFtd4BJ E8rfwwhca/yN4s3NlWCgEh5t/35mmRlIzgp9aIA+8fc1b3QqaUC5c9/c9SHMOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=IvvDLeut; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=IvvDLeut; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4B6D3FE55 X-Spam-Score: -3.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: UpMZ821Le+Zk Hi, zimoun skribis: > I have not checked the code, maybe I should start by that. ;-) Is it not > possible to simply skip the deleting phase when the option =E2=80=99-D=E2= =80=99 is used? No; like I wrote, it would have the effect of not deleting anything: https://issues.guix.gnu.org/51427#1 Needs more thought=E2=80=A6 Ludo=E2=80=99.