Closed davidovich closed 3 years ago
Looks like it should be moved from github.com/pantheon-systems/autotag/autotag
to github.com/pantheon-systems/autotag/cmd/autotag
first of all.
@vtopc I believe that directory structure decisions are orthogonal to the dependency problem described in this issue, it is not required to have a cmd directory if you know that you will ever have only one binary for the repository. Even if you move to cmd, with the current set of dependencies, you will still get a failure.
If moving things is an option, I would even favor a root directory main.go
so go get github.com/pantheon-systems/autotag
would install the binary.
Hi,
Currently, If I do a
go get github.com/pantheon-systems/autotag/autotag
it will fail with this message:This is because replace directives are not honored by go get, and they will probably never will.
Removing the replace directive gives this error:
And this is caused by an old version of git-module which requires package
github.com/Unknwon/com
with an uppercaseU
.If interested, I have a small PR that brings the
github.com/gogs/git-module
(formerly github.com/gogits/git-module) to v0.8.3 and removes the need for a replace directive.