Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Commit

Permalink
ref(package names): Change to reflect upcoming repo name change
Browse files Browse the repository at this point in the history
  • Loading branch information
krancour committed May 2, 2016
1 parent 0c69f8b commit 550cc8f
Show file tree
Hide file tree
Showing 75 changed files with 142 additions and 142 deletions.
6 changes: 3 additions & 3 deletions Makefile
@@ -1,6 +1,6 @@
export GO15VENDOREXPERIMENT=1

REPO_PATH := github.com/helm/helm
REPO_PATH := github.com/helm/helm-classic

# The following variables describe the containerized development environment
# and other build options
Expand Down Expand Up @@ -52,7 +52,7 @@ build-all: check-docker
-ldflags ${LDFLAGS} \
-os="linux darwin " \
-arch="amd64 386" \
-output="${DIST_DIR}/{{.OS}}-{{.Arch}}/{{.Dir}}" .
-output="${DIST_DIR}/{{.OS}}-{{.Arch}}/helm" .

clean:
rm -rf ${DIST_DIR} ${BIN_DIR}
Expand Down Expand Up @@ -84,7 +84,7 @@ test-style:
${DEV_ENV_CMD} gofmt -e -l -s *.go ${GO_PACKAGES}
@${DEV_ENV_CMD} bash -c 'gofmt -e -l -s *.go ${GO_PACKAGES} | read; if [ $$? == 0 ]; then echo "gofmt check failed."; exit 1; fi'
@${DEV_ENV_CMD} bash -c 'for i in . ${GO_PACKAGES}; do golint $$i; done'
@${DEV_ENV_CMD} bash -c 'for i in . ${GO_PACKAGES}; do go vet github.com/helm/helm/$$i; done'
@${DEV_ENV_CMD} bash -c 'for i in . ${GO_PACKAGES}; do go vet ${REPO_PATH}/$$i; done'

