Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Feature Request: Don't fetch source updates if needed revision is found locally #1546

Closed
mattfarina opened this issue Jan 18, 2018 · 2 comments

Comments

@mattfarina
Copy link

Dep takes a long time to install packages when the cache already has the needed commits. Please correct me if I'm wrong but, it appears dep is going out to the network for updates even when it may not need to.

For the case the Gopkg.lock is present, dep ensure is being run, and nothing is being updated (the lock file isn't changing) dep still goes out to the network.

Is there a way the needed commit could be checked for in the cache and if present skip updating?

@jmank88
Copy link
Collaborator

jmank88 commented Jan 18, 2018

We've been working towards a persistent cache in #431, currently at #1250 and on hold until the next release. Preliminary results show significant speed-up.

@jmank88 jmank88 closed this as completed Jan 18, 2018
@maps90
Copy link

maps90 commented Jan 31, 2018

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants