From f36ba992ea88727584c74fa272c96df5fbd5991f Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Fri, 2 Feb 2024 16:27:20 +0000 Subject: [PATCH] todo for support of pushinsteadof --- ...__47__move_support_for_pushinsteadOf_.mdwn | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 doc/todo/copy__47__move_support_for_pushinsteadOf_.mdwn diff --git a/doc/todo/copy__47__move_support_for_pushinsteadOf_.mdwn b/doc/todo/copy__47__move_support_for_pushinsteadOf_.mdwn new file mode 100644 index 0000000000..48c440f1eb --- /dev/null +++ b/doc/todo/copy__47__move_support_for_pushinsteadOf_.mdwn @@ -0,0 +1,58 @@ +ATM + +files didn't `datalad push` as they should have due to existing settings of `wanted`: + +``` +❯ git annex wanted datasets.datalad.org +include=.datalad/* and (not metadata=distribution-restrictions=*) +❯ git annex find --not --in datasets.datalad.org . +crcns-2022-dataland.pdf +crcns-2022-dataland.png +crcns-2022-dataland.svg +❯ git annex metadata * +metadata crcns-2022-dataland.pdf + +ok +metadata crcns-2022-dataland.png + +ok +metadata crcns-2022-dataland.svg + +ok +❯ git annex copy --auto --to datasets.datalad.org * +❯ git annex version +git-annex version: 10.20231227-1~ndall+1 + +``` + +so I was confused... the reason was + +``` +❯ git annex copy --to datasets.datalad.org * +copy crcns-2022-dataland.pdf (to datasets.datalad.org...) + copying to non-ssh repo not supported +failed +copy crcns-2022-dataland.png (to datasets.datalad.org...) + copying to non-ssh repo not supported +failed +copy crcns-2022-dataland.svg (to datasets.datalad.org...) + copying to non-ssh repo not supported +failed +copy: 3 failed +``` + +wherever I have + +```shell +❯ git remote show -n datasets.datalad.org +* remote datasets.datalad.org + Fetch URL: https://datasets.datalad.org/datalad/artwork/.git + Push URL: falkor.dartmouth.edu:/srv/datasets.datalad.org/www/datalad/artwork/.git +... +``` + +and the use case is quite common for me and in particular for ReproNim/containers which is shared/adjusted in similar ways + +[[!meta author=yoh]] +[[!tag projects/repronim]] +