You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A datalad clone --reckless ephemeral using an anonymous https URL makes origin annex-ignore, even though a git annex enableremote origin immediately afterwards works just fine.
What steps will reproduce the problem?
$ datalad clone --reckless ephemeral https://hub.datalad.org/distribits/recordings.git
[INFO ] RIA store unavailable. -caused by- file:///data/group/psyinf/distribits/distribits.ria/ria-layout-version not found, self.ria_store_url: ria+file:///data/group/psyinf/distribits/distribits.ria, self.store_base_pass: /data/group/psyinf/distribits/distribits.ria, self.store_base_pass_push: None, path: <class 'pathlib.PosixPath'> /data/group/psyinf/distribits/distribits.ria/ria-layout-version -caused by- [Errno 2] No such file or directory: '/data/group/psyinf/distribits/distribits.ria/ria-layout-version'
[WARNING] reckless=ephemeral mode: origin doesn't seem local: https://hub.datalad.org/distribits/recordings.git
| no symlinks being used
install(ok): /home/icg149/Playground/recordings (dataset)
$ cd recordings/
$ datalad get distribits2024/2024-04-05_12_unconference.webm
get(error): distribits2024/2024-04-05_12_unconference.webm (file) [not available; (Note that these git remotes have annex-ignore set: origin)]
[ble: exit 1]
$ git annex enableremote origin
enableremote (normal) origin ok
$ datalad get distribits2024/2024-04-05_12_unconference.webm
get(ok): distribits2024/2024-04-05_12_unconference.webm (file) [from origin...]
DataLad information
$ datalad --version
datalad 1.1.3
Additional context
Slightly off-topic: what I am really looking for is just the annex.private part of an ephemeral clone, not necessarily the symlinking hacks, but this is rather convoluted compared to providing a single option when cloning:
Slightly off-topic: what I am really looking for is just the annex.private part of an ephemeral clone, not necessarily the symlinking hacks, but this is rather convoluted compared to providing a single option when cloning:
Thanks for pointing that out. I got used to doing it this way and stopped thinking of it as convoluted, until recently I wanted to do the same from the Python API... and had to modify os.environ. Anyway - I resurrected #7247 which I think proposes just what you describe (--reckless private for clone) got stuck due to lack of agreement about the API, hopefully it will get accepted this time.
What is the problem?
A
datalad clone --reckless ephemeral
using an anonymous https URL makes originannex-ignore
, even though agit annex enableremote origin
immediately afterwards works just fine.What steps will reproduce the problem?
DataLad information
Additional context
Slightly off-topic: what I am really looking for is just the annex.private part of an ephemeral clone, not necessarily the symlinking hacks, but this is rather convoluted compared to providing a single option when cloning:
Maybe that should be made easier?
Have you had any success using DataLad before?
No response
The text was updated successfully, but these errors were encountered: