-
Notifications
You must be signed in to change notification settings - Fork 36
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
[WIP] Migrate to go mod #626
base: master
Are you sure you want to change the base?
Commits on Apr 16, 2019
-
Avoid running Makefile.main ::build ::tests on web
The purpose of Makefile.web is to test and build Lookout web, but it was also testing and building the whole Lookout because Makefile.web includes Makefile, and that one includes src-d/ci/Makefile.main This commit overrides Makefile.main::build, Makefile.main::test and Makefile.main::dependencies targets to avoid calling them when using Makefile.web Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e8ea89 - Browse repository at this point
Copy the full SHA 0e8ea89View commit details -
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67a8e62 - Browse repository at this point
Copy the full SHA 67a8e62View commit details -
Create go.mod from Gopkg.lock with 'go mod init'
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9988f8 - Browse repository at this point
Copy the full SHA b9988f8View commit details -
Fix import route for google/go-github to use module path
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a07f658 - Browse repository at this point
Copy the full SHA a07f658View commit details -
Bump to go-git-fixtures v3.4 that supports Modules
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b3524b - Browse repository at this point
Copy the full SHA 2b3524bView commit details -
Tidy dependencies with 'go mod tidy'
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8826fa4 - Browse repository at this point
Copy the full SHA 8826fa4View commit details -
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01c70f6 - Browse repository at this point
Copy the full SHA 01c70f6View commit details -
Update vendor with 'go mod vendor'
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cba9ab2 - Browse repository at this point
Copy the full SHA cba9ab2View commit details -
Generate vendor with go Modules
It will be used `make vendor` to 'tidy', add dependencies into 'vendor' and verify that they matches their integrity checks Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2fcee77 - Browse repository at this point
Copy the full SHA 2fcee77View commit details -
Generate kallax files with make targets
kallax models should be generated with 'make generate-go', kallax migrations should be generated with 'MIGRTION_NAME=<name> make generate-migrations' and packed with 'make pack-migrations' All the code generation: kallax and vendor can be done at once with 'make generate' kallax does not work with go Modules, so it'll be disabled issue: src-d/go-kallax#296 Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8850ecb - Browse repository at this point
Copy the full SHA 8850ecbView commit details -
Avoid running 'Makefile.main::dependencies' which runs go get
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 570b9af - Browse repository at this point
Copy the full SHA 570b9afView commit details -
Install $(DEPENDENCIES) with 'go get' instead 'go Modules'
Otherwise 'esc' and 'kallax' wont be installed properly and they will be added into 'go.mod' Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a6a605 - Browse repository at this point
Copy the full SHA 5a6a605View commit details -
DELETEME patches src-d/go-git-fixtures#15
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9fd8442 - Browse repository at this point
Copy the full SHA 9fd8442View commit details -
Use 'go Modules' to fetch $(DEPENDENCIES)
Instead of using traditional 'go get', with 'go Modules' it can be locked the tools used by the project in a standard way. Project dependencies will be added into './build/tools/bin' Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8f18d1 - Browse repository at this point
Copy the full SHA f8f18d1View commit details -
Use 'go Modules' and 'vendor' by default
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43bdcc4 - Browse repository at this point
Copy the full SHA 43bdcc4View commit details
Commits on Apr 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 123e60d - Browse repository at this point
Copy the full SHA 123e60dView commit details -
Signed-off-by: David Pordomingo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2a6686 - Browse repository at this point
Copy the full SHA f2a6686View commit details