You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: FAQ.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ Summarize the question and quote the reply, linking back to the original comment
34
34
*[What semver version should I use?](#what-semver-version-should-i-use)
35
35
*[Is it OK to make backwards-incompatible changes now?](#is-it-ok-to-make-backwards-incompatible-changes-now)
36
36
*[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)
If your dependers are using `dep`, this is not a concern, as `dep` takes care of
383
384
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