Skip to content

Commit

Permalink
Replace mikedanese/gazel with k8s.io/repo-infra
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Jul 7, 2017
1 parent 2cc30c9 commit 7a0f810
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gazelcfg.json
@@ -1,3 +1,3 @@
{
"GoPrefix": "github.com/mikedanese/gazel"
"GoPrefix": "k8s.io/repo-infra"
}
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -6,9 +6,9 @@ before_install:
- go get -u github.com/alecthomas/gometalinter
- wget https://github.com/bazelbuild/bazel/releases/download/0.4.4/bazel_0.4.4-linux-x86_64.deb
- sudo dpkg -i bazel_0.4.4-linux-x86_64.deb
- mkdir -p $GOPATH/src/github.com/mikedanese
- mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/mikedanese
- cd $GOPATH/src/github.com/mikedanese/gazel
- mkdir -p $GOPATH/src/k8s.io
- mv $TRAVIS_BUILD_DIR $GOPATH/src/k8s.io
- cd $GOPATH/src/k8s.io/repo-infra

install:
- gometalinter --install
Expand Down
2 changes: 1 addition & 1 deletion BUILD
Expand Up @@ -4,4 +4,4 @@ licenses(["notice"])

load("@io_bazel_rules_go//go:def.bzl", "go_prefix")

go_prefix("github.com/mikedanese/gazel")
go_prefix("k8s.io/repo-infra")
16 changes: 3 additions & 13 deletions gazel/README.rst
Expand Up @@ -13,15 +13,15 @@ Requirements:
Usage:
######

1. Get gazel by running ``go get github.com/mikedanese/gazel/gazel``.
1. Get gazel by running ``go get k8s.io/repo-infra/gazel``.

2. Create a ``.gazelcfg.json`` in the root of the repository. For the
gazel repository, the ``.gazelcfg.json`` would look like:

.. code-block:: json
{
"GoPrefix": "github.com/mikedanese/gazel",
"GoPrefix": "k8s.io/repo-infra",
"SrcDirs": [
"./gazel"
],
Expand All @@ -34,7 +34,7 @@ Usage:

.. code-block:: bash
$ gazel -root=$GOPATH/src/github.com/mikedanese/gazel
$ gazel -root=$GOPATH/src/k8s.io/repo-infra
Defaults:
#########
Expand Down Expand Up @@ -82,16 +82,6 @@ rule if you need to modify the glob (such as adding excludes).
It's recommended that you leave the "**all-srcs**" rule
automanaged.

Getting latest stable version:
##############################

The latest tagged release of gazel is v14. To get the latest
stable version of gazel run:

.. code-block:: bash
$ go get -u gopkg.in/mikedanese/gazel.v14/gazel
Validating BUILD files in CI:
#############################

Expand Down

0 comments on commit 7a0f810

Please sign in to comment.