datalad / datalad-ria

Adds functionality for RIA stores to DataLad
http://datalad.org
Other
0 stars 1 forks source link

create-sibling-ria --existing reconfigure --shared does not rerun `git-init` #43

Open mih opened 2 years ago

mih commented 2 years ago

Similar to https://github.com/datalad/datalad-ria/issues/42 running such a command will not actually do anything about a provided --shared flag.

I would have expected that it reruns git init --shared on the remote end, but nothing like that happens.

When I use the command with no pre-existing repo at the remote, I get the expected result.

bpoldrack commented 1 year ago

PR datalad/datalad#7095 fixes, that for local stores the re-initialization of the repo when existing=reconfigure wasn't executed (but was for SSH).

As described in that PR's description there's a remaining issue with that:

git init --bare --shared=... does not seem to change the permissions for existing files. So, the result of that call in an empty dir vs the result of two subsequent git init (one w/o the shared option and a second one with it) are not identical.