all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#61907] [PATCH] scripts: Expose 'allow-collisions' for 'guix upgrade'
@ 2023-03-02  6:49 Andy Tai
  2023-04-04 11:10 ` Simon Tournier
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Tai @ 2023-03-02  6:49 UTC (permalink / raw)
  To: 61907; +Cc: Andy Tai

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#61907] [PATCH] scripts: Expose 'allow-collisions' for 'guix upgrade'
  2023-03-02  6:49 [bug#61907] [PATCH] scripts: Expose 'allow-collisions' for 'guix upgrade' Andy Tai
@ 2023-04-04 11:10 ` Simon Tournier
  2023-05-17 21:17   ` bug#61907: " Josselin Poiret via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Tournier @ 2023-04-04 11:10 UTC (permalink / raw)
  To: Andy Tai, 61907; +Cc: Andy Tai

Hi,

On Wed, 01 Mar 2023 at 22:49, Andy Tai <atai@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@jasmine.lan


Cheers,
simon




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#61907: [PATCH] scripts: Expose 'allow-collisions' for 'guix upgrade'
  2023-04-04 11:10 ` Simon Tournier
@ 2023-05-17 21:17   ` Josselin Poiret via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: Josselin Poiret via Guix-patches via @ 2023-05-17 21:17 UTC (permalink / raw)
  To: Simon Tournier, Andy Tai, 61907-done; +Cc: Andy Tai

[-- Attachment #1: Type: text/plain, Size: 557 bytes --]

Hi Andy and Simon,

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

> Hi,
>
> On Wed, 01 Mar 2023 at 22:49, Andy Tai <atai@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@jasmine.lan

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

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-17 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02  6:49 [bug#61907] [PATCH] scripts: Expose 'allow-collisions' for 'guix upgrade' Andy Tai
2023-04-04 11:10 ` Simon Tournier
2023-05-17 21:17   ` bug#61907: " Josselin Poiret via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.