datalad subdatasets(1) | General Commands Manual | datalad subdatasets(1) |
datalad subdatasets - report subdatasets and their properties.
datalad subdatasets [-h] [-d DATASET] [--fulfilled FULFILLED] [-r] [-R LEVELS] [--contains PATH] [--bottomup] [--set-property NAME VALUE] [--delete-property NAME] [PATH ...]
The following properties are reported (if possible) for each matching subdataset record.
"name"
Name of the subdataset in the parent (often identical with the
relative path in the parent dataset)
"path"
Absolute path to the subdataset
"parentds"
Absolute path to the parent dataset
"gitshasum"
SHA1 of the subdataset commit recorded in the parent dataset
"state"
Condition of the subdataset: 'clean', 'modified', 'absent', 'conflict'
as reported by `git submodule`
"gitmodule_url"
URL of the subdataset recorded in the parent
"gitmodule_name"
Name of the subdataset recorded in the parent
"gitmodule_<label>"
Any additional configuration property on record.
Performance note: Property modification, requesting BOTTOMUP reporting order, or a particular numerical RECURSION_LIMIT implies an internal switch to an alternative query implementation for recursive query that is more flexible, but also notably slower (performs one call to Git per dataset versus a single call for all combined).
The following properties for subdatasets are recognized by DataLad (without the 'gitmodule_' prefix that is used in the query results):
"datalad-recursiveinstall"
If set to 'skip', the respective subdataset is skipped when DataLad
is recursively installing its superdataset. However, the subdataset
remains installable when explicitly requested, and no other features
are impaired.
"datalad-url"
If a subdataset was originally established by cloning, 'datalad-url'
records the URL that was used to do so. This might be different from
'url' if the URL contains datalad specific pieces like any URL of the
form "ria+<some protocol>...".
datalad is developed by The DataLad Team and Contributors <team@datalad.org>.
2021-02-04 | datalad subdatasets 0.14.0 |