Open
Description
This becomes relevant after a merge of #106 and is related to datalad/datalad#4676
It should be easy enough with a pre-configured result hook, and a dataset procedure (cfg_osf_clone
). Matching is trivial: host of the git-url matches node
of the special remote configuration.
/tmp % datalad -f json_pp clone osf://q8xnk man
[INFO ] Scanning for unlocked files (this may take some time)
{
"action": "install",
"path": "/tmp/man",
"source": {
"default_destpath": "q8xnk",
"giturl": "osf://q8xnk",
"source": "osf://q8xnk",
"type": "giturl",
"version": null
},
"source_url": "osf://q8xnk",
"status": "ok",
"type": "dataset"
}
/tmp % cd man
/tmp/man (git)-[master] % git cat-file blob git-annex:remote.log
7784367b-69c6-483d-9564-67f840715890 autoenable=true encryption=none externaltype=osf name=osf-storage node=q8xnk type=external timestamp=1593366915.629687527s
Metadata
Metadata
Assignees
Labels
No labels