Skip to content

Commit

Permalink
Switch all repo references from GoogleContainerTools -> `kubernetes…
Browse files Browse the repository at this point in the history
…-sigs` (kubernetes-sigs#178)

* Change import paths from GoogleContainerTools -> kubernetes-sigs

* Replace all remaining occurances GoogleContainerTools -> kubernetes-sigs

With this commit the krew-index is also switched to kubernetes-sigs
  • Loading branch information
corneliusweig authored and k8s-ci-robot committed May 8, 2019
1 parent 58ca288 commit b21aeb6
Show file tree
Hide file tree
Showing 29 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sudo: false
language: go
go:
- 1.10.x
go_import_path: github.com/GoogleContainerTools/krew
go_import_path: github.com/kubernetes-sigs/krew
install: true
notifications:
email: false
Expand Down
6 changes: 3 additions & 3 deletions cmd/krew/cmd/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"strings"
"unicode"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/GoogleContainerTools/krew/pkg/index/indexscanner"
"github.com/GoogleContainerTools/krew/pkg/installation"
"github.com/kubernetes-sigs/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/index/indexscanner"
"github.com/kubernetes-sigs/krew/pkg/installation"

"github.com/pkg/errors"
"github.com/spf13/cobra"
Expand Down
6 changes: 3 additions & 3 deletions cmd/krew/cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
"fmt"
"os"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/GoogleContainerTools/krew/pkg/index/indexscanner"
"github.com/GoogleContainerTools/krew/pkg/installation"
"github.com/kubernetes-sigs/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/index/indexscanner"
"github.com/kubernetes-sigs/krew/pkg/installation"

"github.com/golang/glog"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion cmd/krew/cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strings"
"text/tabwriter"

"github.com/GoogleContainerTools/krew/pkg/installation"
"github.com/kubernetes-sigs/krew/pkg/installation"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/krew/cmd/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"os"

"github.com/GoogleContainerTools/krew/pkg/installation"
"github.com/kubernetes-sigs/krew/pkg/installation"
"github.com/pkg/errors"

"github.com/golang/glog"
Expand Down
4 changes: 2 additions & 2 deletions cmd/krew/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"flag"
"os"

"github.com/GoogleContainerTools/krew/pkg/environment"
"github.com/GoogleContainerTools/krew/pkg/gitutil"
"github.com/kubernetes-sigs/krew/pkg/environment"
"github.com/kubernetes-sigs/krew/pkg/gitutil"
isatty "github.com/mattn/go-isatty"
"github.com/pkg/errors"

Expand Down
6 changes: 3 additions & 3 deletions cmd/krew/cmd/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import (
"os"
"strings"

"github.com/GoogleContainerTools/krew/pkg/index/indexscanner"
"github.com/kubernetes-sigs/krew/pkg/index/indexscanner"
"github.com/pkg/errors"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/GoogleContainerTools/krew/pkg/installation"
"github.com/kubernetes-sigs/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/installation"
"github.com/sahilm/fuzzy"
"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/krew/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ import (
"fmt"
"os"

"github.com/GoogleContainerTools/krew/pkg/gitutil"
"github.com/golang/glog"
"github.com/kubernetes-sigs/krew/pkg/gitutil"

"github.com/pkg/errors"
"github.com/spf13/cobra"
)

// IndexURI points to the upstream index.
const IndexURI = "https://github.com/GoogleContainerTools/krew-index.git"
const IndexURI = "https://github.com/kubernetes-sigs/krew-index.git"

// updateCmd represents the update command
var updateCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions cmd/krew/cmd/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"fmt"
"os"

"github.com/GoogleContainerTools/krew/pkg/index/indexscanner"
"github.com/GoogleContainerTools/krew/pkg/installation"
"github.com/kubernetes-sigs/krew/pkg/index/indexscanner"
"github.com/kubernetes-sigs/krew/pkg/installation"

"github.com/golang/glog"
"github.com/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions cmd/krew/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
"fmt"
"os"

"github.com/GoogleContainerTools/krew/pkg/environment"
"github.com/GoogleContainerTools/krew/pkg/version"
"github.com/golang/glog"
"github.com/kubernetes-sigs/krew/pkg/environment"
"github.com/kubernetes-sigs/krew/pkg/version"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/krew/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package main

import (
"github.com/GoogleContainerTools/krew/cmd/krew/cmd"
"github.com/golang/glog"
"github.com/kubernetes-sigs/krew/cmd/krew/cmd"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/validate-krew-manifest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"path/filepath"
"strings"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/GoogleContainerTools/krew/pkg/index/indexscanner"
"github.com/kubernetes-sigs/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/index/indexscanner"

"github.com/golang/glog"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion cmd/validate-krew-manifest/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package main
import (
"testing"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/index"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
6 changes: 3 additions & 3 deletions docs/DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ plugin is available and how to install it.

For a plugin named `foo`, the plugin manifest file should be named `foo.yaml`.
An example manifest for this plugin that runs only on Linux and macOS looks
like this (see [krew index](https://github.com/GoogleContainerTools/krew-index/tree/master/plugins) for
like this (see [krew index](https://github.com/kubernetes-sigs/krew-index/tree/master/plugins) for
all plugin manifests):

```yaml
Expand All @@ -109,7 +109,7 @@ spec:
to: "." # '.' refers to the root of plugin install directory
bin: "./kubectl-foo" # path to the plugin executable after copying files above
shortDescription: Prints the environment variables.
homepage: https://github.com/GoogleContainerTools/krew # optional, url for the project homepage
homepage: https://github.com/kubernetes-sigs/krew # optional, url for the project homepage
# (optional) use caveats field to show post-installation recommendations
caveats: |
This plugin needs the following programs:
Expand Down Expand Up @@ -324,5 +324,5 @@ updates `uri` and `sha256` fields of the plugin manifest file.
Optionally, you can use the `version` field to match to your plugin's released
version string.

[index]: https://github.com/GoogleContainerTools/krew-index
[index]: https://github.com/kubernetes-sigs/krew-index
[plugins]: https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/
2 changes: 1 addition & 1 deletion docs/NAMING_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This document explain the best practices and recommendations for naming kubectl
plugins. These guidelines are used for reviewing the plugins submitted to
[krew-index](https://github.com/GoogleContainerTools/krew-index) repository.
[krew-index](https://github.com/kubernetes-sigs/krew-index) repository.

#### _Punctuation_

Expand Down
2 changes: 1 addition & 1 deletion docs/RELEASING_KREW.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Krew tags versions starting with `v`. Example: `v0.2.0-rc.1`.

1. **Make the new version available on krew index:** Copy the `krew.yaml` from
the release artifacts and make a pull request to
[krew-index](https://github.com/GoogleContainerTools/krew-index/) repository.
[krew-index](https://github.com/kubernetes-sigs/krew-index/) repository.
This will make the plugin available to upgrade for users using older versions
of krew.

Expand Down
2 changes: 1 addition & 1 deletion hack/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ FROM golang:1-alpine
RUN apk add -q --no-cache bash git zip
RUN go get github.com/mitchellh/gox

ENV PROJECT_ROOT /go/src/github.com/GoogleContainerTools/krew
ENV PROJECT_ROOT /go/src/github.com/kubernetes-sigs/krew
RUN mkdir -p $(dirname $PROJECT_ROOT) && \
ln -s /workspace $PROJECT_ROOT
WORKDIR $PROJECT_ROOT
Expand Down
2 changes: 1 addition & 1 deletion hack/krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
* Windows: Add %USERPROFILE%\.krew\bin to your PATH environment variable
Run "kubectl krew" to list krew commands and get help.
You can find documentation at https://github.com/GoogleContainerTools/krew.
You can find documentation at https://github.com/kubernetes-sigs/krew.
platforms:
- uri: https://storage.googleapis.com/krew/KREW_TAG/krew.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion hack/make-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "${SCRIPTDIR}/.."

DEFAULT_OSARCH="darwin/amd64 windows/amd64 linux/amd64 linux/arm"
version_pkg="github.com/GoogleContainerTools/krew/pkg/version"
version_pkg="github.com/kubernetes-sigs/krew/pkg/version"

rm -rf out/

Expand Down
2 changes: 1 addition & 1 deletion hack/make-release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if ! [[ "$TAG" =~ v.* ]]; then
exit 1
fi

readme="https://github.com/GoogleContainerTools/krew/blob/${TAG}/README.md"
readme="https://github.com/kubernetes-sigs/krew/blob/${TAG}/README.md"
download_base="https://storage.googleapis.com/krew"
download_assets=(
krew.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion pkg/environment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/pkg/errors"
"k8s.io/client-go/util/homedir"

"github.com/GoogleContainerTools/krew/pkg/pathutil"
"github.com/kubernetes-sigs/krew/pkg/pathutil"
)

// Paths contains all important environment paths
Expand Down
2 changes: 1 addition & 1 deletion pkg/index/indexscanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"path/filepath"
"strings"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/index"
"github.com/pkg/errors"

"github.com/golang/glog"
Expand Down
8 changes: 4 additions & 4 deletions pkg/installation/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ import (
"runtime"
"strings"

"github.com/GoogleContainerTools/krew/pkg/download"
"github.com/GoogleContainerTools/krew/pkg/environment"
"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/GoogleContainerTools/krew/pkg/pathutil"
"github.com/kubernetes-sigs/krew/pkg/download"
"github.com/kubernetes-sigs/krew/pkg/environment"
"github.com/kubernetes-sigs/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/pathutil"
"github.com/pkg/errors"

"github.com/golang/glog"
Expand Down
4 changes: 2 additions & 2 deletions pkg/installation/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"strings"
"testing"

"github.com/GoogleContainerTools/krew/pkg/environment"
"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/environment"
"github.com/kubernetes-sigs/krew/pkg/index"
)

func Test_moveTargets(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/installation/move.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"path/filepath"
"syscall"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/GoogleContainerTools/krew/pkg/pathutil"
"github.com/kubernetes-sigs/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/pathutil"

"github.com/golang/glog"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/installation/move_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"reflect"
"testing"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/index"
)

func Test_findMoveTargets(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/installation/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"io/ioutil"
"os"

"github.com/GoogleContainerTools/krew/pkg/environment"
"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/environment"
"github.com/kubernetes-sigs/krew/pkg/index"

"github.com/golang/glog"
"github.com/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/installation/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/GoogleContainerTools/krew/pkg/pathutil"
"github.com/kubernetes-sigs/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/pathutil"
)

// GetMatchingPlatform finds the platform spec in the specified plugin that
Expand Down
2 changes: 1 addition & 1 deletion pkg/installation/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"runtime"
"testing"

"github.com/GoogleContainerTools/krew/pkg/index"
"github.com/kubernetes-sigs/krew/pkg/index"

"k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down

0 comments on commit b21aeb6

Please sign in to comment.