[FEATURE] Cache repositories
Closed this issue · 2 comments
Feature summary
Allow viash to cache repositories within the same viash ns build, but potentially also outside of it
Feature description
Right now, using the same repository in multiple dependencies seems to cause Viash to clone the repository multiple times. Ideally, the repository should only need to be cloned once per viash ns build, or even fewer times if we allow cross-build caching.
Why is this feature beneficial?
Large repositories might take a while to clone.
Alternatives considered
No response
Possible solution
No response
Confirmation
- I have searched the existing issues to make sure this is not a duplicate request.
- I have provided clear and concise information about the feature.
I'd expect that repository caching within the same viash ns build would work already. If you have an example where it isn't the case I'm happy to take a look what's going on.
The code is fundamentally changed in Viash 0.9, so I expect any issues that was present should be fixed, or else replaced with different and unrelated new issues ;)