From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wJlNMPRhKGSwfAEASxT56A (envelope-from ) for ; Sat, 01 Apr 2023 18:55:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uNgmL/RhKGQJTAEAG6o9tA (envelope-from ) for ; Sat, 01 Apr 2023 18:55:16 +0200 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 6DF57110C0 for ; Sat, 1 Apr 2023 18:55:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pieVM-0003rZ-D4; Sat, 01 Apr 2023 12:55:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pieVK-0003r8-JX for guix-patches@gnu.org; Sat, 01 Apr 2023 12:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pieVK-0008Di-7f for guix-patches@gnu.org; Sat, 01 Apr 2023 12:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pieVK-0008P7-3i for guix-patches@gnu.org; Sat, 01 Apr 2023 12:55:02 -0400 Subject: bug#61864: [PATCH] scripts: expose 'allow-collisions' for 'guix install' Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 01 Apr 2023 16:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61864 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andy Tai Cc: 61864-done@debbugs.gnu.org Mail-Followup-To: 61864@debbugs.gnu.org, leo@famulari.name, atai@atai.org Received: via spool by 61864-done@debbugs.gnu.org id=D61864.168036809632263 (code D ref 61864); Sat, 01 Apr 2023 16:55:01 +0000 Received: (at 61864-done) by debbugs.gnu.org; 1 Apr 2023 16:54:56 +0000 Received: from localhost ([127.0.0.1]:38500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pieVE-0008OI-A0 for submit@debbugs.gnu.org; Sat, 01 Apr 2023 12:54:56 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:33351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pieVB-0008NP-S0 for 61864-done@debbugs.gnu.org; Sat, 01 Apr 2023 12:54:55 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id D68773200970; Sat, 1 Apr 2023 12:54:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 01 Apr 2023 12:54:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=mesmtp; t=1680368087; x=1680454487; bh=hWoj7r/iuOUI+YvcjFFDR8vmNiDrMpBboPgymc9lnQU=; b= q0jdXt4ySdkdMSn/npb0VJl8DBZdJXcN4f1ZKEwdru01WCxTbHHME5Sawza9/cc6 bQEhJZwAC6mBooNmbU+ki2cLPF9CLkKJFbXzwuS/nYl61G3O+wWIsHccpMbYoI3s dfmIbhIBnBXTHIVfvEYRROVBzdnlXjCh2KoVzNTy++4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680368087; x=1680454487; bh=hWoj7r/iuOUI+ YvcjFFDR8vmNiDrMpBboPgymc9lnQU=; b=an7chFi+KB25B7PUTYq/Zexj5qaZA eBHLYqVwhjs91Iqeup9DEKFQBomipDo/2oP+B1+lg5QLevFjroIEvqAbdUnjCJyP Jm1pSXz7HWLfaOH/ky+JLdgX3EgkCLB+i8yHnllb/v8g/r5ttH0m2J1P91y6RkJF NzYIOqd8FhImSodt5wG1FB0hS3/11zGpdZJk29EITK6Wxf5fhjglHZmcGiaohNzc L2HyfZnLhmYPd7XZ6DBzApmJPP4IcTdyHDnvtPMG+3gZqBHH5VOVVt7/T6YkJbFG voyhlOOrvVhYny4iknWx+KtJ7RQsfZtpGX8jyBfeGwLsTdAKI6EdC6hCw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeifedguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvgho ucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrg htthgvrhhnpeeiteduheefkeeufeelgeduhfejgfelheefleeuhfeffffgueduleehvdej leeiteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 1 Apr 2023 12:54:46 -0400 (EDT) Date: Sat, 1 Apr 2023 12:54:44 -0400 From: Leo Famulari Message-ID: References: <20230228062846.19516-1-atai@atai.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680368116; a=rsa-sha256; cv=none; b=mZePB7l0T6svIZOjIXSnjfjT+P0COqKh92DkWZ1PdBgi8qlHOA6qdv+sknZHexf18ghCtb hKwh3pOGaD1K32B4wBceRn+FJWzor3GgSuCn9nQ5GrYlR0Bq3JjrsQYTyEyiW/1ZYxlmnq WSTdP7wSGaPWHNFq3+QeNii4zyuwIhkP20d/fOix0fnuIIvx/ne5LcwMf4B0QIuQQxYWic d5Brb7L8OE23pvg0SKEOWo14T/x6+Kfyy7GBtbYor5S9FSlMdqrOIaGru3kJX0H+T54OIk IpGEsDWvW2gL0cgqvjd+Bi0vv0cauZp/4wDS7tUDLvUaV4Pe1Tb/dI5p4bkMeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=q0jdXt4y; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=an7chFi+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680368116; 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:resent-to: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=hWoj7r/iuOUI+YvcjFFDR8vmNiDrMpBboPgymc9lnQU=; b=g740tIsLkGHPv2mkbQz/rvxGBh18WJ5oTlUUozJfv4LNGcUks464LYYbpfF0DHoZ+pK8ar SvYJgovVwZqJJ1PDanpiv7wMOgz6OMY7GvYsr2NboS9sHYxuNyGUHck1y22l22c1VwSFhH Mj3tM3guYavVgFjE7timvI5B1LWplVqIsO62AWQOX6+d1Sw3JTFCri9mffEcehYR+Ns7S/ GKQQT01DwN0oDMzwszPv8C2LNYoHIFeFgS0WlJSsu1XtINFr54QJS7T2ANhoCw2YvkYj3A szQ7YNmVNXfYE/H1hwbb9hWHi0/s4qgdSZXz7+sb1dUfHZsXZHf7yfM+9S0lHQ== X-Migadu-Spam-Score: 0.67 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=q0jdXt4y; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=an7chFi+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Spam-Score: 0.67 X-Migadu-Queue-Id: 6DF57110C0 X-TUID: EgkCllVEl48e On Thu, Mar 02, 2023 at 12:38:45PM -0800, Andy Tai wrote: > I run into collisions in profile from time to time and I can resolve it via > > guix package --allow-collosions -i (or -u) > > so it is useful to make that available in the two "alias" commands as well I see, that makes sense. Sorry I'm slow to reply, I thought about it for a while. Allowing profile collisions is a risky action that can cause subtle and hard to diagnose bugs, and it often is done without understanding the consequences. In my experience, collisions are often allowed by people who don't understand the negative effects of collisions, or how profiles are constructed. When reported, the consequent problems can take up a lot of time for the people trying to help. Because of those reasons, I prefer to only expose this option in `guix package`, which is a more advanced interface. My hope is that segregating the option like this will discourage use of '--allow-collisions' and prevent an increase in bug reports of the "user error" type. If you disagree, please feel free to reopen the bug and optionally CC some other reviewers, or bring it up on IRC.