Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Establish repo_utils subpackage #597

Closed
mih opened this issue Jan 16, 2024 · 0 comments · Fixed by #592
Closed

Establish repo_utils subpackage #597

mih opened this issue Jan 16, 2024 · 0 comments · Fixed by #592

Comments

@mih
Copy link
Member

mih commented Jan 16, 2024

A design goal of datalad-next is to shed the dependency on the ancient Repo interface in datalad-core. It was established when DataLad used a more stateful representation of a Dataset/Repo, and when Git and git-annex where less powerful. Today it is largely an obstacle.

Nevertheless, there continues to be a need to have implementations for common query and manipulation tasks for repositories. We should establish a place for such implementation to promote their reuse, over reimplementations of near-copies.

#592 brings a whole range of internal helper that should be promoted to the public, and equipped with tests.

It would be worthwhile to not require a standard data structure (like a Dataset) for such helpers, but work with the bare necessities (often just a path) to promote wide applicability.

Moreover, it would be helpful to aim for generic implementations that work with git and git-annex repos alike, and also in adjusted mode repos -- unless there is a speed difference that justifies alternative implementations, or if there is a substantial complexity cost to pay.

mih added a commit to mih/datalad-next that referenced this issue Jan 16, 2024
mih added a commit to mih/datalad-next that referenced this issue Jan 17, 2024
@mih mih closed this as completed in 35a0c4c Jan 17, 2024
@mih mih closed this as completed in #592 Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant