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

Move Repo.collect and collect_granular to Repo.stage #4993

Merged
merged 2 commits into from
Nov 30, 2020

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Nov 30, 2020

I think these belong together.

  • 496f78a - Moved the collect and collect_granular to StageLoad.
  • e103458 - Also moved tests related to collect and collect_granular to test_stage_load.py.

No other tests have been added.

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

No other tests have been added.
Some replacements from `dvc.collect` and `dvc.collect_granular`
to `dvc.stage.*` has been made.
@skshetry skshetry added the refactoring Factoring and re-factoring label Nov 30, 2020
@skshetry skshetry added this to In progress in DVC 17 November - 1 December 2020 via automation Nov 30, 2020
@skshetry skshetry self-assigned this Nov 30, 2020
@@ -66,368 +50,3 @@ def test_destroy(tmp_dir, dvc, run_copy):
"dir/subdir/file",
]:
assert not System.is_symlink(tmp_dir / path)


def test_collect(tmp_dir, scm, dvc, run_copy):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these tests are moved to test_stage_load.py.

@skshetry skshetry added skip-changelog Skips changelog and removed skip-changelog Skips changelog labels Nov 30, 2020
@skshetry skshetry merged commit bc1d105 into iterative:master Nov 30, 2020
DVC 17 November - 1 December 2020 automation moved this from In progress to Done Nov 30, 2020
@skshetry skshetry deleted the move-collect-stages branch November 30, 2020 08:43
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