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

Add gps to github.com/golang/dep/gps #410

Closed
wants to merge 1,158 commits into from
Closed

Conversation

krisnova
Copy link
Contributor

@krisnova krisnova commented Apr 21, 2017

DEPRECATED PULL REQUEST

New PR: #453

sdboyer and others added 30 commits April 3, 2017 15:07
There are intermittent failures of TestMonitoredCmd that appear to be
caused by Appveyor starting created subprocesses too slowly. This change
increases that time window from 200ms to 500ms in the hopes that the
failures will go away, or at least become less frequent.
This more accurately reflects how we were actually using the method for
some time, as well as what we'd more recently modified the method to do.
Some tests in vcs_source_test did not always delete the temp dir they
created. The git-source tests for example only removed the temp dirs for
certain failure conditions, but not when the test passed. This is fixed
by deferring the cleanup function right after creating the temp dirs for
each test.
When running tests, calling t.Errorf followed by a t.FailNow is pretty
much the same as just calling t.Fatalf. I've also change a couple of
cute error messages.
This makes the method sets redundant, but sourceBridge shouldn't
have a Release() method because it only ever deals with a single solve
run. We could have a private unexported interface covering the
intersection of the method sets, but then we'd lose out on godoc.
Repeating the methods is the least-bad of our options.
On Windows, we're unable to distinguish between symlinks and junctions. Deleting
junctions is dangerous and appears to be able to delete the underlying folder,
not just the junction that's pointing to a folder. That's unacceptably
dangerous: a malicious repo could contain a junction named 'vendor' pointing at
'C:\\' and we'd delete all the user's data.
Add Release() to the SourceManager interface
It's too hard to create junctions with permissions that let filepath.Walk
process them.
Follow symlinks when stripping vendor directories
mattn and others added 24 commits April 21, 2017 12:18
github.com/pelletier/go-toml@fee7787d3f811af92276f5ff10107092e95b7a1d
 - Can't use latest release, it has a show-stopping bug in ToTomlString
github.com/pelletier/go-buffruneio@v0.2.0
Validate that packages imported in an ignored package are not
included in the manifest or lock.
@krisnova krisnova closed this Apr 21, 2017
krisnova added a commit to krisnova/dep that referenced this pull request Apr 21, 2017
Revert a handful of substitutions
Remove gps/CONTRIBUTING.md (Can port/replace later)
Remove gps/README.md (Can port/replace later)

Original code review: golang#410 (review)
This was referenced Apr 21, 2017
ibrasho pushed a commit to ibrasho-forks/dep that referenced this pull request May 10, 2017
Revert a handful of substitutions
Remove gps/CONTRIBUTING.md (Can port/replace later)
Remove gps/README.md (Can port/replace later)

Original code review: golang#410 (review)
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.