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

Free tree command from subdatasets dependency #628

Merged
merged 3 commits into from
Feb 6, 2024
Merged

Conversation

mih
Copy link
Member

@mih mih commented Feb 6, 2024

The previous implementation could now be made simpler, with fewer dependencies, using the new iterators. Here iter_submodules().

This use case also helped to identify suboptimal code organization. See individual commits.

mih added 3 commits February 6, 2024 18:22
It is practically a thin wrapper around `iter_gitworktree()` and
the set of dependencies is therefore identical. Spreading the
two across two packages is an invitation for circular dependencies.

Moreover, there are no dedicated tests in `repo_utils`.
Same import pattern as others. Also hook into docs.
@mih
Copy link
Member Author

mih commented Feb 6, 2024

Test failures are unrelated. QC complains about things not introduced here.

@mih mih merged commit 7a08a58 into datalad:main Feb 6, 2024
3 of 6 checks passed
@mih mih deleted the rftree branch February 6, 2024 18:27
@mih mih added this to the 1.3 milestone Mar 19, 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 this pull request may close these issues.

1 participant