[PATCH] guix upgrade: Allow using --do-not-upgrade.

  • Done
  • quality assurance status badge
Details
3 participants
  • Jakub K?dzio?ka
  • Ludovic Courtès
  • Mathieu Othacehe
Owner
unassigned
Submitted by
Jakub K?dzio?ka
Severity
normal
J
J
Jakub K?dzio?ka wrote on 19 Aug 2020 23:38
(address . guix-patches@gnu.org)
20200819213839.13612-1-kuba@kadziolka.net
* guix/scripts/upgrade.scm (%options): Add "do-not-upgrade" to list of
options inherited from guix package.
---
guix/scripts/upgrade.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Toggle diff (22 lines)
diff --git a/guix/scripts/upgrade.scm b/guix/scripts/upgrade.scm
index 7f14a2fdbe..d2784669be 100644
--- a/guix/scripts/upgrade.scm
+++ b/guix/scripts/upgrade.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2020 Jakub K?dzio?ka <kuba@kadziolka.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -60,7 +61,7 @@ This is an alias for 'guix package -u'.\n"))
;; Preserve some of the 'guix package' options.
(append (filter (lambda (option)
(any (cut member <> (option-names option))
- '("profile" "dry-run" "verbosity")))
+ '("profile" "dry-run" "verbosity" "do-not-upgrade")))
%package-options)
%transformation-options
--
2.28.0
M
M
Mathieu Othacehe wrote on 24 Aug 2020 10:53
(name . Jakub K?dzio?ka)(address . kuba@kadziolka.net)(address . 42938@debbugs.gnu.org)
87lfi4e877.fsf@gnu.org
Hello Jakub,

Toggle quote (3 lines)
> * guix/scripts/upgrade.scm (%options): Add "do-not-upgrade" to list of
> options inherited from guix package.

This looks good to me.

Thanks,

Mathieu
L
L
Ludovic Courtès wrote on 26 Aug 2020 12:00
control message for bug #42938
(address . control@debbugs.gnu.org)
87a6yhwwuo.fsf@gnu.org
tags 42938 fixed
close 42938
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 42938@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 42938
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch