From 8ca1391fe876c8836284814d737735218d56e630 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Mon, 5 Dec 2016 15:59:28 -0700 Subject: [PATCH 1/3] Fix Go style issues. --- cmd/helm/verify_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) mode change 100755 => 100644 cmd/helm/verify_test.go diff --git a/cmd/helm/verify_test.go b/cmd/helm/verify_test.go old mode 100755 new mode 100644 index fa248e67b..6e8b906fc --- a/cmd/helm/verify_test.go +++ b/cmd/helm/verify_test.go @@ -24,13 +24,13 @@ import ( func TestVerifyCmd(t *testing.T) { - stat_exe := "stat" - stat_path_msg := "no such file or directory" - stat_file_msg := stat_path_msg + statExe := "stat" + statPathMsg := "no such file or directory" + statFileMsg := statPathMsg if runtime.GOOS == "windows" { - stat_exe = "GetFileAttributesEx" - stat_path_msg = "The system cannot find the path specified." - stat_file_msg = "The system cannot find the file specified." + statExe = "GetFileAttributesEx" + statPathMsg = "The system cannot find the path specified." + statFileMsg = "The system cannot find the file specified." } tests := []struct { @@ -48,7 +48,7 @@ func TestVerifyCmd(t *testing.T) { { name: "verify requires that chart exists", args: []string{"no/such/file"}, - expect: fmt.Sprintf("%s no/such/file: %s", stat_exe, stat_path_msg), + expect: fmt.Sprintf("%s no/such/file: %s", statExe, statPathMsg), err: true, }, { @@ -60,7 +60,7 @@ func TestVerifyCmd(t *testing.T) { { name: "verify requires that chart has prov file", args: []string{"testdata/testcharts/compressedchart-0.1.0.tgz"}, - expect: fmt.Sprintf("could not load provenance file testdata/testcharts/compressedchart-0.1.0.tgz.prov: %s testdata/testcharts/compressedchart-0.1.0.tgz.prov: %s", stat_exe, stat_file_msg), + expect: fmt.Sprintf("could not load provenance file testdata/testcharts/compressedchart-0.1.0.tgz.prov: %s testdata/testcharts/compressedchart-0.1.0.tgz.prov: %s", statExe, statFileMsg), err: true, }, { From 0c6b6d1c622930f08e419bd027e04ab3a9b374c2 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Wed, 7 Dec 2016 09:09:38 -0800 Subject: [PATCH 2/3] fix(*): correct file permissions on source files --- cmd/helm/downloader/testdata/signtest-0.1.0.tgz.prov | 0 cmd/helm/downloader/testdata/signtest/Chart.yaml | 0 cmd/helm/downloader/testdata/signtest/alpine/Chart.yaml | 0 cmd/helm/downloader/testdata/signtest/alpine/README.md | 0 .../downloader/testdata/signtest/alpine/templates/alpine-pod.yaml | 0 cmd/helm/downloader/testdata/signtest/alpine/values.yaml | 0 cmd/helm/helmpath/helmhome_unix_test.go | 0 cmd/helm/helmpath/helmhome_windows_test.go | 0 cmd/helm/inspect_test.go | 0 cmd/helm/plugins_test.go | 0 cmd/helm/search/search.go | 0 cmd/helm/testdata/testcharts/decompressedchart/Chart.yaml | 0 cmd/helm/testdata/testcharts/reqtest/Chart.yaml | 0 .../testdata/testcharts/reqtest/charts/reqsubchart/Chart.yaml | 0 .../testdata/testcharts/reqtest/charts/reqsubchart2/Chart.yaml | 0 cmd/helm/testdata/testcharts/signtest-0.1.0.tgz.prov | 0 cmd/helm/testdata/testcharts/signtest/Chart.yaml | 0 cmd/helm/testdata/testcharts/signtest/alpine/Chart.yaml | 0 cmd/helm/testdata/testcharts/signtest/alpine/README.md | 0 .../testdata/testcharts/signtest/alpine/templates/alpine-pod.yaml | 0 cmd/helm/testdata/testcharts/signtest/alpine/values.yaml | 0 docs/examples/nginx/Chart.yaml | 0 pkg/chartutil/load.go | 0 pkg/chartutil/testdata/moby/Chart.yaml | 0 pkg/chartutil/testdata/moby/charts/pequod/Chart.yaml | 0 pkg/chartutil/testdata/moby/charts/pequod/charts/ahab/Chart.yaml | 0 pkg/chartutil/testdata/moby/charts/spouter/Chart.yaml | 0 pkg/provenance/testdata/hashtest/Chart.yaml | 0 pkg/repo/repotest/testdata/examplechart/Chart.yaml | 0 pkg/tiller/release_server.go | 0 30 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 cmd/helm/downloader/testdata/signtest-0.1.0.tgz.prov mode change 100755 => 100644 cmd/helm/downloader/testdata/signtest/Chart.yaml mode change 100755 => 100644 cmd/helm/downloader/testdata/signtest/alpine/Chart.yaml mode change 100755 => 100644 cmd/helm/downloader/testdata/signtest/alpine/README.md mode change 100755 => 100644 cmd/helm/downloader/testdata/signtest/alpine/templates/alpine-pod.yaml mode change 100755 => 100644 cmd/helm/downloader/testdata/signtest/alpine/values.yaml mode change 100755 => 100644 cmd/helm/helmpath/helmhome_unix_test.go mode change 100755 => 100644 cmd/helm/helmpath/helmhome_windows_test.go mode change 100755 => 100644 cmd/helm/inspect_test.go mode change 100755 => 100644 cmd/helm/plugins_test.go mode change 100755 => 100644 cmd/helm/search/search.go mode change 100755 => 100644 cmd/helm/testdata/testcharts/decompressedchart/Chart.yaml mode change 100755 => 100644 cmd/helm/testdata/testcharts/reqtest/Chart.yaml mode change 100755 => 100644 cmd/helm/testdata/testcharts/reqtest/charts/reqsubchart/Chart.yaml mode change 100755 => 100644 cmd/helm/testdata/testcharts/reqtest/charts/reqsubchart2/Chart.yaml mode change 100755 => 100644 cmd/helm/testdata/testcharts/signtest-0.1.0.tgz.prov mode change 100755 => 100644 cmd/helm/testdata/testcharts/signtest/Chart.yaml mode change 100755 => 100644 cmd/helm/testdata/testcharts/signtest/alpine/Chart.yaml mode change 100755 => 100644 cmd/helm/testdata/testcharts/signtest/alpine/README.md mode change 100755 => 100644 cmd/helm/testdata/testcharts/signtest/alpine/templates/alpine-pod.yaml mode change 100755 => 100644 cmd/helm/testdata/testcharts/signtest/alpine/values.yaml mode change 100755 => 100644 docs/examples/nginx/Chart.yaml mode change 100755 => 100644 pkg/chartutil/load.go mode change 100755 => 100644 pkg/chartutil/testdata/moby/Chart.yaml mode change 100755 => 100644 pkg/chartutil/testdata/moby/charts/pequod/Chart.yaml mode change 100755 => 100644 pkg/chartutil/testdata/moby/charts/pequod/charts/ahab/Chart.yaml mode change 100755 => 100644 pkg/chartutil/testdata/moby/charts/spouter/Chart.yaml mode change 100755 => 100644 pkg/provenance/testdata/hashtest/Chart.yaml mode change 100755 => 100644 pkg/repo/repotest/testdata/examplechart/Chart.yaml mode change 100755 => 100644 pkg/tiller/release_server.go diff --git a/cmd/helm/downloader/testdata/signtest-0.1.0.tgz.prov b/cmd/helm/downloader/testdata/signtest-0.1.0.tgz.prov old mode 100755 new mode 100644 diff --git a/cmd/helm/downloader/testdata/signtest/Chart.yaml b/cmd/helm/downloader/testdata/signtest/Chart.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/downloader/testdata/signtest/alpine/Chart.yaml b/cmd/helm/downloader/testdata/signtest/alpine/Chart.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/downloader/testdata/signtest/alpine/README.md b/cmd/helm/downloader/testdata/signtest/alpine/README.md old mode 100755 new mode 100644 diff --git a/cmd/helm/downloader/testdata/signtest/alpine/templates/alpine-pod.yaml b/cmd/helm/downloader/testdata/signtest/alpine/templates/alpine-pod.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/downloader/testdata/signtest/alpine/values.yaml b/cmd/helm/downloader/testdata/signtest/alpine/values.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/helmpath/helmhome_unix_test.go b/cmd/helm/helmpath/helmhome_unix_test.go old mode 100755 new mode 100644 diff --git a/cmd/helm/helmpath/helmhome_windows_test.go b/cmd/helm/helmpath/helmhome_windows_test.go old mode 100755 new mode 100644 diff --git a/cmd/helm/inspect_test.go b/cmd/helm/inspect_test.go old mode 100755 new mode 100644 diff --git a/cmd/helm/plugins_test.go b/cmd/helm/plugins_test.go old mode 100755 new mode 100644 diff --git a/cmd/helm/search/search.go b/cmd/helm/search/search.go old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/decompressedchart/Chart.yaml b/cmd/helm/testdata/testcharts/decompressedchart/Chart.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/reqtest/Chart.yaml b/cmd/helm/testdata/testcharts/reqtest/Chart.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/reqtest/charts/reqsubchart/Chart.yaml b/cmd/helm/testdata/testcharts/reqtest/charts/reqsubchart/Chart.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/reqtest/charts/reqsubchart2/Chart.yaml b/cmd/helm/testdata/testcharts/reqtest/charts/reqsubchart2/Chart.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/signtest-0.1.0.tgz.prov b/cmd/helm/testdata/testcharts/signtest-0.1.0.tgz.prov old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/signtest/Chart.yaml b/cmd/helm/testdata/testcharts/signtest/Chart.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/signtest/alpine/Chart.yaml b/cmd/helm/testdata/testcharts/signtest/alpine/Chart.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/signtest/alpine/README.md b/cmd/helm/testdata/testcharts/signtest/alpine/README.md old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/signtest/alpine/templates/alpine-pod.yaml b/cmd/helm/testdata/testcharts/signtest/alpine/templates/alpine-pod.yaml old mode 100755 new mode 100644 diff --git a/cmd/helm/testdata/testcharts/signtest/alpine/values.yaml b/cmd/helm/testdata/testcharts/signtest/alpine/values.yaml old mode 100755 new mode 100644 diff --git a/docs/examples/nginx/Chart.yaml b/docs/examples/nginx/Chart.yaml old mode 100755 new mode 100644 diff --git a/pkg/chartutil/load.go b/pkg/chartutil/load.go old mode 100755 new mode 100644 diff --git a/pkg/chartutil/testdata/moby/Chart.yaml b/pkg/chartutil/testdata/moby/Chart.yaml old mode 100755 new mode 100644 diff --git a/pkg/chartutil/testdata/moby/charts/pequod/Chart.yaml b/pkg/chartutil/testdata/moby/charts/pequod/Chart.yaml old mode 100755 new mode 100644 diff --git a/pkg/chartutil/testdata/moby/charts/pequod/charts/ahab/Chart.yaml b/pkg/chartutil/testdata/moby/charts/pequod/charts/ahab/Chart.yaml old mode 100755 new mode 100644 diff --git a/pkg/chartutil/testdata/moby/charts/spouter/Chart.yaml b/pkg/chartutil/testdata/moby/charts/spouter/Chart.yaml old mode 100755 new mode 100644 diff --git a/pkg/provenance/testdata/hashtest/Chart.yaml b/pkg/provenance/testdata/hashtest/Chart.yaml old mode 100755 new mode 100644 diff --git a/pkg/repo/repotest/testdata/examplechart/Chart.yaml b/pkg/repo/repotest/testdata/examplechart/Chart.yaml old mode 100755 new mode 100644 diff --git a/pkg/tiller/release_server.go b/pkg/tiller/release_server.go old mode 100755 new mode 100644 From 52f64f4542490d864884753c7e95491cd46d982e Mon Sep 17 00:00:00 2001 From: Lachlan Evenson Date: Fri, 9 Dec 2016 17:44:50 -0500 Subject: [PATCH 3/3] update download links to v2.0.2 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 40aea5545..5f0cae004 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ Think of it like apt/yum/homebrew for Kubernetes. Binary downloads of the Helm client can be found at the following links: -- [OSX](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-darwin-amd64.tar.gz) -- [Linux](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-linux-amd64.tar.gz) -- [Linux 32-bit](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-linux-386.tar.gz) +- [OSX](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.2-darwin-amd64.tar.gz) +- [Linux](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.2-linux-amd64.tar.gz) +- [Linux 32-bit](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.2-linux-386.tar.gz) Unpack the `helm` binary and add it to your PATH and you are good to go! OS X/[Cask](https://caskroom.github.io/) users can `brew cask install helm`.