-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove vendored tools for CI. #1220
Conversation
In preparation to vendor the dependencies of Trillian itself with `dep`, this change removes the existing contents of the vendor directory, and updates the .travis.yml to instead check out specific versions of the commands that were in the vendor directory (etcd, etcdcli, and protoc-gen-grpc-gateway) , matching the previously checked-in versions. This is because vendoring with `dep`, which is approximately representative of the direction Go as a whole is moving in, is incompatible with vendoring arbitrary commands.
I also did a bit of experimenting with Is it basically a I hoped that setting |
I believe that's the case, though I haven't been able to find
If you try to trick
Personally, I think the approach of checking out a specific commit for It's also worth noting that the Go team is actively working on defining how dependencies should work, and seeking feedback. So if you think managing binaries alongside vendored dependencies is a valuable use caes, now would be a great time to get in touch! |
I've been working on another branch that builds on this to vendor all the other dependencies. I'm running into the issue described at etcd-io/etcd#8692, which suggests that there may be a conflict between etcd's use of |
For the record: I think I found a way of dealing with the command-line tools problem with dep, via a couple of
|
However.... we're currently wondering whether we should leapfrog |
Is this obsolete, now that Go modules are the recommended way forward? |
Removing |
In preparation to vendor the dependencies of Trillian itself with
dep
,this change removes the existing contents of the vendor directory, and
updates the .travis.yml to instead check out specific versions of the
commands that were in the vendor directory (etcd, etcdcli, and
protoc-gen-grpc-gateway) , matching the previously checked-in versions.
This is because vendoring with
dep
, which is approximatelyrepresentative of the direction Go as a whole is moving in, is
incompatible with vendoring arbitrary commands.
A subsequent change will introduce vendoring of Trillian's non-command
dependencies.