summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-01-11 11:44:26 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-11 12:14:38 +0100
commitfca43e14f70c0536668981eb1aed9e46a42de935 (patch)
tree52be03acca408a1667ea89c4f557404c0a06674f /gnu
parent88d710179808d96761f10d81913ee5aac8458fb3 (diff)
downloadguix-fca43e14f70c0536668981eb1aed9e46a42de935.tar.gz
refresh: Refactor option handling and '--recursive'.
This allows us to combine '--recursive' with other options (-u, -m,
etc.), turns off warnings when '--recursive' is used, and avoids the
hazards of I/O in the presence of multithreading.

* guix/scripts/refresh.scm (options->packages): New procedure, with code
formerly in 'guix-refresh'.
(refresh-recursive): Remove.
(guix-refresh)[keep-newest, core-package?, args-packages, packages]:
Remove.
[warn?]: Set to #f when RECURSIVE? is true.
Call 'options->packages' in monadic context.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions