Skip to content
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

Ability to work with go modules #1017

Open
gburanov opened this issue Sep 12, 2018 · 5 comments
Open

Ability to work with go modules #1017

gburanov opened this issue Sep 12, 2018 · 5 comments

Comments

@gburanov
Copy link

gburanov commented Sep 12, 2018

Hi. We are using glide and have not switch to new dependency management (go modules and go.mod file). However we already have problems with existing solutions that switched to modules. For example, github.com/colinmarc/hdfs

When I want to add the latest version

glide get get github.com/colinmarc/hdfs

I got error

[ERROR]	Error scanning github.com/colinmarc/hdfs/v2/hadoopconf: cannot find package "." in:
	/Users/gburanov/.glide/cache/src/https-github.com-colinmarc-hdfs/v2/hadoopconf
[ERROR]	Error scanning github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs: cannot find package "." in:
	/Users/gburanov/.glide/cache/src/https-github.com-colinmarc-hdfs/v2/internal/protocol/hadoop_hdfs
[ERROR]	Error scanning github.com/colinmarc/hdfs/v2/internal/rpc: cannot find package "." in:
	/Users/gburanov/.glide/cache/src/https-github.com-colinmarc-hdfs/v2/internal/rpc
@gburanov
Copy link
Author

Is there a way to make it working other then switch to go.mod as well?

@sripathivenky
Copy link

Any update on this??

@dcu
Copy link

dcu commented Nov 16, 2018

has someone found a workaround for this?

@pmalekn
Copy link

pmalekn commented Dec 17, 2018

To quote @mediocregopher (from mediocregopher/radix#50 (comment))

Hey @armsnyder , it seems like other people are having similar problems with glide, like in this issue Unfortunately there's not much I can do on my end, and I'm not really familiar with glide at all, but I'd recommend putting your two cents into that thread. Ultimately it's up to glide to properly support go modules.

There's also this message on the glide README:

The Go community now has the dep project to manage dependencies. Please consider trying to migrate from Glide to dep. If there is an issue preventing you from migrating please file an issue with dep so the problem can be corrected. Glide will continue to be supported for some time but is considered to be in a state of support rather than active feature development.

So maybe there's not much they'll do either, you might have to just migrate to dep =/

Gonna go ahead and close this, sorry I couldn't be more helpful here.

So I guess it all depends if glide want to support to modules (which doesn't look like it).

@lrita
Copy link

lrita commented Aug 20, 2019

golang/dep#1962 is a good reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants