-
Notifications
You must be signed in to change notification settings - Fork 201
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
chore(go-module): migrate vendor to go module #1701
Conversation
using the command wrt openebs-archive#1700 `GO111MODULE=on make all` package can be built successfully Signed-off-by: Vani Singh <vanisingh@live.co.uk>
- remove Gopkg.lock & Gopkg.toml files - update readme Signed-off-by: Vani Singh <vanisingh@live.co.uk>
- update readme Signed-off-by: Vani Singh <vanisingh@live.co.uk>
- fix redundancy in command Signed-off-by: Vani Singh <vanisingh@live.co.uk>
Hi @vaniisgh There is one check for vendor dependency using |
- vendor folder no longer required Signed-off-by: Vani Singh <vanisingh@live.co.uk>
- attempt to fix the ci file Signed-off-by: Vani Singh <vanisingh@live.co.uk>
- change cloning out of $gopath Signed-off-by: Vani Singh <vanisingh@live.co.uk>
This reverts commit 038bcf6.
so, I ran the |
No need to add vendor code @vaniisgh .
For buildscripts/code-gen.sh, you need to apply below patch....
For GNUmakefile you can replace Please let me know if you are having any issues. |
thanks for the help, I just panicked when the code broke tbh and though I'd just put them back in, tbh I don't think it solved much! will give this a go (and will be sure to bother you for future issues ) |
closing this pull request because it was quite messy for me to revert the commits and sign the DCO, I hope thats ok :) also, thank you for letting me make these changes even though you had it figured out it really helped me learn :) regards, |
wrt #1700
work in progress but would like some review :)
this my first PR as well here and my first time migrating code so just wanted to know if I am moving in the right direction.
using the command
GO111MODULE=on make all
package can be built successfully without being in the users $GOPATHSigned-off-by: Vani Singh vanisingh@live.co.uk
also, I ran the tests on both my branches, some tests failed in both ... so I thought the migration was okay.
the tests that fail are :