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

Glide install skips fetch when it is up to date #494

Merged
merged 1 commit into from
Jun 27, 2016

Conversation

technosophos
Copy link
Member

For 'glide install', this lazily computes whether the existing vendor
checkouts are already at the right commit. If they are, those deps are
skipped during the concurrent update.

This is safe to do in install because the dependency graph is already
computed, so there should never be a case where the glide.lock file does
not contain a negotiable dependency graph.

For 'glide install', this lazily computes whether the existing vendor
checkouts are already at the right commit. If they are, those deps are
skipped during the concurrent update.

This is safe to do in install because the dependency graph is already
computed, so there should never be a case where the glide.lock file does
not contain a negotiable dependency graph.
@technosophos technosophos force-pushed the feat/lazy-concurrent-update-on-install branch from de28cf5 to 6a3ace6 Compare June 27, 2016 20:15
@mattfarina mattfarina merged commit e001846 into master Jun 27, 2016
@mattfarina mattfarina deleted the feat/lazy-concurrent-update-on-install branch June 27, 2016 20:56
@@ -302,6 +302,43 @@ func (i *Installer) List(conf *cfg.Config) []*cfg.Dependency {
return conf.Imports
}

// LazyConcurrentUpdate updates only deps that are not already checkout out at the right version.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh, saw this too late - s/checkout out/checked out/

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