Go dependency management tool experiment (deprecated)
Перейти к файлу
Sunny 1550da37d8
Merge pull request #1869 from tinnefeld/issue-1452-collect-constraints-from-root-project
CollectConstraints from root project as well
2018-06-11 22:18:10 +05:30
.github update CODEOWNERS and MAINTAINERS with more @jmank88 2018-02-07 08:21:32 -06:00
cmd/dep Merge pull request #1869 from tinnefeld/issue-1452-collect-constraints-from-root-project 2018-06-11 22:18:10 +05:30
docs Clarify initial setup steps in new-project.md 2018-05-08 02:48:14 +02:00
gps Merge branch 'master' into cache 2018-06-04 13:04:06 -07:00
hack Handle CGO_ENABLED automatically 2018-05-01 22:23:26 -07:00
internal Add feature flag for import during solve 2018-02-24 20:20:34 -06:00
testdata Refer to new docs instead of GitHub 2018-02-11 20:49:24 +09:00
vendor Bump github.com/Masterminds/semver 2018-04-02 21:36:34 -05:00
website Merge pull request #1699 from darkowlzz/docs-search 2018-03-26 13:08:22 -04:00
.codeclimate.yml CI: trying to disable bad codeclimate checks 2018-01-03 09:56:08 -05:00
.gitattributes Prevent problems comparing golden files on Windows 2017-02-20 23:45:11 -05:00
.gitignore Fixes and cleanup to build script 2018-01-27 10:23:49 -08:00
.travis.yml Handle CGO_ENABLED automatically 2018-05-01 22:23:26 -07:00
AUTHORS Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
CHANGELOG.md Merge branch 'master' into cache 2018-06-04 13:04:06 -07:00
CODE_OF_CONDUCT.md (To Squash) Moving CODE_OF_CONDUCT.md ../ 2017-04-25 09:11:55 -06:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-05-05 00:53:27 -07:00
CONTRIBUTORS Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
Gopkg.lock Bump github.com/Masterminds/semver 2018-04-02 21:36:34 -05:00
Gopkg.toml Bump github.com/Masterminds/semver 2018-04-02 21:36:34 -05:00
LICENSE Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
MAINTAINERS.md update CODEOWNERS and MAINTAINERS with more @jmank88 2018-02-07 08:21:32 -06:00
Makefile Remove goline workaround 2018-05-01 22:28:33 -07:00
PATENTS Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
README.md change CI to 1.10.x; update docs 2018-02-21 17:13:45 -06:00
analyzer.go Move gps package out of internal 2017-11-10 17:02:30 -08:00
analyzer_notwindows_test.go Add Windows specific function for making a file unreadable during tests. 2017-05-02 02:34:40 -04:00
analyzer_test.go dep: add prune options to manifests 2017-11-17 10:25:07 +03:00
analyzer_windows_test.go Add Windows specific function for making a file unreadable during tests. 2017-05-02 02:34:40 -04:00
appveyor.yml trying to fix appveyor 2018-02-24 21:01:20 -06:00
context.go gps: source cache: enable opt-in persistent caching via DEPCACHEAGE env var 2018-02-24 08:23:55 -06:00
context_test.go do not create cachedir recursively 2017-12-08 09:02:18 +05:30
doc.go improve godoc; replace Loggers with embeded fields; refactor Ctx api 2017-06-07 08:46:44 -05:00
install.sh Resolve PR merge conflicts 2018-05-17 13:17:50 +05:30
lock.go dep: Use new line-per-item behaviors from TOML lib 2017-12-18 09:18:13 -05:00
lock_test.go Move gps package out of internal 2017-11-10 17:02:30 -08:00
manifest.go [FIX] Cleanup code 2018-02-11 15:20:44 +03:00
manifest_test.go [FIX] Cleanup code 2018-02-11 15:20:44 +03:00
project.go dep: Emit ptree from GetDirectDependencyNames() 2018-01-16 08:40:09 -08:00
project_test.go Move gps package out of internal 2017-11-10 17:02:30 -08:00
test_project_context_test.go Move gps package out of internal 2017-11-10 17:02:30 -08:00
txn_writer.go Refer to new docs instead of GitHub 2018-02-11 20:49:24 +09:00
txn_writer_test.go log.Logger api changes 2018-02-02 09:31:05 -06:00

README.md

Build Status Windows Build Status

Dep

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

dep is the official experiment, but not yet the official tool. Check out the Roadmap for more on what this means!

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.