From 2cb3409e39df555f01936b4815ec73b650213b12 Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Thu, 28 Jul 2022 10:15:32 +0530 Subject: [PATCH] docs: add section to update GOPROXY In linux environment, when go is installed using `dnf/yum/apt` or other pacakge installer. In this case we get error when we do `make build` because of GOPROXY. So, we need to update the GOPROXY with `export GOPROXY=https://proxy.golang.org,direct` in `.bashrc` file Signed-off-by: subhamkrai --- Documentation/Contributing/development-flow.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/Contributing/development-flow.md b/Documentation/Contributing/development-flow.md index a31bbe4db..cbab34ce4 100644 --- a/Documentation/Contributing/development-flow.md +++ b/Documentation/Contributing/development-flow.md @@ -38,11 +38,13 @@ cd rook Building Rook-Ceph is simple. ```console -make +make build ``` If you want to use `podman` instead of `docker` then uninstall `docker` packages from your machine, make will automatically pick up `podman`. +!!! tip + If you are in linux environment and `make build` command throws an error like `unknown revision` for some imports, try adding `export GOPROXY=https://proxy.golang.org,direct` to `~/.bashrc` and then run `source ~/.bashrc` or to a similar file to update your environment and confirm with `go env` that `GOPROXY` is updated. ### Development Settings To provide consistent whitespace and other formatting in your `go` and other source files (e.g., Markdown), it is recommended you apply