DATALAD-SIBLINGS(1)
β¨ NAME β¨
okay bestie, you're reading datalad siblings(1) from the General Commands Manual β the datalad siblings command, and its whole name-level job is manage sibling configuration. That's the name. That's the vibe. Slay. π
π¦ SYNOPSIS π¦
datalad siblings [-h] [-d DATASET] [-s NAME] [--url [URL]]
[--pushurl PUSHURL] [-D DESCRIPTION] [--fetch] [--as-common-
datasrc NAME] [--publish-depends SIBLINGNAME] [--publish-by-
default REFSPEC] [--annex-wanted EXPR] [--annex-required EXPR]
[--annex-group EXPR] [--annex-groupwanted EXPR] [--inherit]
[--no-annex-info] [-r] [-R LEVELS] [--version]
[{query|add|remove|configure|enable}]
π DESCRIPTION π
This command offers four different actions: 'query', 'add', 'remove', information about (all) known siblings. The 'add' and 'configure' actions are highly similar β the only difference is that adding a sibling with a name that's already registered will fail, whereas re-configuring a (different) sibling under a known name is not considered an error. 'enable' can be used to complete access configuration for non-Git sibling (aka git-annex special remotes). And lastly, the 'remove' action allows for the removal (or de-configuration) of a registered sibling. π«Ά
For each sibling (added, configured, or queried), all known sibling properties are reported. This includes:
"name"β Name of the sibling."path"β Absolute path of the dataset."url"β For regular siblings at minimum a"fetch"URL, possibly also a"pushurl".
Any further configuration will also be reported using a key that matches that in the Git configuration. iykyk β¨
By default, sibling information is rendered as one line per sibling following this scheme:
<dataset_path>: <sibling_name>(<+|->) [<access_specification]
where the + and - labels indicate the presence or absence of a remote data annex at a particular remote, and ACCESS_SPECIFICATION contains either a URL and/or a type label for the sibling. No cap, that little line is carrying a lot of lore. π
π OPTIONS π
{query|add|remove|configure|enable}β command action selection (see general documentation). Constraints: value must be one of ('query','add','remove','configure','enable') [Default:'query'].-h,--help,--help-npβ show this help message.--help-npforcefully disables the use of a pager for displaying the help message.-d DATASET,--dataset DATASETβ specify the dataset to configure. If no dataset is given, an attempt is made to identify the dataset based on the input and/or the current working directory. Constraints: Value must be aDatasetor a valid identifier of aDataset(e.g. a path) or value must beNONE.-s NAME,--name NAMEβ name of the sibling. For addition with path"URLs"and sibling removal this option is mandatory, otherwise the hostname part of a given URL is used as a default. This option can be used to limit'query'to a specific sibling. Constraints: value must be astringor value must beNONE.--url [URL]β the URL of or path to the dataset sibling named byNAME. For recursive operation it is required that a template string for building subdataset sibling URLs is given. List of currently available placeholders:%NAMEβ the name of the dataset, where slashes are replaced by dashes.
Constraints: value must be a string or value must be NONE.
--pushurl PUSHURLβ in case the URL cannot be used to publish to the dataset sibling, this option specifies a URL to be used instead. If nourlis given,PUSHURLserves asurlas well. Constraints: value must be astringor value must beNONE.-D DESCRIPTION,--description DESCRIPTIONβ short description to use for a dataset location. Its primary purpose is to help humans to identify a dataset copy (e.g.,"mike's dataset on lab server"). Note that when a dataset is published, this information becomes available on the remote side. Constraints: value must be astringor value must beNONE.--fetchβ fetch the sibling after configuration.--as-common-datasrc NAMEβ configure a sibling as a common data source of the dataset that can be automatically used by all consumers of the dataset. The sibling must be a regular Git remote with a configured HTTP(S) URL.--publish-depends SIBLINGNAMEβ add a dependency such that the given existing sibling is always published prior to the new sibling. This equals setting a configuration item'remote.SIBLINGNAME.datalad-publish-depends'. This option can be given more than once to configure multiple dependencies. Constraints: value must be astringor value must beNONE.--publish-by-default REFSPECβ add a refspec to be published to this sibling by default if nothing specified. Constraints: value must be astringor value must beNONE.--annex-wanted EXPRβ expression to specify'wanted'content for the repository/sibling. Seehttps://git-annex.branchable.com/git-annex-wanted/for more information. Constraints: value must be astringor value must beNONE.--annex-required EXPRβ expression to specify'required'content for the repository/sibling. Seehttps://git-annex.branchable.com/git-annex-required/for more information. Constraints: value must be astringor value must beNONE.--annex-group EXPRβ expression to specify a group for the repository. Seehttps://git-annex.branchable.com/git-annex-group/for more information. Constraints: value must be astringor value must beNONE.--annex-groupwanted EXPRβ expression for thegroupwanted. Makes sense only if--annex-wanted="groupwanted"andannex-groupis given too. Seehttps://git-annex.branchable.com/git-annex-groupwanted/for more information. Constraints: value must be astringor value must beNONE.--inheritβ if sibling is missing, inherit settings (git config,git annex wanted/group/groupwanted) from its super-dataset.--no-annex-infoβ Whether to query all information about the annex configurations of siblings. Can be disabled if speed is a concern.-r,--recursiveβ if set, recurse into potential subdatasets.-R LEVELS,--recursion-limit LEVELSβ limit recursion into subdatasets to the given number of levels. Constraints: value must be convertible to type'int'or value must beNONE.--versionβ show the module and its version which provides the command.
π AUTHORS π
datalad is developed by The DataLad Team and Contributors <team@datalad.org>. π
xoxo, your terminal bestie π β source/version: datalad siblings 1.1.5; date: 2025-06-15. periodt π
π¦ where this page comes from
- debian trixie: datalad 1.1.5-2.1 Β· MIT
- ubuntu resolute: datalad 1.1.5-2.1 Β· MIT
- ubuntu stonking: datalad 1.1.5-2.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms