Project

General

Profile

Updating dependencies » History » Revision 2

Revision 1 (Tom Clegg, 05/21/2017 06:43 PM) → Revision 2/3 (Ward Vandewege, 08/03/2020 02:17 PM)

h1. Updating dependencies 

 h2. Go 

 Ensure $GOPATH is set (e.g., to $HOME/go) 

 <pre> 
 go get github.com/kardianos/govendor 
 go get git.arvados.org/arvados.git git.curoverse.com/arvados.git 
 cd ${GOPATH}/src/git.arvados.org/arvados.git ${GOPATH}/src/git.curoverse.com/arvados.git && govendor update +v 
 </pre> 

 Now $GOPATH/src/git.arvados.org/arvados.git/vendor/vendor.json $GOPATH/src/git.coroverse.com/arvados.git/vendor/vendor.json is updated with new version specs. Run tests, commit, push. 

 "+v" means all vendor packages. You can also update a single dependency, etc. See https://github.com/kardianos/govendor