Skip to content
Permalink
Browse files

Switch all repo references from `GoogleContainerTools` -> `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 b21aeb66f71fb662428d96eceb90e99b8df0b67a
@@ -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
@@ -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"
@@ -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"
@@ -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"
)
@@ -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"
@@ -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"

@@ -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"
)
@@ -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{
@@ -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"
@@ -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"
)
@@ -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() {
@@ -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"
@@ -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"
@@ -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
@@ -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:
@@ -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,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_

@@ -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.

@@ -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
@@ -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
@@ -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/

@@ -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
@@ -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
@@ -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"
@@ -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"
@@ -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) {
@@ -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"
@@ -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) {
@@ -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"
@@ -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
@@ -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"
)

0 comments on commit b21aeb6

Please sign in to comment.
You can’t perform that action at this time.