diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-07-16 00:01:17 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-07-23 00:22:25 +0200 |
commit | 8e31736b0a60919cc1bfc5dc22c395b09243484a (patch) | |
tree | 13998cb2b522e4aaea14e23aff1f772a22cd5431 /doc/contributing.texi | |
parent | a620c9d51d57c8277ec75892c7eee8f9c84fa96f (diff) |
guix system: 'reconfigure' disallows downgrades by default.
This is similar to what 9744cc7b4636fafb772c94adb8f05961b5b39f16 did for
'guix pull'.
* guix/scripts/system/reconfigure.scm (ensure-forward-reconfigure)
(warn-about-backward-reconfigure, channel-relations)
(check-forward-update): New procedures.
* guix/scripts/system.scm (perform-action): Add #:validate-reconfigure.
Call 'check-forward-update' when ACTION is 'reconfigure.
(%options, show-help): Add "--allow-downgrades".
(%default-options): Add 'validate-reconfigure' key.
(process-action): Pass #:validate-reconfigure to 'perform-action'.
* doc/guix.texi (Invoking guix system): Document 'guix system describe'
more prominently, and document '--allow-downgrades'.
Diffstat (limited to 'doc/contributing.texi')
0 files changed, 0 insertions, 0 deletions