From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CNLRJi9HAGQfkQAAbAwnHQ (envelope-from ) for ; Thu, 02 Mar 2023 07:50:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iNXGJi9HAGQonAAA9RJhRA (envelope-from ) for ; Thu, 02 Mar 2023 07:50:23 +0100 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 3C5741DCBD for ; Thu, 2 Mar 2023 07:50:23 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Ug+IWltq; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677739823; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZVLwX4/1xFXlWKrQ4yvKTTpd60WlUVF7Li1hvaAaZXc=; b=gwfyfu/he+fOWNv4E7fzMgMlfcjiCtJLm4+UOAiE7OQz1OIqGUZDAloU/rJl38wR25Y8vs Gle5AidkKvCWDjerUGYIe4iG36LBAXUAwgBLVDLHyzFOras28UIomPHUD7jljQmpLbBILO L/mGMMWurtpwiT4EcpcX3kR0xS3oEt6tKNJDTd3Nz65hOBgi1oOcoGLM7i3eXbCraymqjs NDnVCtAne0rg4CKJM7uZDmXbnM1bIE/Fv+PSNhBb1w8SfQcUTWDDhzgYqNA1SzApFGZ4MO hF2wyPB8g9jVWsZEuFb/HScBPvGh9en+/9AQNx91odwKivt78wsuPv1bFZXa6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Ug+IWltq; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677739823; a=rsa-sha256; cv=none; b=MzBQl+EqZcCnNDo+nnh569VQBHUMOTXmyqOtcxh818gRB43aI3LbUwSkopmTXMtx67nS9U liwhbytIm2h+P1l0das8ix0Xysx/wQa/2Ek6xjrVX8Cu0C/QoCNry3nXbKe/eew19ektG5 giUMz9fuj3GNOa5WsMPHoReOkMDLZ0IAC9e8WgGNugYStjJIRlN+wk7grSCr9bkNAoj+o9 cu9KG7PchUCir+m2b1I/Z7gvW4H4kWyRTEGtvrB850g84mtoBUUAkUz9NtTYKeDq7goBnh 4cg8Sxg5h3Bb3VQ4W6gORZ7Asu5dCGupEFPXz3tqBUAIWdPVZ4p5YbGi4fpWXg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXclT-0003Di-6l; Thu, 02 Mar 2023 01:50:08 -0500 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 1pXclO-0003Cl-JC for guix-patches@gnu.org; Thu, 02 Mar 2023 01:50:03 -0500 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 1pXclO-0006re-9v for guix-patches@gnu.org; Thu, 02 Mar 2023 01:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXclO-0001Nx-5W for guix-patches@gnu.org; Thu, 02 Mar 2023 01:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61907] [PATCH] scripts: Expose 'allow-collisions' for 'guix upgrade' Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Mar 2023 06:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61907 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61907@debbugs.gnu.org Cc: Andy Tai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16777397845290 (code B ref -1); Thu, 02 Mar 2023 06:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Mar 2023 06:49:44 +0000 Received: from localhost ([127.0.0.1]:55611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXcl5-0001NF-NH for submit@debbugs.gnu.org; Thu, 02 Mar 2023 01:49:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:51202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXcl3-0001N7-Tc for submit@debbugs.gnu.org; Thu, 02 Mar 2023 01:49:42 -0500 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 1pXcl0-00031t-Qb for guix-patches@gnu.org; Thu, 02 Mar 2023 01:49:39 -0500 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXckz-0006oh-2v for guix-patches@gnu.org; Thu, 02 Mar 2023 01:49:38 -0500 Received: by mail-pj1-x102a.google.com with SMTP id x34so15921625pjj.0 for ; Wed, 01 Mar 2023 22:49:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677739775; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=ZVLwX4/1xFXlWKrQ4yvKTTpd60WlUVF7Li1hvaAaZXc=; b=Ug+IWltqvr/TUGIKFPShWk9EBMofy46p3zsOzBIdWMDYzygMEyEHpUMfGEwupaaL/J zTmXnbq+5O/HjiSbI02DybhQRz5FBo81uDLZf+fxNTgLRjA0ac0WLdZvdInxw7aVPkuJ pQqnEZpP5jQ6a97IIOYCCbZPjoUQhEM3WSgNQcugaJ5oD7UWDc3iDTA+O3WEnsxc8/IN UEcudCjWnagQCf4BT8GGKYD5ppnGNwUTXv0HOHPl6LEgmKM/inZLt27wpSqhDXeZvZd4 2rU/03sH+pih/EswrPkr9z1ZAnWTXAgh8HmWSaHYZ8pXxwymxbAE35TaL628k4TFWPhY 0wxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677739775; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZVLwX4/1xFXlWKrQ4yvKTTpd60WlUVF7Li1hvaAaZXc=; b=WnLxhVETpjCK2xs2zae10HNNlUZXguGZ08tXcu1G77FHML78xDEPuCLwvp0LFRxR6E bym0d0ujE+5JQjA7Oi6lE2tdydLLZuIi/l1V+IFUmfm+VOpMBN1NdQm2LK5KZ3/+VSBA 5yuIK9TDw9Y0d5y/vrvtvY5ZJCNVU8cjOZs2SHa+b1DYqPcJWfXi59zdjKihu1r+lvKh 5bDD8CxPCYCf8seoGlPORl1sD8jcA957IktlsnmRi2ZRJl8O7zBbXRYysWGg2i56rCfV SMZ1ZY6csg4A5QYN/KK/xsg04HAvbZrFAcXTm+uKIkQVLQKkKr7B6y7oEr73UFNqHP8o m/Jw== X-Gm-Message-State: AO0yUKXSk8mmBMj5B2fFPVHb4brYBMF5FMz+CVXtu/USXS2K8gETznWT WxtXivg8MRZ5o3h1a9Wtnd9tktQarww= X-Google-Smtp-Source: AK7set/4/uA2VLHJ1o1Lx0xNlATQjrAEVOfesspvVKPSVI/Cz9PyEWvJYH7yWrVAi+KJKSncKKKn1g== X-Received: by 2002:a17:902:dad1:b0:19d:461:9628 with SMTP id q17-20020a170902dad100b0019d04619628mr11063766plx.34.1677739775019; Wed, 01 Mar 2023 22:49:35 -0800 (PST) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id f4-20020a170902e98400b0019a8c9f7c4esm9518088plb.142.2023.03.01.22.49.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 22:49:34 -0800 (PST) From: Andy Tai Date: Wed, 1 Mar 2023 22:49:30 -0800 Message-Id: <20230302064930.7947-1-atai@atai.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=lichengtai@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: X-Migadu-Spam-Score: -1.19 X-Spam-Score: -1.19 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 3C5741DCBD 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 X-TUID: 5fRGBhjDEVkq * guix/scripts/install.scm: Expose 'allow-collisions' option of 'package' for 'upgrade' alias --- guix/scripts/upgrade.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guix/scripts/upgrade.scm b/guix/scripts/upgrade.scm index beb59cbe6f..423760a93b 100644 --- a/guix/scripts/upgrade.scm +++ b/guix/scripts/upgrade.scm @@ -36,6 +36,8 @@ (define (show-help) This is an alias for 'guix package -u'.\n")) (display (G_ " -p, --profile=PROFILE use PROFILE instead of the user's default profile")) + (display (G_ " + --allow-collisions do not treat collisions in the profile as an error")) (display (G_ " -v, --verbosity=LEVEL use the given verbosity LEVEL")) (display (G_ " @@ -65,7 +67,8 @@ (define %options ;; Preserve some of the 'guix package' options. (append (filter (lambda (option) (any (cut member <> (option-names option)) - '("profile" "dry-run" "verbosity" "do-not-upgrade"))) + '("profile" "dry-run" "verbosity" "do-not-upgrade" + "allow-collisions"))) %package-options) %transformation-options base-commit: ef7df2ca7bb212455f1d6bbef5bbf7b1ac5a189d prerequisite-patch-id: 5c2c505e1fefe02b0b8fe068d673dcc8fcc8b246 prerequisite-patch-id: b3de9e1babefba1a1903b848f185b9f8bcb224f4 prerequisite-patch-id: d827e9c76e13bae69214ec1b674b0f6bfc4bfb34 -- 2.39.1