aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-03-07 12:58:18 +0100
committerAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-03-07 12:58:18 +0100
commit33e7c165c9fb5594821005b7ee55826e5a305487 (patch)
tree2f858902843f22379c80512c4b2f2dc1221723ad /storage
parentf64e4b856865bc37f45e55ef094060481b53928e (diff)
downloadgo-git-33e7c165c9fb5594821005b7ee55826e5a305487.tar.gz
project: move imports from srcd.works to gopkg.in
To be able to fix #261 we will move again to gopkg.in before v4 stable release.
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..1757150 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.v1/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..827269e 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.v1"
)
const (
diff --git a/storage/filesystem/internal/dotgit/dotgit_test.go b/storage/filesystem/internal/dotgit/dotgit_test.go
index 57dfb53..8c53f00 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.v1/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..13fa9bb 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.v1"
)
// 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..cb0dc95 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.v1/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..9381721 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.v1"
)
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..93da5d5 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.v1"
)
// 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..4510657 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.v1/memfs"
+ "gopkg.in/src-d/go-billy.v1/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"
)