datalad
datalad copied to clipboard
configuration credentials.force-ask are taken from global and not specific repository
What is the problem?
I used datalad configuration credentials.force-ask=true
which was saved in .git/config
but
that was not taken in effect when l tried create sibling-github
Happens because datalad uses process wide config not repo specific config https://github.com/datalad/datalad/blob/master/datalad/downloaders/credentials.py#L188
What steps will reproduce the problem?
No response
Datalad information
0.16.5
Additional context
No response
Have you had any success using DataLad before?
No response
Sorry JB, I believe this got lost over OHBM and was then buried in COVID.
Happens because datalad uses process wide config not repo specific config https://github.com/datalad/datalad/blob/master/datalad/downloaders/credentials.py#L188
That makes sense, thanks for providing an error analysis already! Tagging @mih nevertheless, because he has worked on credentials most recently and might know secrets I don't - any other thoughts on this?