From 8d065040688b08efb70f93e6fd133f4bc09429af Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 11 May 2015 16:23:10 -0700 Subject: [PATCH] Change all minio-io path to minio --- CONTRIBUTING.md | 8 ++++---- Dockerfile | 4 ++-- Godeps/Godeps.json | 6 +++--- .../src/github.com/minio-io/check/README.md | 4 ++-- .../github.com/minio-io/check/benchmark_test.go | 2 +- .../github.com/minio-io/check/bootstrap_test.go | 2 +- .../src/github.com/minio-io/check/check_test.go | 2 +- .../src/github.com/minio-io/check/checkers_test.go | 2 +- .../src/github.com/minio-io/check/fixture_test.go | 2 +- .../github.com/minio-io/check/foundation_test.go | 2 +- .../src/github.com/minio-io/check/helpers_test.go | 2 +- .../src/github.com/minio-io/check/printer_test.go | 2 +- .../src/github.com/minio-io/check/run_test.go | 2 +- .../src/github.com/minio-io/cli/README.md | 10 +++++----- .../src/github.com/minio-io/cli/app_test.go | 2 +- .../src/github.com/minio-io/cli/cli_test.go | 2 +- .../src/github.com/minio-io/cli/command_test.go | 2 +- .../src/github.com/minio-io/cli/context_test.go | 2 +- .../src/github.com/minio-io/cli/flag_test.go | 2 +- Makefile | 6 +++--- README.md | 2 +- main.go | 10 +++++----- pkg/api/api_bucket_handlers.go | 6 +++--- pkg/api/api_generic_handlers.go | 2 +- pkg/api/api_object_handlers.go | 6 +++--- pkg/api/api_response.go | 2 +- pkg/api/api_router.go | 12 ++++++------ pkg/api/api_test.go | 12 ++++++------ pkg/api/config/config.go | 2 +- pkg/api/config/config_test.go | 4 ++-- pkg/api/headers.go | 2 +- pkg/api/logging/logging.go | 4 ++-- pkg/api/quota/bandwidth_cap.go | 4 ++-- pkg/api/quota/conn_limit.go | 2 +- pkg/api/quota/request_limit.go | 2 +- pkg/api/resources.go | 2 +- pkg/api/web/web.go | 8 ++++---- pkg/erasure/CONTRIBUTING.md | 6 +++--- pkg/erasure/cauchy_test.go | 2 +- pkg/erasure/vandermonde_test.go | 2 +- pkg/iodine/iodine.go | 2 +- pkg/server/httpserver/httpserver.go | 2 +- pkg/server/server.go | 14 +++++++------- pkg/storage/donut/donut.go | 2 +- pkg/storage/donut/donut_bucket.go | 2 +- pkg/storage/donut/donut_bucket_internal.go | 4 ++-- pkg/storage/donut/donut_disk.go | 2 +- pkg/storage/donut/donut_encoder.go | 4 ++-- pkg/storage/donut/donut_node.go | 2 +- pkg/storage/donut/donut_rebalance.go | 2 +- pkg/storage/donut/donut_test.go | 2 +- pkg/storage/donut/management.go | 2 +- pkg/storage/donut/objectstorage.go | 2 +- pkg/storage/donut/objectstorage_internal.go | 2 +- pkg/storage/drivers/api_testsuite.go | 4 ++-- pkg/storage/drivers/donut/donut.go | 8 ++++---- pkg/storage/drivers/donut/donut_test.go | 4 ++-- pkg/storage/drivers/memory/memory.go | 4 ++-- pkg/storage/drivers/memory/memory_test.go | 4 ++-- pkg/storage/drivers/mocks/Driver.go | 4 ++-- pkg/utils/cpu/cpu_test.go | 4 ++-- pkg/utils/crypto/keys/keys_test.go | 4 ++-- pkg/utils/crypto/md5/md5_test.go | 4 ++-- pkg/utils/crypto/sha1/sha1_darwin.go | 2 +- pkg/utils/crypto/sha1/sha1_linux.go | 2 +- pkg/utils/crypto/sha256/sha256_linux.go | 2 +- pkg/utils/crypto/sha512/sha512_linux.go | 2 +- pkg/utils/split/split_test.go | 4 ++-- 68 files changed, 127 insertions(+), 127 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bbaa9f922..1784bbc84 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,8 +1,8 @@ ### Setup your Minio Github Repository Fork [Minio upstream](https://github.com/Minio-io/minio/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder. ```sh -$ mkdir -p $GOPATH/src/github.com/minio-io -$ cd $GOPATH/src/github.com/minio-io +$ mkdir -p $GOPATH/src/github.com/minio +$ cd $GOPATH/src/github.com/minio $ git clone https://github.com/$USER_ID/minio $ cd minio ``` @@ -23,8 +23,8 @@ Building Libraries ### Setting up git remote as ``upstream`` ```sh -$ cd $GOPATH/src/github.com/minio-io/minio -$ git remote add upstream https://github.com/minio-io/minio +$ cd $GOPATH/src/github.com/minio/minio +$ git remote add upstream https://github.com/minio/minio $ git fetch upstream $ git merge upstream/master ... diff --git a/Dockerfile b/Dockerfile index 5ebb1fcf7..d003f4717 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,9 @@ RUN curl -O -s https://storage.googleapis.com/golang/${GOLANG_TARBALL} && \ tar -xzf ${GOLANG_TARBALL} -C ${GOROOT%*go*} && \ rm ${GOLANG_TARBALL} -ADD . ${GOPATH}/src/github.com/minio-io/minio +ADD . ${GOPATH}/src/github.com/minio/minio -RUN cd ${GOPATH}/src/github.com/minio-io/minio && \ +RUN cd ${GOPATH}/src/github.com/minio/minio && \ make RUN apt-get remove -y build-essential curl git && \ diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index c9fd57bf1..0937b313a 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -1,5 +1,5 @@ { - "ImportPath": "github.com/minio-io/minio", + "ImportPath": "github.com/minio/minio", "GoVersion": "go1.4.2", "Packages": [ "./..." @@ -18,11 +18,11 @@ "Rev": "660d31f8602b95058fed6833debf113e85350868" }, { - "ImportPath": "github.com/minio-io/check", + "ImportPath": "github.com/minio/check", "Rev": "bc4e66da8cd7ff58a4b9b84301f906352b8f2c94" }, { - "ImportPath": "github.com/minio-io/cli", + "ImportPath": "github.com/minio/cli", "Comment": "1.2.0-110-g111d644", "Rev": "111d6445d384505978aaf5b218ce96d163b73c57" }, diff --git a/Godeps/_workspace/src/github.com/minio-io/check/README.md b/Godeps/_workspace/src/github.com/minio-io/check/README.md index dc8b8bf64..3cf695e5c 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/README.md +++ b/Godeps/_workspace/src/github.com/minio-io/check/README.md @@ -3,11 +3,11 @@ Instructions Install the package with: - go get github.com/minio-io/check + go get github.com/minio/check Import it with: - import "github.com/minio-io/check" + import "github.com/minio/check" and use _check_ as the package name inside the code. diff --git a/Godeps/_workspace/src/github.com/minio-io/check/benchmark_test.go b/Godeps/_workspace/src/github.com/minio-io/check/benchmark_test.go index aa440b462..b35dbb6f6 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/benchmark_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/check/benchmark_test.go @@ -3,7 +3,7 @@ package check_test import ( - . "github.com/minio-io/check" + . "github.com/minio/check" "time" ) diff --git a/Godeps/_workspace/src/github.com/minio-io/check/bootstrap_test.go b/Godeps/_workspace/src/github.com/minio-io/check/bootstrap_test.go index 234612cda..d1d1b4513 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/bootstrap_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/check/bootstrap_test.go @@ -14,7 +14,7 @@ package check_test import ( "fmt" - "github.com/minio-io/check" + "github.com/minio/check" "strings" ) diff --git a/Godeps/_workspace/src/github.com/minio-io/check/check_test.go b/Godeps/_workspace/src/github.com/minio-io/check/check_test.go index 852cdfed9..4c087b749 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/check_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/check/check_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/minio-io/check" + "github.com/minio/check" ) // We count the number of suites run at least to get a vague hint that the diff --git a/Godeps/_workspace/src/github.com/minio-io/check/checkers_test.go b/Godeps/_workspace/src/github.com/minio-io/check/checkers_test.go index 8450a96e6..9bdf5c621 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/checkers_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/check/checkers_test.go @@ -2,7 +2,7 @@ package check_test import ( "errors" - "github.com/minio-io/check" + "github.com/minio/check" "reflect" "runtime" ) diff --git a/Godeps/_workspace/src/github.com/minio-io/check/fixture_test.go b/Godeps/_workspace/src/github.com/minio-io/check/fixture_test.go index 7e4289034..2ecad126c 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/fixture_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/check/fixture_test.go @@ -3,7 +3,7 @@ package check_test import ( - . "github.com/minio-io/check" + . "github.com/minio/check" ) // ----------------------------------------------------------------------- diff --git a/Godeps/_workspace/src/github.com/minio-io/check/foundation_test.go b/Godeps/_workspace/src/github.com/minio-io/check/foundation_test.go index 7d2ee1c58..0336195f9 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/foundation_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/check/foundation_test.go @@ -8,7 +8,7 @@ package check_test import ( "fmt" - "github.com/minio-io/check" + "github.com/minio/check" "log" "os" "regexp" diff --git a/Godeps/_workspace/src/github.com/minio-io/check/helpers_test.go b/Godeps/_workspace/src/github.com/minio-io/check/helpers_test.go index 9b49400cc..9bb0986a6 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/helpers_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/check/helpers_test.go @@ -4,7 +4,7 @@ package check_test import ( - "github.com/minio-io/check" + "github.com/minio/check" "os" "reflect" "runtime" diff --git a/Godeps/_workspace/src/github.com/minio-io/check/printer_test.go b/Godeps/_workspace/src/github.com/minio-io/check/printer_test.go index fcf2e11d4..885ea3342 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/printer_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/check/printer_test.go @@ -1,7 +1,7 @@ package check_test import ( - . "github.com/minio-io/check" + . "github.com/minio/check" ) var _ = Suite(&PrinterS{}) diff --git a/Godeps/_workspace/src/github.com/minio-io/check/run_test.go b/Godeps/_workspace/src/github.com/minio-io/check/run_test.go index 4de79fb61..abd7c580a 100644 --- a/Godeps/_workspace/src/github.com/minio-io/check/run_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/check/run_test.go @@ -4,7 +4,7 @@ package check_test import ( "errors" - . "github.com/minio-io/check" + . "github.com/minio/check" "os" "sync" ) diff --git a/Godeps/_workspace/src/github.com/minio-io/cli/README.md b/Godeps/_workspace/src/github.com/minio-io/cli/README.md index 4c7dddb5f..f18130170 100644 --- a/Godeps/_workspace/src/github.com/minio-io/cli/README.md +++ b/Godeps/_workspace/src/github.com/minio-io/cli/README.md @@ -2,7 +2,7 @@ cli.go is simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable command line applications in an expressive way. - This is a fork of ``github.com/codegangsta/cli`` until our patches get merge upstream You can view the API docs here: -http://godoc.org/github.com/minio-io/cli +http://godoc.org/github.com/minio/cli ## Overview Command line apps are usually so tiny that there is absolutely no reason why your code should *not* be self-documenting. Things like generating help text and parsing command flags should not hinder productivity when writing a command line app. @@ -14,7 +14,7 @@ Make sure you have a working Go environment (go 1.1 is *required*). [See the ins To install `cli.go`, simply run: ``` -$ go get github.com/minio-io/cli +$ go get github.com/minio/cli ``` Make sure your `PATH` includes to the `$GOPATH/bin` directory so your commands can be easily used: @@ -30,7 +30,7 @@ package main import ( "os" - "github.com/minio-io/cli" + "github.com/minio/cli" ) func main() { @@ -45,7 +45,7 @@ package main import ( "os" - "github.com/minio-io/cli" + "github.com/minio/cli" ) func main() { @@ -73,7 +73,7 @@ package main import ( "os" - "github.com/minio-io/cli" + "github.com/minio/cli" ) func main() { diff --git a/Godeps/_workspace/src/github.com/minio-io/cli/app_test.go b/Godeps/_workspace/src/github.com/minio-io/cli/app_test.go index a7c9fd704..98653c42e 100644 --- a/Godeps/_workspace/src/github.com/minio-io/cli/app_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/cli/app_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/minio-io/cli" + "github.com/minio/cli" ) func ExampleApp() { diff --git a/Godeps/_workspace/src/github.com/minio-io/cli/cli_test.go b/Godeps/_workspace/src/github.com/minio-io/cli/cli_test.go index 96eaf1797..c097b3b8f 100644 --- a/Godeps/_workspace/src/github.com/minio-io/cli/cli_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/cli/cli_test.go @@ -3,7 +3,7 @@ package cli_test import ( "os" - "github.com/minio-io/cli" + "github.com/minio/cli" ) func Example() { diff --git a/Godeps/_workspace/src/github.com/minio-io/cli/command_test.go b/Godeps/_workspace/src/github.com/minio-io/cli/command_test.go index 374eec56b..08adc15d1 100644 --- a/Godeps/_workspace/src/github.com/minio-io/cli/command_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/cli/command_test.go @@ -4,7 +4,7 @@ import ( "flag" "testing" - "github.com/minio-io/cli" + "github.com/minio/cli" ) func TestCommandDoNotIgnoreFlags(t *testing.T) { diff --git a/Godeps/_workspace/src/github.com/minio-io/cli/context_test.go b/Godeps/_workspace/src/github.com/minio-io/cli/context_test.go index b5635960c..207161d74 100644 --- a/Godeps/_workspace/src/github.com/minio-io/cli/context_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/cli/context_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/minio-io/cli" + "github.com/minio/cli" ) func TestNewContext(t *testing.T) { diff --git a/Godeps/_workspace/src/github.com/minio-io/cli/flag_test.go b/Godeps/_workspace/src/github.com/minio-io/cli/flag_test.go index c374dd5a0..cda91c559 100644 --- a/Godeps/_workspace/src/github.com/minio-io/cli/flag_test.go +++ b/Godeps/_workspace/src/github.com/minio-io/cli/flag_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/minio-io/cli" + "github.com/minio/cli" ) var boolFlagTests = []struct { diff --git a/Makefile b/Makefile index c654088ad..9e7fe288a 100644 --- a/Makefile +++ b/Makefile @@ -6,10 +6,10 @@ checkdeps: checkgopath: @echo "Checking if project is at ${GOPATH}" - @for mcpath in $(echo ${GOPATH} | sed 's/:/\n/g' | grep -v Godeps); do if [ ! -d ${mcpath}/src/github.com/minio-io/minio ]; then echo "Project not found in ${mcpath}, please follow instructions provided at https://github.com/Minio-io/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository" && exit 1; fi done + @for mcpath in $(echo ${GOPATH} | sed 's/:/\n/g' | grep -v Godeps); do if [ ! -d ${mcpath}/src/github.com/minio/minio ]; then echo "Project not found in ${mcpath}, please follow instructions provided at https://github.com/Minio-io/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository" && exit 1; fi done getdeps: checkdeps checkgopath - @go get github.com/minio-io/godep && echo "Installed godep:" + @go get github.com/minio/godep && echo "Installed godep:" @go get github.com/golang/lint/golint && echo "Installed golint:" @go get golang.org/x/tools/cmd/vet && echo "Installed vet:" @go get github.com/fzipp/gocyclo && echo "Installed gocyclo:" @@ -49,7 +49,7 @@ minio: pre-build build-all test-all install: minio @echo "Installing minio:" - @godep go install -a -ldflags "-X main.BuildDate `date --universal '+%FT%T.%N%:z'`" github.com/minio-io/minio + @godep go install -a -ldflags "-X main.BuildDate `date --universal '+%FT%T.%N%:z'`" github.com/minio/minio save: restore @godep save ./... diff --git a/README.md b/README.md index de63567f5..ba6eb3a5c 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Minio is an open source object storage released under [Apache license v2](./LICENSE) . It uses ``Rubberband Erasure`` coding to dynamically protect the data. Minio's design is inspired by Amazon's S3 for its API and Facebook's Haystack for its immutable data structure. -[![GoDoc](https://godoc.org/github.com/minio-io/minio?status.svg)](https://godoc.org/github.com/minio-io/minio) [![Build Status](https://travis-ci.org/minio-io/minio.svg)](https://travis-ci.org/minio-io/minio) +[![GoDoc](https://godoc.org/github.com/minio/minio?status.svg)](https://godoc.org/github.com/minio/minio) [![Build Status](https://travis-ci.org/minio/minio.svg)](https://travis-ci.org/minio/minio) ### Join Community * Community hangout on Gitter [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Minio-io/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) diff --git a/main.go b/main.go index 6f00dffb9..bb55f8a76 100644 --- a/main.go +++ b/main.go @@ -27,11 +27,11 @@ import ( "time" "github.com/dustin/go-humanize" - "github.com/minio-io/cli" - "github.com/minio-io/minio/pkg/featureflags" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/server" - "github.com/minio-io/minio/pkg/server/httpserver" + "github.com/minio/cli" + "github.com/minio/minio/pkg/featureflags" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/server" + "github.com/minio/minio/pkg/server/httpserver" ) var globalDebugFlag = false diff --git a/pkg/api/api_bucket_handlers.go b/pkg/api/api_bucket_handlers.go index a1c5aceb0..1ffd66e7b 100644 --- a/pkg/api/api_bucket_handlers.go +++ b/pkg/api/api_bucket_handlers.go @@ -21,9 +21,9 @@ import ( "strconv" "github.com/gorilla/mux" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/storage/drivers" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/utils/log" ) func (server *minioAPI) isValidOp(w http.ResponseWriter, req *http.Request, acceptsContentType contentType) bool { diff --git a/pkg/api/api_generic_handlers.go b/pkg/api/api_generic_handlers.go index 103a317c0..644e22ddc 100644 --- a/pkg/api/api_generic_handlers.go +++ b/pkg/api/api_generic_handlers.go @@ -22,7 +22,7 @@ import ( "strings" "time" - "github.com/minio-io/minio/pkg/api/config" + "github.com/minio/minio/pkg/api/config" ) type timeHandler struct { diff --git a/pkg/api/api_object_handlers.go b/pkg/api/api_object_handlers.go index f95c9d2de..3f03cb556 100644 --- a/pkg/api/api_object_handlers.go +++ b/pkg/api/api_object_handlers.go @@ -24,9 +24,9 @@ import ( "encoding/xml" "github.com/gorilla/mux" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/storage/drivers" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/utils/log" ) const ( diff --git a/pkg/api/api_response.go b/pkg/api/api_response.go index 458962b32..1c6f8a358 100644 --- a/pkg/api/api_response.go +++ b/pkg/api/api_response.go @@ -21,7 +21,7 @@ import ( "sort" "strconv" - "github.com/minio-io/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/storage/drivers" ) // Reply date format diff --git a/pkg/api/api_router.go b/pkg/api/api_router.go index 78bdeb37b..e459fa915 100644 --- a/pkg/api/api_router.go +++ b/pkg/api/api_router.go @@ -21,12 +21,12 @@ import ( "net/http" router "github.com/gorilla/mux" - "github.com/minio-io/minio/pkg/api/config" - "github.com/minio-io/minio/pkg/api/logging" - "github.com/minio-io/minio/pkg/api/quota" - "github.com/minio-io/minio/pkg/featureflags" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/api/config" + "github.com/minio/minio/pkg/api/logging" + "github.com/minio/minio/pkg/api/quota" + "github.com/minio/minio/pkg/featureflags" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/storage/drivers" ) // private use diff --git a/pkg/api/api_test.go b/pkg/api/api_test.go index 3c03910f8..fa353f7cf 100644 --- a/pkg/api/api_test.go +++ b/pkg/api/api_test.go @@ -32,14 +32,14 @@ import ( "net/http" "net/http/httptest" - "github.com/minio-io/minio/pkg/featureflags" - "github.com/minio-io/minio/pkg/storage/drivers" - "github.com/minio-io/minio/pkg/storage/drivers/donut" - "github.com/minio-io/minio/pkg/storage/drivers/memory" - "github.com/minio-io/minio/pkg/storage/drivers/mocks" + "github.com/minio/minio/pkg/featureflags" + "github.com/minio/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/storage/drivers/donut" + "github.com/minio/minio/pkg/storage/drivers/memory" + "github.com/minio/minio/pkg/storage/drivers/mocks" "github.com/stretchr/testify/mock" - . "github.com/minio-io/check" + . "github.com/minio/check" ) func Test(t *testing.T) { TestingT(t) } diff --git a/pkg/api/config/config.go b/pkg/api/config/config.go index 81739b3ef..9aa27b894 100644 --- a/pkg/api/config/config.go +++ b/pkg/api/config/config.go @@ -24,7 +24,7 @@ import ( "path" "sync" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/minio/pkg/iodine" ) // Config context diff --git a/pkg/api/config/config_test.go b/pkg/api/config/config_test.go index 0a3084664..4126fea21 100644 --- a/pkg/api/config/config_test.go +++ b/pkg/api/config/config_test.go @@ -23,8 +23,8 @@ import ( "sync" "testing" - . "github.com/minio-io/check" - "github.com/minio-io/minio/pkg/utils/crypto/keys" + . "github.com/minio/check" + "github.com/minio/minio/pkg/utils/crypto/keys" ) type MySuite struct{} diff --git a/pkg/api/headers.go b/pkg/api/headers.go index c16f29a64..9595a4349 100644 --- a/pkg/api/headers.go +++ b/pkg/api/headers.go @@ -24,7 +24,7 @@ import ( "strconv" "time" - "github.com/minio-io/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/storage/drivers" ) // No encoder interface exists, so we create one. diff --git a/pkg/api/logging/logging.go b/pkg/api/logging/logging.go index 05f302db5..5df34d122 100644 --- a/pkg/api/logging/logging.go +++ b/pkg/api/logging/logging.go @@ -24,8 +24,8 @@ import ( "os" "time" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/utils/log" ) type logHandler struct { diff --git a/pkg/api/quota/bandwidth_cap.go b/pkg/api/quota/bandwidth_cap.go index 47c7bc4a3..33ddcac81 100644 --- a/pkg/api/quota/bandwidth_cap.go +++ b/pkg/api/quota/bandwidth_cap.go @@ -25,8 +25,8 @@ import ( "sync" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/utils/log" ) // bandwidthQuotaHandler diff --git a/pkg/api/quota/conn_limit.go b/pkg/api/quota/conn_limit.go index 0089013d6..03f905486 100644 --- a/pkg/api/quota/conn_limit.go +++ b/pkg/api/quota/conn_limit.go @@ -21,7 +21,7 @@ import ( "net/http" "sync" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/utils/log" ) // requestLimitHandler diff --git a/pkg/api/quota/request_limit.go b/pkg/api/quota/request_limit.go index 85413a37a..976b017aa 100644 --- a/pkg/api/quota/request_limit.go +++ b/pkg/api/quota/request_limit.go @@ -22,7 +22,7 @@ import ( "net/http" "time" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/utils/log" ) // requestLimitHandler diff --git a/pkg/api/resources.go b/pkg/api/resources.go index 6620bc558..a1c0263b0 100644 --- a/pkg/api/resources.go +++ b/pkg/api/resources.go @@ -20,7 +20,7 @@ import ( "net/url" "strconv" - "github.com/minio-io/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/storage/drivers" ) // parse bucket url queries diff --git a/pkg/api/web/web.go b/pkg/api/web/web.go index 4c8ec0a70..7efafe3bc 100644 --- a/pkg/api/web/web.go +++ b/pkg/api/web/web.go @@ -23,10 +23,10 @@ import ( "path" "github.com/gorilla/mux" - "github.com/minio-io/minio/pkg/api/config" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/utils/crypto/keys" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/api/config" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/utils/crypto/keys" + "github.com/minio/minio/pkg/utils/log" ) const ( diff --git a/pkg/erasure/CONTRIBUTING.md b/pkg/erasure/CONTRIBUTING.md index 1dfc6a0cb..649197d31 100644 --- a/pkg/erasure/CONTRIBUTING.md +++ b/pkg/erasure/CONTRIBUTING.md @@ -1,10 +1,10 @@ ### Setup your Erasure Github Repository -Fork [Erasure upstream](https://github.com/minio-io/erasure/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder. +Fork [Erasure upstream](https://github.com/minio/erasure/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder. ```sh $ git clone https://github.com/$USER_ID/erasure $ cd erasure -$ mkdir -p ${GOPATH}/src/github.com/minio-io -$ ln -s ${PWD} $GOPATH/src/github.com/minio-io/ +$ mkdir -p ${GOPATH}/src/github.com/minio +$ ln -s ${PWD} $GOPATH/src/github.com/minio/ ``` ### Compiling Erasure from source diff --git a/pkg/erasure/cauchy_test.go b/pkg/erasure/cauchy_test.go index 3be19cab0..0c783276f 100644 --- a/pkg/erasure/cauchy_test.go +++ b/pkg/erasure/cauchy_test.go @@ -20,7 +20,7 @@ import ( "bytes" "testing" - . "github.com/minio-io/check" + . "github.com/minio/check" ) type MySuite struct{} diff --git a/pkg/erasure/vandermonde_test.go b/pkg/erasure/vandermonde_test.go index 914f9c4ed..c126bdfd9 100644 --- a/pkg/erasure/vandermonde_test.go +++ b/pkg/erasure/vandermonde_test.go @@ -19,7 +19,7 @@ package erasure import ( "bytes" - . "github.com/minio-io/check" + . "github.com/minio/check" ) func corruptChunks(chunks [][]byte, errorIndex []int) [][]byte { diff --git a/pkg/iodine/iodine.go b/pkg/iodine/iodine.go index 36c56cfb2..b8ffd17b4 100644 --- a/pkg/iodine/iodine.go +++ b/pkg/iodine/iodine.go @@ -225,6 +225,6 @@ func init() { _, iodineFile, _, _ := runtime.Caller(0) iodineFile = path.Dir(iodineFile) // trim iodine.go iodineFile = path.Dir(iodineFile) // trim iodine - iodineFile = path.Dir(iodineFile) // trim minio-io + iodineFile = path.Dir(iodineFile) // trim minio gopath = path.Dir(iodineFile) + "/" // trim github.com } diff --git a/pkg/server/httpserver/httpserver.go b/pkg/server/httpserver/httpserver.go index 58766d042..9a5cc978a 100644 --- a/pkg/server/httpserver/httpserver.go +++ b/pkg/server/httpserver/httpserver.go @@ -19,7 +19,7 @@ package httpserver import ( "net/http" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/utils/log" ) // Config - http server config diff --git a/pkg/server/server.go b/pkg/server/server.go index 3d7b33af4..75630c188 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -22,13 +22,13 @@ import ( "reflect" "time" - "github.com/minio-io/minio/pkg/api" - "github.com/minio-io/minio/pkg/api/web" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/server/httpserver" - "github.com/minio-io/minio/pkg/storage/drivers/donut" - "github.com/minio-io/minio/pkg/storage/drivers/memory" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/api" + "github.com/minio/minio/pkg/api/web" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/server/httpserver" + "github.com/minio/minio/pkg/storage/drivers/donut" + "github.com/minio/minio/pkg/storage/drivers/memory" + "github.com/minio/minio/pkg/utils/log" ) // MemoryFactory is used to build memory api servers diff --git a/pkg/storage/donut/donut.go b/pkg/storage/donut/donut.go index 165629d60..83c3580d6 100644 --- a/pkg/storage/donut/donut.go +++ b/pkg/storage/donut/donut.go @@ -19,7 +19,7 @@ package donut import ( "errors" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/minio/pkg/iodine" ) // donut struct internal data diff --git a/pkg/storage/donut/donut_bucket.go b/pkg/storage/donut/donut_bucket.go index 475ffa13c..4ba4a0705 100644 --- a/pkg/storage/donut/donut_bucket.go +++ b/pkg/storage/donut/donut_bucket.go @@ -29,7 +29,7 @@ import ( "crypto/md5" "encoding/hex" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/minio/pkg/iodine" ) // internal struct carrying bucket specific information diff --git a/pkg/storage/donut/donut_bucket_internal.go b/pkg/storage/donut/donut_bucket_internal.go index 95f3e5704..5ab9d211e 100644 --- a/pkg/storage/donut/donut_bucket_internal.go +++ b/pkg/storage/donut/donut_bucket_internal.go @@ -29,8 +29,8 @@ import ( "strconv" "strings" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/utils/split" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/utils/split" ) /// This file contains all the internal functions used by Bucket interface diff --git a/pkg/storage/donut/donut_disk.go b/pkg/storage/donut/donut_disk.go index 53c47d3b3..da186896f 100644 --- a/pkg/storage/donut/donut_disk.go +++ b/pkg/storage/donut/donut_disk.go @@ -24,7 +24,7 @@ import ( "io/ioutil" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/minio/pkg/iodine" ) // internal disk struct diff --git a/pkg/storage/donut/donut_encoder.go b/pkg/storage/donut/donut_encoder.go index f4977e023..b5bfad076 100644 --- a/pkg/storage/donut/donut_encoder.go +++ b/pkg/storage/donut/donut_encoder.go @@ -20,8 +20,8 @@ import ( "errors" "strconv" - encoding "github.com/minio-io/minio/pkg/erasure" - "github.com/minio-io/minio/pkg/iodine" + encoding "github.com/minio/minio/pkg/erasure" + "github.com/minio/minio/pkg/iodine" ) // encoder internal struct diff --git a/pkg/storage/donut/donut_node.go b/pkg/storage/donut/donut_node.go index bc4316522..bd6b27dde 100644 --- a/pkg/storage/donut/donut_node.go +++ b/pkg/storage/donut/donut_node.go @@ -19,7 +19,7 @@ package donut import ( "errors" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/minio/pkg/iodine" ) // node struct internal diff --git a/pkg/storage/donut/donut_rebalance.go b/pkg/storage/donut/donut_rebalance.go index 0bddfce2a..4c4a85583 100644 --- a/pkg/storage/donut/donut_rebalance.go +++ b/pkg/storage/donut/donut_rebalance.go @@ -21,7 +21,7 @@ import ( "os" "strings" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/minio/pkg/iodine" ) // Rebalance - diff --git a/pkg/storage/donut/donut_test.go b/pkg/storage/donut/donut_test.go index 58eaad620..53c3418a1 100644 --- a/pkg/storage/donut/donut_test.go +++ b/pkg/storage/donut/donut_test.go @@ -28,7 +28,7 @@ import ( "testing" "time" - . "github.com/minio-io/check" + . "github.com/minio/check" ) func Test(t *testing.T) { TestingT(t) } diff --git a/pkg/storage/donut/management.go b/pkg/storage/donut/management.go index 56b3bfcc3..2fc5a4e17 100644 --- a/pkg/storage/donut/management.go +++ b/pkg/storage/donut/management.go @@ -5,7 +5,7 @@ import ( "errors" "path" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/minio/pkg/iodine" ) // Heal - heal a donut and fix bad data blocks diff --git a/pkg/storage/donut/objectstorage.go b/pkg/storage/donut/objectstorage.go index 4c07ff256..ac376ecde 100644 --- a/pkg/storage/donut/objectstorage.go +++ b/pkg/storage/donut/objectstorage.go @@ -24,7 +24,7 @@ import ( "strconv" "strings" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/minio/pkg/iodine" ) // MakeBucket - make a new bucket diff --git a/pkg/storage/donut/objectstorage_internal.go b/pkg/storage/donut/objectstorage_internal.go index 9511dba9e..73d190976 100644 --- a/pkg/storage/donut/objectstorage_internal.go +++ b/pkg/storage/donut/objectstorage_internal.go @@ -25,7 +25,7 @@ import ( "path" "strings" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/minio/pkg/iodine" ) /// This file contains all the internal functions used by Object interface diff --git a/pkg/storage/drivers/api_testsuite.go b/pkg/storage/drivers/api_testsuite.go index 29d228784..83cc1ed4e 100644 --- a/pkg/storage/drivers/api_testsuite.go +++ b/pkg/storage/drivers/api_testsuite.go @@ -26,8 +26,8 @@ import ( "time" - "github.com/minio-io/check" - "github.com/minio-io/minio/pkg/iodine" + "github.com/minio/check" + "github.com/minio/minio/pkg/iodine" ) // APITestSuite - collection of API tests diff --git a/pkg/storage/drivers/donut/donut.go b/pkg/storage/drivers/donut/donut.go index 2a2b5cb33..66ae946de 100644 --- a/pkg/storage/drivers/donut/donut.go +++ b/pkg/storage/drivers/donut/donut.go @@ -31,10 +31,10 @@ import ( "errors" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/storage/donut" - "github.com/minio-io/minio/pkg/storage/drivers" - "github.com/minio-io/minio/pkg/utils/log" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/storage/donut" + "github.com/minio/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/utils/log" ) // donutDriver - creates a new single disk drivers driver using donut diff --git a/pkg/storage/drivers/donut/donut_test.go b/pkg/storage/drivers/donut/donut_test.go index f3d33c8d4..712cd8b6e 100644 --- a/pkg/storage/drivers/donut/donut_test.go +++ b/pkg/storage/drivers/donut/donut_test.go @@ -21,8 +21,8 @@ import ( "os" "testing" - . "github.com/minio-io/check" - "github.com/minio-io/minio/pkg/storage/drivers" + . "github.com/minio/check" + "github.com/minio/minio/pkg/storage/drivers" ) func Test(t *testing.T) { TestingT(t) } diff --git a/pkg/storage/drivers/memory/memory.go b/pkg/storage/drivers/memory/memory.go index 5c95ce9ae..18c60b1a1 100644 --- a/pkg/storage/drivers/memory/memory.go +++ b/pkg/storage/drivers/memory/memory.go @@ -35,8 +35,8 @@ import ( "math/rand" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/storage/drivers" ) // memoryDriver - local variables diff --git a/pkg/storage/drivers/memory/memory_test.go b/pkg/storage/drivers/memory/memory_test.go index 3a2b9c96d..ea7ae4775 100644 --- a/pkg/storage/drivers/memory/memory_test.go +++ b/pkg/storage/drivers/memory/memory_test.go @@ -20,8 +20,8 @@ import ( "testing" "time" - . "github.com/minio-io/check" - "github.com/minio-io/minio/pkg/storage/drivers" + . "github.com/minio/check" + "github.com/minio/minio/pkg/storage/drivers" ) func Test(t *testing.T) { TestingT(t) } diff --git a/pkg/storage/drivers/mocks/Driver.go b/pkg/storage/drivers/mocks/Driver.go index 861d90cfb..52f5d7756 100644 --- a/pkg/storage/drivers/mocks/Driver.go +++ b/pkg/storage/drivers/mocks/Driver.go @@ -4,8 +4,8 @@ import ( "bytes" "io" - "github.com/minio-io/minio/pkg/iodine" - "github.com/minio-io/minio/pkg/storage/drivers" + "github.com/minio/minio/pkg/iodine" + "github.com/minio/minio/pkg/storage/drivers" "github.com/stretchr/testify/mock" ) diff --git a/pkg/utils/cpu/cpu_test.go b/pkg/utils/cpu/cpu_test.go index d62da5c17..8fa5ec31c 100644 --- a/pkg/utils/cpu/cpu_test.go +++ b/pkg/utils/cpu/cpu_test.go @@ -23,8 +23,8 @@ import ( "strings" "testing" - . "github.com/minio-io/check" - "github.com/minio-io/minio/pkg/utils/cpu" + . "github.com/minio/check" + "github.com/minio/minio/pkg/utils/cpu" ) func Test(t *testing.T) { TestingT(t) } diff --git a/pkg/utils/crypto/keys/keys_test.go b/pkg/utils/crypto/keys/keys_test.go index 2d7c830c5..f3a6017b0 100644 --- a/pkg/utils/crypto/keys/keys_test.go +++ b/pkg/utils/crypto/keys/keys_test.go @@ -19,8 +19,8 @@ package keys_test import ( "testing" - . "github.com/minio-io/check" - "github.com/minio-io/minio/pkg/utils/crypto/keys" + . "github.com/minio/check" + "github.com/minio/minio/pkg/utils/crypto/keys" ) func Test(t *testing.T) { TestingT(t) } diff --git a/pkg/utils/crypto/md5/md5_test.go b/pkg/utils/crypto/md5/md5_test.go index 24b092efa..1c0e14a6b 100644 --- a/pkg/utils/crypto/md5/md5_test.go +++ b/pkg/utils/crypto/md5/md5_test.go @@ -5,8 +5,8 @@ import ( "encoding/hex" "testing" - . "github.com/minio-io/check" - "github.com/minio-io/minio/pkg/utils/crypto/md5" + . "github.com/minio/check" + "github.com/minio/minio/pkg/utils/crypto/md5" ) func Test(t *testing.T) { TestingT(t) } diff --git a/pkg/utils/crypto/sha1/sha1_darwin.go b/pkg/utils/crypto/sha1/sha1_darwin.go index 66d4bd733..05a9cb333 100644 --- a/pkg/utils/crypto/sha1/sha1_darwin.go +++ b/pkg/utils/crypto/sha1/sha1_darwin.go @@ -14,7 +14,7 @@ import ( "hash" "io" - "github.com/minio-io/minio/pkg/utils/cpu" + "github.com/minio/minio/pkg/utils/cpu" ) // The size of a SHA1 checksum in bytes. diff --git a/pkg/utils/crypto/sha1/sha1_linux.go b/pkg/utils/crypto/sha1/sha1_linux.go index a3cd2e99e..d82cadc89 100644 --- a/pkg/utils/crypto/sha1/sha1_linux.go +++ b/pkg/utils/crypto/sha1/sha1_linux.go @@ -14,7 +14,7 @@ import ( "hash" "io" - "github.com/minio-io/minio/pkg/utils/cpu" + "github.com/minio/minio/pkg/utils/cpu" ) // The size of a SHA1 checksum in bytes. diff --git a/pkg/utils/crypto/sha256/sha256_linux.go b/pkg/utils/crypto/sha256/sha256_linux.go index 8a08df6ff..cfa7e7113 100644 --- a/pkg/utils/crypto/sha256/sha256_linux.go +++ b/pkg/utils/crypto/sha256/sha256_linux.go @@ -14,7 +14,7 @@ import ( "hash" "io" - "github.com/minio-io/minio/pkg/utils/cpu" + "github.com/minio/minio/pkg/utils/cpu" ) // The size of a SHA256 checksum in bytes. diff --git a/pkg/utils/crypto/sha512/sha512_linux.go b/pkg/utils/crypto/sha512/sha512_linux.go index 83ff22068..aaa94832a 100644 --- a/pkg/utils/crypto/sha512/sha512_linux.go +++ b/pkg/utils/crypto/sha512/sha512_linux.go @@ -15,7 +15,7 @@ import ( "hash" "io" - "github.com/minio-io/minio/pkg/utils/cpu" + "github.com/minio/minio/pkg/utils/cpu" ) // The size of a SHA512 checksum in bytes. diff --git a/pkg/utils/split/split_test.go b/pkg/utils/split/split_test.go index 8b679cfdd..de84c0e32 100644 --- a/pkg/utils/split/split_test.go +++ b/pkg/utils/split/split_test.go @@ -24,8 +24,8 @@ import ( "strconv" "testing" - . "github.com/minio-io/check" - "github.com/minio-io/minio/pkg/utils/split" + . "github.com/minio/check" + "github.com/minio/minio/pkg/utils/split" ) type MySuite struct{}