From 0fd17ceeb5df76a5a91d9871a7fe53db1676f50f Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Wed, 31 Jan 2024 20:35:03 +0000 Subject: [PATCH] Initial desire for `addurl --raw-except` --- doc/todo/addurl_--raw-except_REMOTEs__63__.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/todo/addurl_--raw-except_REMOTEs__63__.mdwn diff --git a/doc/todo/addurl_--raw-except_REMOTEs__63__.mdwn b/doc/todo/addurl_--raw-except_REMOTEs__63__.mdwn new file mode 100644 index 0000000000..757beb5f92 --- /dev/null +++ b/doc/todo/addurl_--raw-except_REMOTEs__63__.mdwn @@ -0,0 +1,5 @@ +In [backups2datalad](https://github.com/dandi/backups2datalad/pull/21#issuecomment-1917911205) we ran into a behavior that `addurl --raw` does not only not considers all the fancy handling for youtube and .torrents, but also disregards our (`git-annex-remote-datalad`) external special remote (although still CLAIMURLs it first). +I think generally we would still prefer to use `--raw` as to avoid possible side-effects when someone manages to add some `.torrent` file which we want to add as a file, not to download it. But we would like to explicitly allow interactions with our special remote. That is why I think the most viable solution would be to provide `--raw-except` which would be like `--raw` but allowing explicitly listed special remotes (or hardcoded keywords like `:torrents:`, `:youtube:`) to be handled if encountered. + +[[!meta author=yoh]] +[[!tag projects/dandi]]