[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/16: copy: Actually implement '--dry-run'.
From: |
guix-commits |
Subject: |
13/16: copy: Actually implement '--dry-run'. |
Date: |
Sun, 22 Mar 2020 07:43:14 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 81c0b52bd6301a7ded157b270097a8074c8f2d50
Author: Ludovic Courtès <address@hidden>
AuthorDate: Sun Mar 22 12:25:39 2020 +0100
copy: Actually implement '--dry-run'.
* guix/scripts/copy.scm (%options): Add '--dry-run'.
---
guix/scripts/copy.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/guix/scripts/copy.scm b/guix/scripts/copy.scm
index 2542df6..fdb684c 100644
--- a/guix/scripts/copy.scm
+++ b/guix/scripts/copy.scm
@@ -138,6 +138,10 @@ Copy ITEMS to or from the specified host over SSH.\n"))
(let ((level (string->number* arg)))
(alist-cons 'verbosity level
(alist-delete 'verbosity result)))))
+ (option '(#\n "dry-run") #f #f
+ (lambda (opt name arg result)
+ (alist-cons 'dry-run? #t (alist-cons 'graft? #f result))))
+
(option '(#\h "help") #f #f
(lambda args
(show-help)
- branch master updated (1550db6 -> 66a198c), guix-commits, 2020/03/22
- 02/16: store: Add 'with-build-handler'., guix-commits, 2020/03/22
- 05/16: deploy: Use 'with-build-handler'., guix-commits, 2020/03/22
- 01/16: syscalls: 'with-file-lock' re-grabs lock when reentering its dynamic extent., guix-commits, 2020/03/22
- 03/16: ui: Add a notification build handler., guix-commits, 2020/03/22
- 04/16: guix build: Use 'with-build-handler'., guix-commits, 2020/03/22
- 08/16: guix system: Use 'with-build-handler'., guix-commits, 2020/03/22
- 10/16: ui: 'show-what-to-build' returns two values, for builds and downloads., guix-commits, 2020/03/22
- 12/16: copy: Factorize 'with-store' & co., guix-commits, 2020/03/22
- 15/16: packages: 'package-field-location' handles missing source properties., guix-commits, 2020/03/22
- 13/16: copy: Actually implement '--dry-run'.,
guix-commits <=
- 07/16: guix package, pull: Use 'with-build-handler'., guix-commits, 2020/03/22
- 06/16: pack: Use 'with-build-handler'., guix-commits, 2020/03/22
- 09/16: ui: 'show-what-to-build' returns true when there are grafts to build., guix-commits, 2020/03/22
- 11/16: ui: 'build-notifier' invokes continuation when there's nothing to do., guix-commits, 2020/03/22
- 14/16: copy: Use 'with-build-handler'., guix-commits, 2020/03/22
- 16/16: hydra: evaluate: Use 'with-build-handler'., guix-commits, 2020/03/22