Skip to content

Conversation

@skshetry
Copy link
Collaborator

@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
Collaborator 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
Contributor

@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