aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-03-10 12:36:01 +0100
committerGitHub <noreply@github.com>2017-03-10 12:36:01 +0100
commit4eef16a98d093057f1e4c560da4ed3bbba67cd76 (patch)
treee09571ad1687f6ce747b6956728997e05432e0a9 /storage
parentf64e4b856865bc37f45e55ef094060481b53928e (diff)
parent8df64141e32abd9bd07d5dfd917c76a8a6dbe3f6 (diff)
downloadgo-git-4eef16a98d093057f1e4c560da4ed3bbba67cd76.tar.gz
Merge pull request #303 from ajnavarro/fix/gopkg-in
project: move imports from srcd.works to gopkg.in
Diffstat (limited to 'storage')
-rw-r--r--storage/filesystem/config.go4
-rw-r--r--storage/filesystem/config_test.go4
-rw-r--r--storage/filesystem/index.go4
-rw-r--r--storage/filesystem/internal/dotgit/dotgit.go6
-rw-r--r--storage/filesystem/internal/dotgit/dotgit_test.go4
-rw-r--r--storage/filesystem/internal/dotgit/writers.go10
-rw-r--r--storage/filesystem/internal/dotgit/writers_test.go2
-rw-r--r--storage/filesystem/module.go4
-rw-r--r--storage/filesystem/object.go18
-rw-r--r--storage/filesystem/object_test.go4
-rw-r--r--storage/filesystem/reference.go6
-rw-r--r--storage/filesystem/shallow.go4
-rw-r--r--storage/filesystem/storage.go4
-rw-r--r--storage/filesystem/storage_test.go6
-rw-r--r--storage/memory/storage.go10
-rw-r--r--storage/memory/storage_test.go2
-rw-r--r--storage/storer.go6
-rw-r--r--storage/test/storage_suite.go10
18 files changed, 54 insertions, 54 deletions
diff --git a/storage/filesystem/config.go b/storage/filesystem/config.go
index 4da70d4..cad698a 100644
--- a/storage/filesystem/config.go
+++ b/storage/filesystem/config.go
@@ -4,8 +4,8 @@ import (
"io/ioutil"
"os"
- "srcd.works/go-git.v4/config"
- "srcd.works/go-git.v4/storage/filesystem/internal/dotgit"
+ "gopkg.in/src-d/go-git.v4/config"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
)
type ConfigStorage struct {
diff --git a/storage/filesystem/config_test.go b/storage/filesystem/config_test.go
index 94665b6..b2879b3 100644
--- a/storage/filesystem/config_test.go
+++ b/storage/filesystem/config_test.go
@@ -5,10 +5,10 @@ import (
"os"
"github.com/src-d/go-git-fixtures"
- "srcd.works/go-git.v4/storage/filesystem/internal/dotgit"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
. "gopkg.in/check.v1"
- "srcd.works/go-billy.v1/osfs"
+ "gopkg.in/src-d/go-billy.v2/osfs"
)
type ConfigSuite struct {
diff --git a/storage/filesystem/index.go b/storage/filesystem/index.go
index 009b26f..456ef0b 100644
--- a/storage/filesystem/index.go
+++ b/storage/filesystem/index.go
@@ -3,8 +3,8 @@ package filesystem
import (
"os"
- "srcd.works/go-git.v4/plumbing/format/index"
- "srcd.works/go-git.v4/storage/filesystem/internal/dotgit"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/index"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
)
type IndexStorage struct {
diff --git a/storage/filesystem/internal/dotgit/dotgit.go b/storage/filesystem/internal/dotgit/dotgit.go
index b46f827..fdfcea7 100644
--- a/storage/filesystem/internal/dotgit/dotgit.go
+++ b/storage/filesystem/internal/dotgit/dotgit.go
@@ -9,10 +9,10 @@ import (
"os"
"strings"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/utils/ioutil"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/utils/ioutil"
- "srcd.works/go-billy.v1"
+ "gopkg.in/src-d/go-billy.v2"
)
const (
diff --git a/storage/filesystem/internal/dotgit/dotgit_test.go b/storage/filesystem/internal/dotgit/dotgit_test.go
index 57dfb53..4bfae1d 100644
--- a/storage/filesystem/internal/dotgit/dotgit_test.go
+++ b/storage/filesystem/internal/dotgit/dotgit_test.go
@@ -9,10 +9,10 @@ import (
"testing"
"github.com/src-d/go-git-fixtures"
- "srcd.works/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing"
. "gopkg.in/check.v1"
- "srcd.works/go-billy.v1/osfs"
+ "gopkg.in/src-d/go-billy.v2/osfs"
)
func Test(t *testing.T) { TestingT(t) }
diff --git a/storage/filesystem/internal/dotgit/writers.go b/storage/filesystem/internal/dotgit/writers.go
index 5949ace..0d2747f 100644
--- a/storage/filesystem/internal/dotgit/writers.go
+++ b/storage/filesystem/internal/dotgit/writers.go
@@ -5,12 +5,12 @@ import (
"io"
"sync/atomic"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/format/idxfile"
- "srcd.works/go-git.v4/plumbing/format/objfile"
- "srcd.works/go-git.v4/plumbing/format/packfile"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/objfile"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
- "srcd.works/go-billy.v1"
+ "gopkg.in/src-d/go-billy.v2"
)
// PackWriter is a io.Writer that generates the packfile index simultaneously,
diff --git a/storage/filesystem/internal/dotgit/writers_test.go b/storage/filesystem/internal/dotgit/writers_test.go
index d4da164..e7d7ef9 100644
--- a/storage/filesystem/internal/dotgit/writers_test.go
+++ b/storage/filesystem/internal/dotgit/writers_test.go
@@ -11,7 +11,7 @@ import (
"github.com/src-d/go-git-fixtures"
. "gopkg.in/check.v1"
- "srcd.works/go-billy.v1/osfs"
+ "gopkg.in/src-d/go-billy.v2/osfs"
)
func (s *SuiteDotGit) TestNewObjectPack(c *C) {
diff --git a/storage/filesystem/module.go b/storage/filesystem/module.go
index e8985d8..2e469d3 100644
--- a/storage/filesystem/module.go
+++ b/storage/filesystem/module.go
@@ -1,8 +1,8 @@
package filesystem
import (
- "srcd.works/go-git.v4/storage"
- "srcd.works/go-git.v4/storage/filesystem/internal/dotgit"
+ "gopkg.in/src-d/go-git.v4/storage"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
)
type ModuleStorage struct {
diff --git a/storage/filesystem/object.go b/storage/filesystem/object.go
index 904f6fe..1518256 100644
--- a/storage/filesystem/object.go
+++ b/storage/filesystem/object.go
@@ -4,15 +4,15 @@ import (
"io"
"os"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/format/idxfile"
- "srcd.works/go-git.v4/plumbing/format/objfile"
- "srcd.works/go-git.v4/plumbing/format/packfile"
- "srcd.works/go-git.v4/plumbing/storer"
- "srcd.works/go-git.v4/storage/filesystem/internal/dotgit"
- "srcd.works/go-git.v4/storage/memory"
-
- "srcd.works/go-billy.v1"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/objfile"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
+ "gopkg.in/src-d/go-git.v4/storage/memory"
+
+ "gopkg.in/src-d/go-billy.v2"
)
type ObjectStorage struct {
diff --git a/storage/filesystem/object_test.go b/storage/filesystem/object_test.go
index 2caa70c..d741fa2 100644
--- a/storage/filesystem/object_test.go
+++ b/storage/filesystem/object_test.go
@@ -2,8 +2,8 @@ package filesystem
import (
"github.com/src-d/go-git-fixtures"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/storage/filesystem/internal/dotgit"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
. "gopkg.in/check.v1"
)
diff --git a/storage/filesystem/reference.go b/storage/filesystem/reference.go
index cff00c9..49627d3 100644
--- a/storage/filesystem/reference.go
+++ b/storage/filesystem/reference.go
@@ -1,9 +1,9 @@
package filesystem
import (
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/storer"
- "srcd.works/go-git.v4/storage/filesystem/internal/dotgit"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
)
type ReferenceStorage struct {
diff --git a/storage/filesystem/shallow.go b/storage/filesystem/shallow.go
index edd95c8..ec8d20e 100644
--- a/storage/filesystem/shallow.go
+++ b/storage/filesystem/shallow.go
@@ -4,8 +4,8 @@ import (
"bufio"
"fmt"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/storage/filesystem/internal/dotgit"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
)
// ShallowStorage where the shallow commits are stored, an internal to
diff --git a/storage/filesystem/storage.go b/storage/filesystem/storage.go
index 9895507..6d58006 100644
--- a/storage/filesystem/storage.go
+++ b/storage/filesystem/storage.go
@@ -2,9 +2,9 @@
package filesystem
import (
- "srcd.works/go-git.v4/storage/filesystem/internal/dotgit"
+ "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
- "srcd.works/go-billy.v1"
+ "gopkg.in/src-d/go-billy.v2"
)
// Storage is an implementation of git.Storer that stores data on disk in the
diff --git a/storage/filesystem/storage_test.go b/storage/filesystem/storage_test.go
index 7300de7..02816f4 100644
--- a/storage/filesystem/storage_test.go
+++ b/storage/filesystem/storage_test.go
@@ -3,11 +3,11 @@ package filesystem
import (
"testing"
- "srcd.works/go-git.v4/storage/test"
+ "gopkg.in/src-d/go-git.v4/storage/test"
. "gopkg.in/check.v1"
- "srcd.works/go-billy.v1/memfs"
- "srcd.works/go-billy.v1/osfs"
+ "gopkg.in/src-d/go-billy.v2/memfs"
+ "gopkg.in/src-d/go-billy.v2/osfs"
)
func Test(t *testing.T) { TestingT(t) }
diff --git a/storage/memory/storage.go b/storage/memory/storage.go
index 92aeec9..2380fed 100644
--- a/storage/memory/storage.go
+++ b/storage/memory/storage.go
@@ -4,11 +4,11 @@ package memory
import (
"fmt"
- "srcd.works/go-git.v4/config"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/format/index"
- "srcd.works/go-git.v4/plumbing/storer"
- "srcd.works/go-git.v4/storage"
+ "gopkg.in/src-d/go-git.v4/config"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/index"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/storage"
)
var ErrUnsupportedObjectType = fmt.Errorf("unsupported object type")
diff --git a/storage/memory/storage_test.go b/storage/memory/storage_test.go
index e5b8d93..ee8fa93 100644
--- a/storage/memory/storage_test.go
+++ b/storage/memory/storage_test.go
@@ -4,7 +4,7 @@ import (
"testing"
. "gopkg.in/check.v1"
- "srcd.works/go-git.v4/storage/test"
+ "gopkg.in/src-d/go-git.v4/storage/test"
)
func Test(t *testing.T) { TestingT(t) }
diff --git a/storage/storer.go b/storage/storer.go
index d217209..50bfd55 100644
--- a/storage/storer.go
+++ b/storage/storer.go
@@ -1,12 +1,12 @@
package storage
import (
- "srcd.works/go-git.v4/config"
- "srcd.works/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/config"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
)
// Storer is a generic storage of objects, references and any information
-// related to a particular repository. The package srcd.works/go-git.v4/storage
+// related to a particular repository. The package gopkg.in/src-d/go-git.v4/storage
// contains two implementation a filesystem base implementation (such as `.git`)
// and a memory implementations being ephemeral
type Storer interface {
diff --git a/storage/test/storage_suite.go b/storage/test/storage_suite.go
index 2a10c78..5a7cf9d 100644
--- a/storage/test/storage_suite.go
+++ b/storage/test/storage_suite.go
@@ -7,11 +7,11 @@ import (
"io"
"io/ioutil"
- "srcd.works/go-git.v4/config"
- "srcd.works/go-git.v4/plumbing"
- "srcd.works/go-git.v4/plumbing/format/index"
- "srcd.works/go-git.v4/plumbing/storer"
- "srcd.works/go-git.v4/storage"
+ "gopkg.in/src-d/go-git.v4/config"
+ "gopkg.in/src-d/go-git.v4/plumbing"
+ "gopkg.in/src-d/go-git.v4/plumbing/format/index"
+ "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ "gopkg.in/src-d/go-git.v4/storage"
. "gopkg.in/check.v1"
)