GNU bug report logs - #61907
[PATCH] scripts: Expose 'allow-collisions' for 'guix upgrade'

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Thu, 2 Mar 2023 06:50:02 UTC

Severity: normal

Tags: patch

Done: Josselin Poiret <dev <at> jpoiret.xyz>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61907 in the body.
You can then email your comments to 61907 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#61907; Package guix-patches. (Thu, 02 Mar 2023 06:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andy Tai <atai <at> atai.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 02 Mar 2023 06:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: guix-patches <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH] scripts: Expose 'allow-collisions' for 'guix upgrade'
Date: Wed,  1 Mar 2023 22:49:30 -0800
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#61907; Package guix-patches. (Tue, 04 Apr 2023 11:53:02 GMT) Full text and rfc822 format available.

Message #8 received at 61907 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Andy Tai <atai <at> atai.org>, 61907 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: Re: [bug#61907] [PATCH] scripts: Expose 'allow-collisions' for
 'guix upgrade'
Date: Tue, 04 Apr 2023 13:10:36 +0200
Hi,

On Wed, 01 Mar 2023 at 22:49, Andy Tai <atai <at> atai.org> wrote:
> * guix/scripts/install.scm: Expose 'allow-collisions' option of 'package'
> for 'upgrade' alias

I would apply the same explanation as Leo in [1] for #61864,

    [PATCH] scripts: expose 'allow-collisions' for 'guix install'

1: http://issues.guix.gnu.org/msgid/ZChh1GFQnKRBITmL <at> jasmine.lan


Cheers,
simon




Reply sent to Josselin Poiret <dev <at> jpoiret.xyz>:
You have taken responsibility. (Wed, 17 May 2023 21:18:02 GMT) Full text and rfc822 format available.

Notification sent to Andy Tai <atai <at> atai.org>:
bug acknowledged by developer. (Wed, 17 May 2023 21:18:02 GMT) Full text and rfc822 format available.

Message #13 received at 61907-done <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Simon Tournier <zimon.toutoune <at> gmail.com>, Andy Tai <atai <at> atai.org>,
 61907-done <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: Re: [bug#61907] [PATCH] scripts: Expose 'allow-collisions' for
 'guix upgrade'
Date: Wed, 17 May 2023 23:17:42 +0200
[Message part 1 (text/plain, inline)]
Hi Andy and Simon,

Simon Tournier <zimon.toutoune <at> gmail.com> writes:

> Hi,
>
> On Wed, 01 Mar 2023 at 22:49, Andy Tai <atai <at> atai.org> wrote:
>> * guix/scripts/install.scm: Expose 'allow-collisions' option of 'package'
>> for 'upgrade' alias
>
> I would apply the same explanation as Leo in [1] for #61864,
>
>     [PATCH] scripts: expose 'allow-collisions' for 'guix install'
>
> 1: http://issues.guix.gnu.org/msgid/ZChh1GFQnKRBITmL <at> jasmine.lan

I agree.  Closing, but feel free to continue the discussion.

Best,
-- 
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 15 Jun 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.