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

cleanup RepoTree #4405

Merged
merged 1 commit into from
Aug 17, 2020
Merged

cleanup RepoTree #4405

merged 1 commit into from
Aug 17, 2020

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Aug 17, 2020

  1. Rename _get_tree_pairs to _get_tree_pair. (addresses RepoTree: add support for subrepo traversal #4381 (comment))
  2. Add comments, docstrings and type-annotations. (addresses RepoTree: add support for subrepo traversal #4381 (review))
  3. Rename variable: _discovered_subrepos to _subrepos_trie.
  4. Merge some nested ifs.

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

On top of #4403, will rebase after it's merged. See 9391f5b for review.
EDIT: Rebased

@skshetry skshetry added the refactoring Factoring and re-factoring label Aug 17, 2020
@skshetry skshetry added this to In progress in DVC 11 - 25 August 2020 via automation Aug 17, 2020
@skshetry skshetry self-assigned this Aug 17, 2020
@skshetry skshetry moved this from In progress to Review in progress in DVC 11 - 25 August 2020 Aug 17, 2020
1. Rename `_get_tree_pairs` to `_get_tree_pair`.
2. Add comments, docstrings and type-annotations.
3. Rename variable: `_discovered_subrepos` to `_subrepos_trie`.
4. Merge some nested ifs.
@skshetry skshetry merged commit 31e9cc2 into iterative:master Aug 17, 2020
DVC 11 - 25 August 2020 automation moved this from Review in progress to Done Aug 17, 2020
@skshetry skshetry deleted the repo-tree-cleanups branch August 17, 2020 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Factoring and re-factoring
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants