import/update: cache git repos/clones
Open
Nobody has claimed this yet.
p1-important
performance
research
- Dominant language
- Python
- Stars
- 15.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
dvc import https://some/git/repo/ some_file
dvc update # should not re-clone, should only pull into existing cache
- related: #3438, #3473
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how dvc import handles Git URLs and how dvc update obtains the source, then review related issues #3438 and #3473 for the intended cache behavior. Done means a subsequent update reuses the existing clone and pulls into it instead of cloning again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100