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

Commit 63045be

Browse files
author
Dave Josephsen
committed
FAQ, anyway I *think* this is how it works #865)
1 parent 14e9281 commit 63045be

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

FAQ.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Summarize the question and quote the reply, linking back to the original comment
3434
* [What semver version should I use?](#what-semver-version-should-i-use)
3535
* [Is it OK to make backwards-incompatible changes now?](#is-it-ok-to-make-backwards-incompatible-changes-now)
3636
* [My dependers don't use `dep` yet. What should I do?](#my-dependers-dont-use-dep-yet-what-should-i-do)
37+
* [One or more of my dependencies doesn't tag its releases. What should I do?](#one-or-more-of-my-dependencies-dont-tag-their-releases-what-should-i-do)
3738

3839
___
3940

@@ -381,3 +382,11 @@ it can [cause
381382
problems](https://groups.google.com/d/msg/golang-nuts/AnMr9NL6dtc/UnyUUKcMCAAJ).
382383
If your dependers are using `dep`, this is not a concern, as `dep` takes care of
383384
stripping out nested `vendor` directories.
385+
386+
## One or more of my dependencies doesn't tag its releases. What should I do?
387+
388+
Simply add a constrainit to your manifest that specifies `"branch": "master"`
389+
for the dependency. Dep will deduce the current revision number of your
390+
dependencies master branch, and place it the lock-file (`Gopkg.lock`) for you.
391+
Anyone who clones your project will, therefore, wind up with same version of the dependency,
392+
until you `dep ensure -update`. See also: [What is the difference between Gopkg.toml and Gopkg.lock?](https://github.com/golang/dep/blob/master/FAQ.md#what-is-the-difference-between-gopkgtoml-the-manifest-and-gopkglock-the-lock)

0 commit comments

Comments
 (0)