datalad_next.utils
Assorted utility functions
|
Requests-style authentication handler using DataLad credentials |
|
Compute any number of hashes as if computing just one |
|
helper similar to datalad.tests.utils_pytest.has_symlink_capability |
|
Wrapper around os.chdir which also adjusts environ['PWD'] |
|
Given not a list, would place it into a list. |
Helper to figure out/use versions of the externals (modules, cmdline tools, etc). |
|
|
Emit progress log messages |
Parse HTTP www-authenticate header |
|
|
Context manager for patching the process environment |
|
To remove git-annex .git it is needed to make all files and directories writable again first |
|
|
Determine properties of credentials special remote configuration |
|
|
|
Returns whether the environment needs to be patched with credentials |
|
Create an environment path for a particular remote type and credential |