When I try to get glide to install github.com/elastic/go-elasticsearch to vendor/github.com/elastic/go-elasticsearch/v7 (note the v7 in the install path), with the following in glide.yaml:
Suggestion: please allow us to disable the automatic path-to-subpackage behavior. Ie, maybe the following glide.yaml should keep the name field the same in the lock file:
I am trying to install
github.com/elastic/go-elasticsearch
, which uses go modules. In theirgo.mod
file, they name their packagegithub.com/elastic/go-elasticsearch/v7
(note the addedv7
for namespacing).However, this does not work with glide.
When I try to get glide to install
github.com/elastic/go-elasticsearch
tovendor/github.com/elastic/go-elasticsearch/v7
(note thev7
in the install path), with the following inglide.yaml
:This magically is changed to the following in the
glide.lock
:However, I do not want the
name
to change. I want it to stay asgithub.com/elastic/go-elasticsearch/v7
. Ie, I want the following in myglide.lock
:Suggestion: please allow us to disable the automatic path-to-subpackage behavior. Ie, maybe the following
glide.yaml
should keep thename
field the same in the lock file:or