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

targets from index #9259

Closed
wants to merge 1 commit into from
Closed

targets from index #9259

wants to merge 1 commit into from

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Mar 28, 2023

Related: #8768

Comment on lines +492 to +494
index, targets = index_from_targets(
self, targets, with_deps=with_deps, recursive=recursive
)
Copy link
Member Author

Choose a reason for hiding this comment

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

Opened for discussion. We short-circuit here to not load repo.index, and only load Index from targets.

@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.04 ⚠️

Comparison is base (4ee3271) 92.88% compared to head (76894bc) 92.85%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9259      +/-   ##
==========================================
- Coverage   92.88%   92.85%   -0.04%     
==========================================
  Files         457      459       +2     
  Lines       36956    37164     +208     
  Branches     5341     5260      -81     
==========================================
+ Hits        34325    34507     +182     
- Misses       2105     2124      +19     
- Partials      526      533       +7     
Impacted Files Coverage Δ
dvc/repo/__init__.py 93.55% <100.00%> (+1.75%) ⬆️
dvc/repo/index.py 91.43% <100.00%> (+0.52%) ⬆️

... and 53 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@skshetry skshetry requested a review from efiop March 29, 2023 01:51
@skshetry skshetry closed this Apr 24, 2023
@skshetry skshetry deleted the index-targets branch April 24, 2023 15:09
@efiop
Copy link
Contributor

efiop commented Apr 24, 2023

@skshetry Sorry, I should've commented here. So what are your thoughts on this, is this still needed/viable? Or do you have alternatives?

@dberenbaum
Copy link
Collaborator

@skshetry Should we revive this PR?

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.

3 participants