Skip to content

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

Merged
mattfarina merged 1 commit into
masterfrom
feat/lazy-concurrent-update-on-install
Jun 27, 2016
Merged

Glide install skips fetch when it is up to date#494
mattfarina merged 1 commit into
masterfrom
feat/lazy-concurrent-update-on-install

Conversation

@technosophos

Copy link
Copy Markdown
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
Comment thread repo/installer.go
return conf.Imports
}

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

Copy link
Copy Markdown
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