.PHONY: check-docker \
dev \
Expand Down
6 changes: 3 additions & 3 deletions action/action.go
Expand Up @@ -3,9 +3,9 @@ package action
import (
"path/filepath"

"github.com/helm/helm/config"
"github.com/helm/helm/log"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/config"
"github.com/helm/helm-classic/log"
helm "github.com/helm/helm-classic/util"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions action/create.go
Expand Up @@ -6,9 +6,9 @@ import (
"path/filepath"
"text/template"

"github.com/helm/helm/chart"
"github.com/helm/helm/log"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/chart"
"github.com/helm/helm-classic/log"
helm "github.com/helm/helm-classic/util"
)

// readmeSkel is the template for the README.md
Expand Down
4 changes: 2 additions & 2 deletions action/create_test.go
Expand Up @@ -4,8 +4,8 @@ import (
"io/ioutil"
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm/util"
"github.com/helm/helm-classic/test"
"github.com/helm/helm-classic/util"
)

func TestCreate(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions action/doctor.go
Expand Up @@ -3,8 +3,8 @@ package action
import (
"os/exec"

"github.com/helm/helm/log"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/log"
helm "github.com/helm/helm-classic/util"
)

// Doctor helps you see what's wrong with your helm setup
Expand Down
4 changes: 2 additions & 2 deletions action/doctor_test.go
Expand Up @@ -5,8 +5,8 @@ import (
"path/filepath"
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm/util"
"github.com/helm/helm-classic/test"
"github.com/helm/helm-classic/util"
)

func TestEnsurePrereqs(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions action/edit.go
Expand Up @@ -4,8 +4,8 @@ import (
"os"
"os/exec"

"github.com/helm/helm/log"
"github.com/helm/helm/util"
"github.com/helm/helm-classic/log"
"github.com/helm/helm-classic/util"
)

// Edit charts using the shell-defined $EDITOR
Expand Down
2 changes: 1 addition & 1 deletion action/edit_test.go
Expand Up @@ -5,7 +5,7 @@ import (
"path"
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm-classic/test"
)

func TestEdit(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions action/fetch.go
Expand Up @@ -4,10 +4,10 @@ import (
"os"
"path/filepath"

"github.com/helm/helm/chart"
"github.com/helm/helm/dependency"
"github.com/helm/helm/log"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/chart"
"github.com/helm/helm-classic/dependency"
"github.com/helm/helm-classic/log"
helm "github.com/helm/helm-classic/util"
)

// Fetch gets a chart from the source repo and copies to the workdir.
Expand Down
4 changes: 2 additions & 2 deletions action/fetch_test.go
Expand Up @@ -3,8 +3,8 @@ package action
import (
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm/util"
"github.com/helm/helm-classic/test"
"github.com/helm/helm-classic/util"
)

func TestFetch(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions action/generate.go
Expand Up @@ -5,9 +5,9 @@ import (
"path/filepath"
"strconv"

"github.com/helm/helm/generator"
"github.com/helm/helm/log"
"github.com/helm/helm/util"
"github.com/helm/helm-classic/generator"
"github.com/helm/helm-classic/log"
"github.com/helm/helm-classic/util"
)

// Generate runs generators on the entire chart.
Expand Down
4 changes: 2 additions & 2 deletions action/generate_test.go
Expand Up @@ -4,8 +4,8 @@ import (
"io/ioutil"
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm/util"
"github.com/helm/helm-classic/test"
"github.com/helm/helm-classic/util"
)

func TestGenerate(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion action/helper_test.go
@@ -1,6 +1,6 @@
package action

import "github.com/helm/helm/log"
import "github.com/helm/helm-classic/log"

func init() {
// Turn on debug output, convert os.Exit(1) to panic()
Expand Down
6 changes: 3 additions & 3 deletions action/info.go
Expand Up @@ -3,9 +3,9 @@ package action
import (
"text/template"

"github.com/helm/helm/chart"
"github.com/helm/helm/log"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/chart"
"github.com/helm/helm-classic/log"
helm "github.com/helm/helm-classic/util"
)

const defaultInfoFormat = `Name: {{.Name}}
Expand Down
2 changes: 1 addition & 1 deletion action/info_test.go
Expand Up @@ -3,7 +3,7 @@ package action
import (
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm-classic/test"
)

func TestInfo(t *testing.T) {
Expand Down
12 changes: 6 additions & 6 deletions action/install.go
Expand Up @@ -4,12 +4,12 @@ import (
"bytes"
"os"

"github.com/helm/helm/chart"
"github.com/helm/helm/codec"
"github.com/helm/helm/dependency"
"github.com/helm/helm/kubectl"
"github.com/helm/helm/log"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/chart"
"github.com/helm/helm-classic/codec"
"github.com/helm/helm-classic/dependency"
"github.com/helm/helm-classic/kubectl"
"github.com/helm/helm-classic/log"
helm "github.com/helm/helm-classic/util"
)

// InstallOrder defines the order in which manifests should be installed, by Kind.
Expand Down
4 changes: 2 additions & 2 deletions action/install_test.go
Expand Up @@ -6,8 +6,8 @@ import (
"path/filepath"
"testing"

"github.com/helm/helm/kubectl"
"github.com/helm/helm/test"
"github.com/helm/helm-classic/kubectl"
"github.com/helm/helm-classic/test"
)

func TestInstall(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions action/lint.go
Expand Up @@ -7,10 +7,10 @@ import (
"regexp"

"github.com/google/go-github/github"
"github.com/helm/helm/log"
"github.com/helm/helm/manifest"
"github.com/helm/helm/util"
"github.com/helm/helm/validation"
"github.com/helm/helm-classic/log"
"github.com/helm/helm-classic/manifest"
"github.com/helm/helm-classic/util"
"github.com/helm/helm-classic/validation"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions action/lint_test.go
Expand Up @@ -7,8 +7,8 @@ import (
"path/filepath"
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm/util"
"github.com/helm/helm-classic/test"
"github.com/helm/helm-classic/util"

"gopkg.in/yaml.v2"
)
Expand Down
6 changes: 3 additions & 3 deletions action/list.go
Expand Up @@ -3,9 +3,9 @@ package action
import (
"path/filepath"

"github.com/helm/helm/chart"
"github.com/helm/helm/log"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/chart"
"github.com/helm/helm-classic/log"
helm "github.com/helm/helm-classic/util"
)

// List lists all of the local charts.
Expand Down
2 changes: 1 addition & 1 deletion action/plugin.go
Expand Up @@ -5,7 +5,7 @@ import (
"os/exec"
"path/filepath"

"github.com/helm/helm/log"
"github.com/helm/helm-classic/log"
)

// Plugin attempts to execute a plugin.
Expand Down
2 changes: 1 addition & 1 deletion action/plugin_test.go
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm-classic/test"
)

func TestPluginName(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions action/print_readme.go
Expand Up @@ -6,8 +6,8 @@ import (
"path/filepath"
"strings"

"github.com/helm/helm/log"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/log"
helm "github.com/helm/helm-classic/util"
)

// PrintREADME prints the README file (if it exists) to the console.
Expand Down
4 changes: 2 additions & 2 deletions action/publish.go
Expand Up @@ -3,8 +3,8 @@ package action
import "os"

import (
"github.com/helm/helm/log"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/log"
helm "github.com/helm/helm-classic/util"
)

// Publish a chart from the workspace to the cache directory
Expand Down
6 changes: 3 additions & 3 deletions action/remove.go
Expand Up @@ -6,9 +6,9 @@ import (
"os/exec"
"strings"

"github.com/helm/helm/log"
"github.com/helm/helm/manifest"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/log"
"github.com/helm/helm-classic/manifest"
helm "github.com/helm/helm-classic/util"
)

// kubeGetter wraps the kubectl command, override in tests
Expand Down
2 changes: 1 addition & 1 deletion action/remove_test.go
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm-classic/test"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion action/repo.go
@@ -1,7 +1,7 @@
package action

import (
"github.com/helm/helm/log"
"github.com/helm/helm-classic/log"
)

// ListRepos lists the repositories.
Expand Down
4 changes: 2 additions & 2 deletions action/repo_test.go
Expand Up @@ -3,8 +3,8 @@ package action
import (
"testing"

"github.com/helm/helm/log"
"github.com/helm/helm/test"
"github.com/helm/helm-classic/log"
"github.com/helm/helm-classic/test"
)

func TestListRepos(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions action/search.go
@@ -1,9 +1,9 @@
package action

import (
"github.com/helm/helm/log"
"github.com/helm/helm/search"
helm "github.com/helm/helm/util"
"github.com/helm/helm-classic/log"
"github.com/helm/helm-classic/search"
helm "github.com/helm/helm-classic/util"
)

// Search looks for packages with 'term' in their name.
Expand Down
2 changes: 1 addition & 1 deletion action/search_test.go
Expand Up @@ -3,7 +3,7 @@ package action
import (
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm-classic/test"
)

func TestSearch(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions action/target.go
@@ -1,8 +1,8 @@
package action

import (
"github.com/helm/helm/kubectl"
"github.com/helm/helm/log"
"github.com/helm/helm-classic/kubectl"
"github.com/helm/helm-classic/log"
)

// Target displays information about the cluster
Expand Down
2 changes: 1 addition & 1 deletion action/target_test.go
Expand Up @@ -3,7 +3,7 @@ package action
import (
"testing"

"github.com/helm/helm/test"
"github.com/helm/helm-classic/test"
)

func TestTarget(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion action/template.go
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/BurntSushi/toml"
"github.com/Masterminds/sprig"
"github.com/helm/helm/log"
"github.com/helm/helm-classic/log"
"gopkg.in/yaml.v2"
)

Expand Down
6 changes: 3 additions & 3 deletions action/template_test.go
Expand Up @@ -6,9 +6,9 @@ import (
"path/filepath"
"testing"

"github.com/helm/helm/log"
"github.com/helm/helm/test"
"github.com/helm/helm/util"
"github.com/helm/helm-classic/log"
"github.com/helm/helm-classic/test"
"github.com/helm/helm-classic/util"
)

func TestTemplate(t *testing.T) {
Expand Down

0 comments on commit 550cc8f

Please sign in to comment.