This repository has been created during the distribits 2024 hackathon.
The challange has been posed as https://github.com/distribits/distribits-2024-hackathon/tree/14013438ad833878de26dcbd02d2dc29a9b4a40e/datalad-dtool-interoperability and discussed at distribits/distribits-2024-hackathon#10.
It suggests a simple extension to DataLad that creates a dtool dataset from a DataLad dataset.
Since
- dtool datasets have UUIDs, and DataLad datsets as well, and
- dtool datasets are immutable, while DataLad datasets are versioned.
we can export a dtool dataset as a "snapshot" of a versioned datalad dataset, with the unique mapping
dtool dataset UUID <-> (datalad dataset UUID, commit)
This is done with the
datalad export-dtool
command. For detailed usage information, see datalad export-dtool --help
See CONTRIBUTING.md if you are interested in internals or contributing to the project.