Go Other
Clone or download
sdboyer gps: Handle case with fewer projects on RHS
This is a more generalized version of the fix from #1972.

By virtue of being more general, it also fixes #1945.
Latest commit 6b79ccc Aug 3, 2018
Permalink
Failed to load latest commit information.
.github docs: hash-inputs is gone, nix it from PR template Jul 11, 2018
cmd/dep v0.5.0 release! Jul 26, 2018
docs add documentation explaining how to uninstall (#1954) Jul 24, 2018
gps gps: Handle case with fewer projects on RHS Aug 4, 2018
hack ci: Don't validate license in testdata dir Jul 21, 2018
internal test: Cleanup detritus, fix doc comments Jul 24, 2018
testdata dep: Update scads of tests Jul 3, 2018
vendor dep: Update go-toml to v1.2.0 Jul 11, 2018
website v0.5.0 release! Jul 26, 2018
.codeclimate.yml CI: trying to disable bad codeclimate checks Jan 3, 2018
.gitattributes Prevent problems comparing golden files on Windows Feb 21, 2017
.gitignore Fixes and cleanup to build script Jan 27, 2018
.travis.yml Add ppc to travis release script Aug 4, 2018
AUTHORS Add repo boilerplate and readme Oct 7, 2016
CHANGELOG.md gps: Handle case with fewer projects on RHS Aug 4, 2018
CODE_OF_CONDUCT.md (To Squash) Moving CODE_OF_CONDUCT.md ../ Apr 25, 2017
CONTRIBUTING.md Update CONTRIBUTING.md May 5, 2018
CONTRIBUTORS Add repo boilerplate and readme Oct 7, 2016
Gopkg.lock dep: Don't try to look up known-removed projects Jul 11, 2018
Gopkg.toml Bump github.com/Masterminds/semver Apr 3, 2018
LICENSE Add repo boilerplate and readme Oct 7, 2016
MAINTAINERS.md update CODEOWNERS and MAINTAINERS with more @jmank88 Feb 7, 2018
Makefile ci: Use dep check to check dep Jul 21, 2018
PATENTS Add repo boilerplate and readme Oct 7, 2016
README.md v0.5.0 release! Jul 26, 2018
analyzer.go Move gps package out of internal Nov 11, 2017
analyzer_notwindows_test.go Add Windows specific function for making a file unreadable during tests. May 2, 2017
analyzer_test.go dep: add prune options to manifests Nov 17, 2017
analyzer_windows_test.go Add Windows specific function for making a file unreadable during tests. May 2, 2017
appveyor.yml trying to fix appveyor Feb 25, 2018
context.go context.go: Clean GOPATH with filepath.Clean() before returning Jul 18, 2018
context_test.go context.go: Clean GOPATH with filepath.Clean() before returning Jul 18, 2018
doc.go improve godoc; replace Loggers with embeded fields; refactor Ctx api Jun 7, 2017
install.sh Removes "echo" statement introduced with commit 918c75 Jul 12, 2018
lock.go dep: Update scads of tests Jul 3, 2018
lock_test.go dep: Get DeltaWriter into a working state Jul 3, 2018
manifest.go dep: Introduce noverify field to Gopkg.toml Jul 24, 2018
manifest_test.go [FIX] Cleanup code Feb 11, 2018
project.go dep: Introduce dep check subcommand Jul 12, 2018
project_test.go dep: Update scads of tests Jul 3, 2018
test_project_context_test.go Move gps package out of internal Nov 11, 2017
txn_writer.go v0.5.0 release! Jul 26, 2018
txn_writer_test.go dep: Make SafeWriter use status map for OnChanged Jul 21, 2018

README.md

Build Status Windows Build Status

Dep

dep is a dependency management tool for Go. It requires Go 1.9 or newer to compile.

dep was the "official experiment." The Go toolchain, as of 1.11, has (experimentally) adopted an approach that sharply diverges from dep. As a result, we are continuing development of dep, but gearing work primarily towards the development of an alternative prototype for versioning behavior in the toolchain.

For guides and reference materials about dep, see the documentation.

Installation

It is strongly recommended that you use a released version. Release binaries are available on the releases page.

On MacOS you can install or upgrade to the latest released version with Homebrew:

$ brew install dep
$ brew upgrade dep

On other platforms you can use the install.sh script:

$ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

It will install into your $GOPATH/bin directory by default or any other directory you specify using the INSTALL_DIRECTORY environment variable.

If your platform is not supported, you'll need to build it manually or let the team know and we'll consider adding your platform to the release builds.

If you're interested in hacking on dep, you can install via go get:

go get -u github.com/golang/dep/cmd/dep

Feedback

Feedback is greatly appreciated. At this stage, the maintainers are most interested in feedback centered on the user experience (UX) of the tool. Do you have workflows that the tool supports well, or doesn't support at all? Do any of the commands have surprising effects, output, or results? Let us know by filing an issue, describing what you did or wanted to do, what you expected to happen, and what actually happened.

Contributing

Contributions are greatly appreciated. The maintainers actively manage the issues list, and try to highlight issues suitable for newcomers. The project follows the typical GitHub pull request model. See CONTRIBUTING.md for more details. Before starting any work, please either comment on an existing issue, or file a new one.