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

Commit

Permalink
Further review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Bourgon authored and sdboyer committed Jan 4, 2017
1 parent f7f4d7d commit 3d96894
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions ensure.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Package spec:
Examples:
dep ensure Populate vendor from existing manifest and lock
dep ensure github.com/heroku/rollrus@^0.9.1 Update a specific dependency to a specific version
dep ensure Populate vendor from existing manifest and lock
dep ensure github.com/pkg/foo@^1.0.1 Update a specific dependency to a specific version
For more detailed usage examples, see dep ensure -examples.
`
Expand All @@ -47,22 +47,22 @@ dep ensure
specified there. Otherwise, use the most recent version that can satisfy the
constraints in the manifest file.
dep ensure github.com/heroku/rollrus@^0.9.1
dep ensure github.com/pkg/foo@^1.0.1
Same as above, but choose any release >= 0.9.1, < 1.0.0. This form of
constraint strikes a good balance of safety and flexibility, and should be
preferred for libraries.
Same as above, but choose any release >= 1.0.1, < 2.0.0. If a constraint was
previously set in the manifest, this resets it. This form of constraint
strikes a good balance of safety and flexibility, and should be preferred
for libraries.
dep ensure github.com/heroku/rollrus@~0.9.0
dep ensure github.com/pkg/foo@~1.0.1
Same as above, but choose any release matching 0.9.x, preferring latest. If
a constraint was previously set in the manifest, this resets it.
Same as above, but choose any release matching 1.0.x, preferring latest.
dep ensure github.com/heroku/rollrus:git.internal.com/foo/bar
dep ensure github.com/pkg/foo:git.internal.com/alt/foo
Fetch the dependency from a different location.
dep ensure -override github.com/heroku/rollrus@^0.9.1
dep ensure -override github.com/pkg/foo@^1.0.1
Forcefully and transitively override any constraint for this dependency.
This can inadvertantly make your dependency graph unsolvable; use sparingly.
Expand Down

0 comments on commit 3d96894

Please sign in to comment.