From d28be16019aafaf5d9b4abe15236aa628f906969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Ri=C3=9Fe?= Date: Mon, 15 Apr 2024 11:25:28 +0200 Subject: [PATCH] Use --fast instead of --relaxed This change is in anticipation of the VURL backend and the --verifiable option of git annex addurl, which would allow automatic checksum verification for every download after the first one, without needing a backend migration. The documentation of --verifiable states that it will only verify subsequent downloads against the recorded checksum when used with --fast, while a combination with --relaxed would always accept the content it gets from the web / special remote. --- src/datalad_cds/download_cds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datalad_cds/download_cds.py b/src/datalad_cds/download_cds.py index b364148..9335b0f 100644 --- a/src/datalad_cds/download_cds.py +++ b/src/datalad_cds/download_cds.py @@ -88,7 +88,7 @@ def __call__( url = parsed_spec.to_url() options = [] if lazy: - options.append("--relaxed") + options.append("--fast") ds.repo.add_url_to_file(pathobj, url, options=options) if save: msg = (