From 4f7d0e5e4645f6d9f74843bacac337d6315ea106 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Wed, 21 Jan 2015 11:09:51 -0800 Subject: [PATCH 1/2] Pass -f to 'go get' InfluxDB source is affected by this issue: https://github.com/golang/go/issues/8850 which resulted in the new '-f' flag, which our build process must use. This flag was added to Go 1.4 in: https://github.com/golang/go/commit/ea295a4cfbb0641f58c41d3722e7e8fb3b3f493f --- docs/contributing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributing.md b/docs/contributing.md index 567b3fb259..0b990cc685 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -74,7 +74,7 @@ Make sure you have Go installed. To build the project, execute the following com ```bash cd $GOPATH/src/github.com/influxdb -go get -u ./... +go get -u -f ./... go build ./... ``` From 03367bf32c774ec604e4846c88b8ca5d507bfa6a Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Wed, 21 Jan 2015 11:11:53 -0800 Subject: [PATCH 2/2] Make it clear what the influxDB binary is named --- docs/contributing.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/contributing.md b/docs/contributing.md index 0b990cc685..ceefcf174f 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -78,7 +78,9 @@ go get -u -f ./... go build ./... ``` -Once compilation completes, the binaries can be found in `$GOPATH/bin`. To set the version and commit flags pass the following to the build command: +Once compilation completes, the binaries can be found in `$GOPATH/bin`. Please note that the InfluxDB binary is named `influxd`, not `influxdb`. + +To set the version and commit flags during the build pass the following to the build command: ```bash -ldflags="-X main.version $VERSION -X main.commit $COMMIT"