Section describing how to migrate a git-annex repo to datalad #890

Open
opened 2022-12-14 15:43:17 +00:00 by lukas-mertens · 4 comments
lukas-mertens commented 2022-12-14 15:43:17 +00:00 (Migrated from github.com)

As probably many others as well, I stumbled on datalad because my git-annex ran into scalability-issues: Too many files. Datalad is the perfect tool to split it up into multiple subdatasets.

Describe the solution you'd like

It would be nice to have a guide on how to migrate a git-annex repo and split it up into multiple subdatasets. What would be best-practices?

Describe alternatives you've considered

No response

Additional context

No response

### Is your feature request related to a problem? As probably many others as well, I stumbled on datalad because my git-annex ran into scalability-issues: Too many files. Datalad is the perfect tool to split it up into multiple subdatasets. ### Describe the solution you'd like It would be nice to have a guide on how to migrate a git-annex repo and split it up into multiple subdatasets. What would be best-practices? ### Describe alternatives you've considered _No response_ ### Additional context _No response_
welcome[bot] commented 2022-12-14 15:43:19 +00:00 (Migrated from github.com)

Welcome Banner (Image: CC-BY license, The Turing Way Community, & Scriberia. Zenodo. http://doi.org/10.5281/zenodo.3332808) Hi there, and welcome to the DataLad Handbook! 📙 👋 Thank you for filing an issue. We're excited to have your input and welcome your idea! 😊 If you haven't done so already, please make sure you check out our Code of Conduct.

![Welcome Banner](https://zenodo.org/api/iiif/v2/0c0188d3-d03c-4830-a6e3-00405f5c22fa:8ff47a85-7250-4d86-8e48-2f346b48b2c1:BannerWelcome.jpg/full/750,/0/default.jpg) (Image: CC-BY license, The Turing Way Community, & Scriberia. Zenodo. http://doi.org/10.5281/zenodo.3332808) Hi there, and welcome to the DataLad Handbook! :orange_book: :wave: Thank you for filing an issue. We're excited to have your input and welcome your idea! :blush: If you haven't done so already, please make sure you check out our [Code of Conduct](https://github.com/datalad-handbook/book/blob/master/CODE_OF_CONDUCT.md).
adswa commented 2022-12-14 16:09:39 +00:00 (Migrated from github.com)

Hi, thanks for opening this issue!
I agree this would be cool to have. A first hurdle to be addressed beforehand is a datalad command that achieves this, which doesn't yet exist. However, its been an idea for a while (https://github.com/datalad/datalad/issues/3554, https://github.com/datalad/datalad/issues/600), and there were recent use cases which made this a quite desired development target. The linked issues have some pointers and demos that at least sketch how its in principle possible with all the underlying tools, and I suspect that a to-be-created new command could land in datalad-next - I'll be sure to update this issue if that happens, but feel free to chime in or bump the discussions in those issues in the core repository, too. :)

Hi, thanks for opening this issue! I agree this would be cool to have. A first hurdle to be addressed beforehand is a datalad command that achieves this, which doesn't yet exist. However, its been an idea for a while (https://github.com/datalad/datalad/issues/3554, https://github.com/datalad/datalad/issues/600), and there were recent use cases which made this a quite desired development target. The linked issues have some pointers and demos that at least sketch how its in principle possible with all the underlying tools, and I suspect that a to-be-created new command could land in [datalad-next](https://github.com/datalad/datalad-next) - I'll be sure to update this issue if that happens, but feel free to chime in or bump the discussions in those issues in the core repository, too. :)
bpoldrack commented 2022-12-15 10:58:33 +00:00 (Migrated from github.com)

Just want to add an explicit pointer to datalad copy-file here, in case you are not aware, @lukas-mertens. It's not solving the general problem, but it may well be good enough for you to assemble a new dataset from existing ones.

Just want to add an explicit pointer to `datalad copy-file` here, in case you are not aware, @lukas-mertens. It's not solving the general problem, but it may well be good enough for you to assemble a new dataset from existing ones.
lukas-mertens commented 2022-12-15 12:12:13 +00:00 (Migrated from github.com)

@bpoldrack Exactly what I am using now, however I am now running into a performance problem which I wrote about in https://github.com/datalad/datalad/issues/7038

I am currently debugging it, thanks a lot anyways!

@bpoldrack Exactly what I am using now, however I am now running into a performance problem which I wrote about in https://github.com/datalad/datalad/issues/7038 I am currently debugging it, thanks a lot anyways!
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
handbook/book#890
No description provided.