ENH: datalad.locations.extra-procedures to provide extra location(s) for procedures #5156
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This could be useful to point to extra locations for procedures which might
reside in some subdataset, or an alternative to system/user-wide locations.
E.g. it provides a solution IMHO to #4802 (alternative to #4803) which avoids need for some new semantic of --dataset in "create" command, thus keeping it possible to do
datalad -c datalad.locations.extra-procedures=$PWD/procedures create -d . -c mine sub/
as well as
datalad -c datalad.locations.extra-procedures=$PWD/procedures create -d ^ -c mine sub/
if current dataset is a subdataset within hierarchy. Or point that location to any other arbitrary location (within subdataset, directory, anywhere).
Some inconvenience for use through Python API, for which I filed
#5155
TODOs