Closed groob closed 5 years ago
The apache project reverted the changes but it's only a temporary reversal. Keeping the issue open to track until the Jira ticket is resolved.
I just tried to add osquery-go
to a project that uses govendor, and found that the thrift repo is still not available on git.apache.org
. Is there a new thrift import URL that could be used instead?
Don't use govendor, or update the govendor pins to match the module file settings from here.
I don't own the project, so the govendor part is out of my control :(
govendor isn't able to follow the redirect to clone the repo, so I'm not sure about the govendor pins suggestion (I'll go read docs for it)
$ govendor fetch -insecure github.com/kolide/osquery-go
# cd .; git clone git.apache.org/thrift /Users/jpeach/go/.cache/govendor/git.apache.org/thrift.git
fatal: repository 'git.apache.org/thrift' does not exist
Error: failed to create repo "git.apache.org/thrift" in "/Users/jpeach/go/.cache/govendor/git.apache.org/thrift.git" exit status 128
Failed to fetch package "git.apache.org/thrift.git/lib/go/thrift"
FWIW, I manually cloned the new thrift repo into my vendor directory and govendor accepted that.
https://issues.apache.org/jira/projects/THRIFT/issues/THRIFT-4542?filter=allopenissues
It looks like
dep ensure -vendor-only
still works, but attempting to update it fails