commit | 3b4c0357996d76cd2df5945d168a36821beed1b8 | [log] [tgz] |
---|---|---|
author | Chaitrashree G S <Chaitrashree.S@radisys.com> | Mon Sep 09 20:59:29 2019 -0400 |
committer | Matt Jeanneret <mj3580@att.com> | Fri Nov 01 13:31:04 2019 +0000 |
tree | febeb547006fc12f3610b271ab2ce378475d5778 | |
parent | 26f344b6a63bdced23d20086462016750226bf5d [diff] |
[VOL-1754] :changes to handle device states on olt disable/re-enable Change-Id: Ied1fb534028e2a3d7b443a69540a3780aeae98c5
This project uses Go Modules https://github.com/golang/go/wiki/Modules to manage dependencies. As a local best pratice this project also vendors the dependencies. If you need to update dependencies please follow the Go Modules best practices and also perform the following steps before committing a patch:
go mod tidy
go mod verify
go mod vendor
voltha-protos
or voltha-lib-go
If you want to build/test using a local copy or voltha-protos
or voltha-lib-go
this can be accomplished by using the environment variables LOCAL_PROTOS
and LOCAL_LIB_GO
. These environment variables should be set to the filesystem path where the local source is located, e.g.
LOCAL\_PROTOS=$HOME/src/voltha-protos LOCAL\_LIB\_GO=$HOME/src/voltha-lib-go
When these environment variables are set the vendored versions of these packages will be removed from the vendor
directory and replaced by coping the files from the specified locations to the vendor
directory. NOTE: this means that the files in the vendor
directory are no longer what is in the git
repository and it will take manual git
intervention to put the original files back.