Change all minio-io path to minio

This commit is contained in:
Harshavardhana
2015-05-11 16:23:10 -07:00
parent e39de4f603
commit 8d06504068
68 changed files with 127 additions and 127 deletions
+3 -3
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+3 -3
View File
@@ -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 (
+1 -1
View File
@@ -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
+6 -6
View File
@@ -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
+6 -6
View File
@@ -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) }
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"path"
"sync"
"github.com/minio-io/minio/pkg/iodine"
"github.com/minio/minio/pkg/iodine"
)
// Config context
+2 -2
View File
@@ -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{}
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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 {
+2 -2
View File
@@ -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
+1 -1
View File
@@ -21,7 +21,7 @@ import (
"net/http"
"sync"
"github.com/minio-io/minio/pkg/utils/log"
"github.com/minio/minio/pkg/utils/log"
)
// requestLimitHandler
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"net/http"
"time"
"github.com/minio-io/minio/pkg/utils/log"
"github.com/minio/minio/pkg/utils/log"
)
// requestLimitHandler
+1 -1
View File
@@ -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
+4 -4
View File
@@ -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 (
+3 -3
View File
@@ -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
+1 -1
View File
@@ -20,7 +20,7 @@ import (
"bytes"
"testing"
. "github.com/minio-io/check"
. "github.com/minio/check"
)
type MySuite struct{}
+1 -1
View File
@@ -19,7 +19,7 @@ package erasure
import (
"bytes"
. "github.com/minio-io/check"
. "github.com/minio/check"
)
func corruptChunks(chunks [][]byte, errorIndex []int) [][]byte {
+1 -1
View File
@@ -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
}
+1 -1
View File
@@ -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
+7 -7
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"io/ioutil"
"github.com/minio-io/minio/pkg/iodine"
"github.com/minio/minio/pkg/iodine"
)
// internal disk struct
+2 -2
View File
@@ -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
+1 -1
View File
@@ -19,7 +19,7 @@ package donut
import (
"errors"
"github.com/minio-io/minio/pkg/iodine"
"github.com/minio/minio/pkg/iodine"
)
// node struct internal
+1 -1
View File
@@ -21,7 +21,7 @@ import (
"os"
"strings"
"github.com/minio-io/minio/pkg/iodine"
"github.com/minio/minio/pkg/iodine"
)
// Rebalance -
+1 -1
View File
@@ -28,7 +28,7 @@ import (
"testing"
"time"
. "github.com/minio-io/check"
. "github.com/minio/check"
)
func Test(t *testing.T) { TestingT(t) }
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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
+4 -4
View File
@@ -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
+2 -2
View File
@@ -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) }
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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) }
+2 -2
View File
@@ -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"
)
+2 -2
View File
@@ -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) }
+2 -2
View File
@@ -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) }
+2 -2
View File
@@ -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) }
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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{}