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

cache cloned git repositories #48

Open
ijc opened this issue May 31, 2017 · 1 comment
Open

cache cloned git repositories #48

ijc opened this issue May 31, 2017 · 1 comment

Comments

@ijc
Copy link
Contributor

ijc commented May 31, 2017

Running vndr with a vendor.conf which contains some large repositories can take quite some time to clone them all every time. This is particularly apparent when iterating adding transitive dependencies of a new package (or today when github is glitchy meaning at least one clone is bound to fail).

It'd be great if vndr could keep a cache of the repositories it has cloned and try to update them rather than reclone every time.

My preference would be to keep the cache in $XDG_CACHE_HOME/vndr (where $XDG_CACHE_HOME defaults to $HOME/.cache) so my existing backup rules will ignore the cache.

@roadrunner
Copy link

+1

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

No branches or pull requests

2 participants