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

links and vendor #31

Open
djdv opened this issue Mar 16, 2018 · 0 comments
Open

links and vendor #31

djdv opened this issue Mar 16, 2018 · 0 comments

Comments

@djdv
Copy link

djdv commented Mar 16, 2018

I think gx-go link should warn about the existence of a dependency that is both linked and also exists inside of ./vendor/

I got confused when I tried linking a dependency after forgetting I vendored everything previously with gx install --local.
gx-go link *somehash* will succeed in writing the package to global and linking but this has no effect since vendor exists with the dep inside of it. I'd like to see something like

>gx-go link QmWi28zbQG6B1xfaaWx5cYoLn3kBFU6pQ6GWQNRV5P6dNe
writing package to: C:\Users\Dominic\Projects\Go\src\gx\ipfs\QmWi28zbQG6B1xfaaWx5cYoLn3kBFU6pQ6GWQNRV5P6dNe
linked QmWi28zbQG6B1xfaaWx5cYoLn3kBFU6pQ6GWQNRV5P6dNe C:\Users\Dominic\Projects\Go\src\go4.org\lock
Warning: link succeeded but "go4.org/lock" is vendored

Both for links being created and links being listed with gx-go link

>gx-go link
QmWi28zbQG6B1xfaaWx5cYoLn3kBFU6pQ6GWQNRV5P6dNe C:\Users\Dominic\Projects\Go\src\go4.org\lock
Warning: "go4.org/lock" is linked but is also vendored

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

1 participant