Go dependency management tool experiment (deprecated)
Перейти к файлу
Carolyn Van Slyck 66b1df0225 Detect the default branch in deduceConstraint when constraint is empty
I tweaked ensure so that the existing behavior of ensure X applies
the any (*) constraint.
2017-06-01 13:31:28 -05:00
cmd/dep Detect the default branch in deduceConstraint when constraint is empty 2017-06-01 13:31:28 -05:00
hack Fixed validate-vendor.bash to work with current dep implementation. 2017-05-25 13:18:26 +03:00
internal Guard against possibly stale local git repos 2017-05-31 21:03:46 -04:00
testdata Merge meta-PR to stabilize Gopkg metadata files 2017-05-26 23:52:34 -04:00
vendor/github.com dep ensure 2017-05-25 14:36:24 +03:00
.codeclimate.yml Exclude testdata dirs from codeclimate 2017-05-26 08:47:29 -04:00
.gitattributes Prevent problems comparing golden files on Windows 2017-02-20 23:45:11 -05:00
.gitignore Moving to want/got pattern and adding unit test coverage 2017-02-12 23:52:17 -05:00
.travis.yml #662 Move HOMEBREW_NO_AUTO_UPDATE to env section 2017-05-28 22:43:22 +02:00
AUTHORS Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
CODE_OF_CONDUCT.md (To Squash) Moving CODE_OF_CONDUCT.md ../ 2017-04-25 09:11:55 -06:00
CONTRIBUTING.md Add issue label links to CONRIBUTING.md 2017-05-30 09:20:52 -04:00
CONTRIBUTORS Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
FAQ.md Fix typo in FAQ.md 2017-05-27 11:25:38 -07:00
Gopkg.lock Update dep's lock inputs-digest 2017-05-31 23:46:53 +05:30
Gopkg.toml Update Gopkg.toml, Gopkg.lock to new forms 2017-05-24 22:35:41 -04:00
LICENSE Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
PATENTS Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
README.md Update README to reflect milestone reached 2017-05-30 09:20:38 -04:00
analyzer.go Merge branch 'master' into consolidate-fs-files 2017-05-12 20:24:32 +03: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 test: move test to internal/test 2017-05-11 08:57:58 +10: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 appveyor.yml: fix failure to detect windows build errors 2017-05-18 13:56:49 +10:00
context.go Merge branch 'master' into consolidate-fs-files 2017-05-12 20:24:32 +03:00
context_test.go Incorporate pr/538, change manifest prop names 2017-05-22 21:59:32 -04:00
lock.go Merge meta-PR to stabilize Gopkg metadata files 2017-05-26 23:52:34 -04:00
lock_test.go Merge meta-PR to stabilize Gopkg metadata files 2017-05-26 23:52:34 -04:00
manifest.go Match and warn on abbreviated git and hg revisions 2017-05-28 14:42:48 +01:00
manifest_test.go Match and warn on abbreviated git and hg revisions 2017-05-28 14:42:48 +01:00
project.go Merge branch 'master' into consolidate-fs-files 2017-05-23 19:39:35 +03:00
project_test.go Add a leading underscore to vendor backup 2017-05-20 10:22:09 -05:00
test_project_context_test.go move Logger into Ctx; restore logging 2017-05-11 11:16:36 -05:00
txn_writer.go Merge meta-PR to stabilize Gopkg metadata files 2017-05-26 23:52:34 -04:00
txn_writer_test.go Merge meta-PR to stabilize Gopkg metadata files 2017-05-26 23:52:34 -04:00

README.md

Dep

Linux: Build Status | Windows: Build status | Code Climate

Dep is a prototype dependency management tool. It requires Go 1.7 or newer to compile.

dep is NOT an official tool. Yet. Check out the Roadmap!

Current status

Alpha. Functionality is known to be broken, missing or incomplete. Changes are planned to the CLI commands soon. The repository is open to solicit feedback and contributions from the community. Please see below for feedback and contribution guidelines.

Gopkg.toml and Gopkg.lock have reached a stable structure, and it is safe to commit them in your projects. We plan to add more to these files, but we guarantee these changes will be backwards-compatible.

Context

Usage

Get the tool via

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

Typical usage on a new repo might be

$ dep init
$ dep ensure -update

To update a dependency to a new version, you might run

$ dep ensure github.com/pkg/errors@^0.8.0

See the help text for more detailed usage instructions.

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? Please check the existing issues and FAQ to see if your feedback has already been reported. If not, please file 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.