aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/transport')
-rw-r--r--plumbing/transport/client/client.go10
-rw-r--r--plumbing/transport/client/client_test.go2
-rw-r--r--plumbing/transport/client/example_test.go4
-rw-r--r--plumbing/transport/common.go6
-rw-r--r--plumbing/transport/common_test.go2
-rw-r--r--plumbing/transport/file/client.go4
-rw-r--r--plumbing/transport/file/client_test.go2
-rw-r--r--plumbing/transport/file/receive_pack_test.go2
-rw-r--r--plumbing/transport/file/server.go8
-rw-r--r--plumbing/transport/file/upload_pack_test.go4
-rw-r--r--plumbing/transport/git/common.go8
-rw-r--r--plumbing/transport/git/upload_pack_test.go4
-rw-r--r--plumbing/transport/http/common.go6
-rw-r--r--plumbing/transport/http/common_test.go2
-rw-r--r--plumbing/transport/http/receive_pack.go4
-rw-r--r--plumbing/transport/http/upload_pack.go12
-rw-r--r--plumbing/transport/http/upload_pack_test.go8
-rw-r--r--plumbing/transport/internal/common/common.go10
-rw-r--r--plumbing/transport/internal/common/server.go6
-rw-r--r--plumbing/transport/server/loader.go6
-rw-r--r--plumbing/transport/server/loader_test.go2
-rw-r--r--plumbing/transport/server/receive_pack_test.go4
-rw-r--r--plumbing/transport/server/server.go16
-rw-r--r--plumbing/transport/server/server_test.go10
-rw-r--r--plumbing/transport/server/upload_pack_test.go4
-rw-r--r--plumbing/transport/ssh/common.go4
-rw-r--r--plumbing/transport/ssh/upload_pack_test.go4
-rw-r--r--plumbing/transport/test/receive_pack.go12
-rw-r--r--plumbing/transport/test/upload_pack.go12
29 files changed, 89 insertions, 89 deletions
diff --git a/plumbing/transport/client/client.go b/plumbing/transport/client/client.go
index 4615368..5ac1be2 100644
--- a/plumbing/transport/client/client.go
+++ b/plumbing/transport/client/client.go
@@ -3,11 +3,11 @@ package client
import (
"fmt"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/file"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/git"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/http"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/file"
+ "srcd.works/go-git.v4/plumbing/transport/git"
+ "srcd.works/go-git.v4/plumbing/transport/http"
+ "srcd.works/go-git.v4/plumbing/transport/ssh"
)
// Protocols are the protocols supported by default.
diff --git a/plumbing/transport/client/client_test.go b/plumbing/transport/client/client_test.go
index 2b2e0ff..a3715d2 100644
--- a/plumbing/transport/client/client_test.go
+++ b/plumbing/transport/client/client_test.go
@@ -5,7 +5,7 @@ import (
"net/http"
"testing"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/client/example_test.go b/plumbing/transport/client/example_test.go
index 3e7a4f0..8d38673 100644
--- a/plumbing/transport/client/example_test.go
+++ b/plumbing/transport/client/example_test.go
@@ -4,8 +4,8 @@ import (
"crypto/tls"
"net/http"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/client"
- githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http"
+ "srcd.works/go-git.v4/plumbing/transport/client"
+ githttp "srcd.works/go-git.v4/plumbing/transport/http"
)
func ExampleInstallProtocol() {
diff --git a/plumbing/transport/common.go b/plumbing/transport/common.go
index 3fcdef2..6144ffb 100644
--- a/plumbing/transport/common.go
+++ b/plumbing/transport/common.go
@@ -19,9 +19,9 @@ import (
"net/url"
"regexp"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability"
+ "srcd.works/go-git.v4/plumbing"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/protocol/packp/capability"
)
var (
diff --git a/plumbing/transport/common_test.go b/plumbing/transport/common_test.go
index e9a5efa..d6a07b4 100644
--- a/plumbing/transport/common_test.go
+++ b/plumbing/transport/common_test.go
@@ -3,7 +3,7 @@ package transport
import (
"testing"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability"
+ "srcd.works/go-git.v4/plumbing/protocol/packp/capability"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/file/client.go b/plumbing/transport/file/client.go
index e3f7681..7468426 100644
--- a/plumbing/transport/file/client.go
+++ b/plumbing/transport/file/client.go
@@ -4,8 +4,8 @@ import (
"io"
"os/exec"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/internal/common"
)
// DefaultClient is the default local client.
diff --git a/plumbing/transport/file/client_test.go b/plumbing/transport/file/client_test.go
index 220df3d..0e518e5 100644
--- a/plumbing/transport/file/client_test.go
+++ b/plumbing/transport/file/client_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/file/receive_pack_test.go b/plumbing/transport/file/receive_pack_test.go
index 5bbad44..a2b0d89 100644
--- a/plumbing/transport/file/receive_pack_test.go
+++ b/plumbing/transport/file/receive_pack_test.go
@@ -4,7 +4,7 @@ import (
"os"
"github.com/src-d/go-git-fixtures"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/test"
+ "srcd.works/go-git.v4/plumbing/transport/test"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/file/server.go b/plumbing/transport/file/server.go
index 74085c2..11f819a 100644
--- a/plumbing/transport/file/server.go
+++ b/plumbing/transport/file/server.go
@@ -4,10 +4,10 @@ import (
"fmt"
"os"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/server"
- "gopkg.in/src-d/go-git.v4/utils/ioutil"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/internal/common"
+ "srcd.works/go-git.v4/plumbing/transport/server"
+ "srcd.works/go-git.v4/utils/ioutil"
)
// ServeUploadPack serves a git-upload-pack request using standard output, input
diff --git a/plumbing/transport/file/upload_pack_test.go b/plumbing/transport/file/upload_pack_test.go
index e5915f0..c25680f 100644
--- a/plumbing/transport/file/upload_pack_test.go
+++ b/plumbing/transport/file/upload_pack_test.go
@@ -5,8 +5,8 @@ import (
"os"
"github.com/src-d/go-git-fixtures"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/test"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/test"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/git/common.go b/plumbing/transport/git/common.go
index 5eae22a..dd4bac4 100644
--- a/plumbing/transport/git/common.go
+++ b/plumbing/transport/git/common.go
@@ -6,10 +6,10 @@ import (
"net"
"strings"
- "gopkg.in/src-d/go-git.v4/plumbing/format/pktline"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common"
- "gopkg.in/src-d/go-git.v4/utils/ioutil"
+ "srcd.works/go-git.v4/plumbing/format/pktline"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/internal/common"
+ "srcd.works/go-git.v4/utils/ioutil"
)
// DefaultClient is the default git client.
diff --git a/plumbing/transport/git/upload_pack_test.go b/plumbing/transport/git/upload_pack_test.go
index d367a7f..6f614a7 100644
--- a/plumbing/transport/git/upload_pack_test.go
+++ b/plumbing/transport/git/upload_pack_test.go
@@ -2,8 +2,8 @@ package git
import (
"github.com/src-d/go-git-fixtures"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/test"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/test"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/http/common.go b/plumbing/transport/http/common.go
index a26cf0c..8ca5cc1 100644
--- a/plumbing/transport/http/common.go
+++ b/plumbing/transport/http/common.go
@@ -5,9 +5,9 @@ import (
"fmt"
"net/http"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/transport"
)
type client struct {
diff --git a/plumbing/transport/http/common_test.go b/plumbing/transport/http/common_test.go
index 1fd0dd5..eaaeac9 100644
--- a/plumbing/transport/http/common_test.go
+++ b/plumbing/transport/http/common_test.go
@@ -5,7 +5,7 @@ import (
"net/http"
"testing"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/http/receive_pack.go b/plumbing/transport/http/receive_pack.go
index 7a37049..4f2d3e9 100644
--- a/plumbing/transport/http/receive_pack.go
+++ b/plumbing/transport/http/receive_pack.go
@@ -4,8 +4,8 @@ import (
"errors"
"net/http"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/transport"
)
var errReceivePackNotSupported = errors.New("receive-pack not supported yet")
diff --git a/plumbing/transport/http/upload_pack.go b/plumbing/transport/http/upload_pack.go
index fd1787c..679d3c9 100644
--- a/plumbing/transport/http/upload_pack.go
+++ b/plumbing/transport/http/upload_pack.go
@@ -7,12 +7,12 @@ import (
"net/http"
"strconv"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/format/pktline"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common"
- "gopkg.in/src-d/go-git.v4/utils/ioutil"
+ "srcd.works/go-git.v4/plumbing"
+ "srcd.works/go-git.v4/plumbing/format/pktline"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/internal/common"
+ "srcd.works/go-git.v4/utils/ioutil"
)
type upSession struct {
diff --git a/plumbing/transport/http/upload_pack_test.go b/plumbing/transport/http/upload_pack_test.go
index a793efb..2035ddc 100644
--- a/plumbing/transport/http/upload_pack_test.go
+++ b/plumbing/transport/http/upload_pack_test.go
@@ -3,10 +3,10 @@ package http
import (
"io/ioutil"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/test"
+ "srcd.works/go-git.v4/plumbing"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/test"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/internal/common/common.go b/plumbing/transport/internal/common/common.go
index b459198..ab62a32 100644
--- a/plumbing/transport/internal/common/common.go
+++ b/plumbing/transport/internal/common/common.go
@@ -13,11 +13,11 @@ import (
"strings"
"time"
- "gopkg.in/src-d/go-git.v4/plumbing/format/pktline"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/utils/ioutil"
+ "srcd.works/go-git.v4/plumbing/format/pktline"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/protocol/packp/capability"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/utils/ioutil"
)
const (
diff --git a/plumbing/transport/internal/common/server.go b/plumbing/transport/internal/common/server.go
index dd6cfbe..2137f8d 100644
--- a/plumbing/transport/internal/common/server.go
+++ b/plumbing/transport/internal/common/server.go
@@ -4,9 +4,9 @@ import (
"fmt"
"io"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/utils/ioutil"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/utils/ioutil"
)
// ServerCommand is used for a single server command execution.
diff --git a/plumbing/transport/server/loader.go b/plumbing/transport/server/loader.go
index 7b5770b..0804412 100644
--- a/plumbing/transport/server/loader.go
+++ b/plumbing/transport/server/loader.go
@@ -1,9 +1,9 @@
package server
import (
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/storage/filesystem"
+ "srcd.works/go-git.v4/plumbing/storer"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/storage/filesystem"
"srcd.works/go-billy.v1"
"srcd.works/go-billy.v1/osfs"
diff --git a/plumbing/transport/server/loader_test.go b/plumbing/transport/server/loader_test.go
index b4a8c37..d5d431a 100644
--- a/plumbing/transport/server/loader_test.go
+++ b/plumbing/transport/server/loader_test.go
@@ -5,7 +5,7 @@ import (
"os/exec"
"path/filepath"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/server/receive_pack_test.go b/plumbing/transport/server/receive_pack_test.go
index 73ba60b..f7ba268 100644
--- a/plumbing/transport/server/receive_pack_test.go
+++ b/plumbing/transport/server/receive_pack_test.go
@@ -1,8 +1,8 @@
package server_test
import (
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/test"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/test"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/server/server.go b/plumbing/transport/server/server.go
index 542b439..832c127 100644
--- a/plumbing/transport/server/server.go
+++ b/plumbing/transport/server/server.go
@@ -7,14 +7,14 @@ import (
"fmt"
"io"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
- "gopkg.in/src-d/go-git.v4/plumbing/object"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability"
- "gopkg.in/src-d/go-git.v4/plumbing/revlist"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing"
+ "srcd.works/go-git.v4/plumbing/format/packfile"
+ "srcd.works/go-git.v4/plumbing/object"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/protocol/packp/capability"
+ "srcd.works/go-git.v4/plumbing/revlist"
+ "srcd.works/go-git.v4/plumbing/storer"
+ "srcd.works/go-git.v4/plumbing/transport"
)
var DefaultServer = NewServer(DefaultLoader)
diff --git a/plumbing/transport/server/server_test.go b/plumbing/transport/server/server_test.go
index 2459ab2..b266196 100644
--- a/plumbing/transport/server/server_test.go
+++ b/plumbing/transport/server/server_test.go
@@ -5,11 +5,11 @@ import (
"testing"
"github.com/src-d/go-git-fixtures"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/client"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/server"
- "gopkg.in/src-d/go-git.v4/storage/filesystem"
- "gopkg.in/src-d/go-git.v4/storage/memory"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/client"
+ "srcd.works/go-git.v4/plumbing/transport/server"
+ "srcd.works/go-git.v4/storage/filesystem"
+ "srcd.works/go-git.v4/storage/memory"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/server/upload_pack_test.go b/plumbing/transport/server/upload_pack_test.go
index 7ba1e74..d127522 100644
--- a/plumbing/transport/server/upload_pack_test.go
+++ b/plumbing/transport/server/upload_pack_test.go
@@ -1,8 +1,8 @@
package server_test
import (
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/test"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/test"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/ssh/common.go b/plumbing/transport/ssh/common.go
index 7d72d26..c65fff9 100644
--- a/plumbing/transport/ssh/common.go
+++ b/plumbing/transport/ssh/common.go
@@ -4,8 +4,8 @@ import (
"fmt"
"strings"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/internal/common"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/internal/common"
"golang.org/x/crypto/ssh"
)
diff --git a/plumbing/transport/ssh/upload_pack_test.go b/plumbing/transport/ssh/upload_pack_test.go
index 8194770..2caa7b1 100644
--- a/plumbing/transport/ssh/upload_pack_test.go
+++ b/plumbing/transport/ssh/upload_pack_test.go
@@ -3,8 +3,8 @@ package ssh
import (
"os"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/plumbing/transport/test"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/plumbing/transport/test"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/test/receive_pack.go b/plumbing/transport/test/receive_pack.go
index f4be8c8..2a6c098 100644
--- a/plumbing/transport/test/receive_pack.go
+++ b/plumbing/transport/test/receive_pack.go
@@ -9,12 +9,12 @@ import (
"io/ioutil"
"github.com/src-d/go-git-fixtures"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/storage/memory"
+ "srcd.works/go-git.v4/plumbing"
+ "srcd.works/go-git.v4/plumbing/format/packfile"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/protocol/packp/capability"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/storage/memory"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/transport/test/upload_pack.go b/plumbing/transport/test/upload_pack.go
index 06ae893..70b434a 100644
--- a/plumbing/transport/test/upload_pack.go
+++ b/plumbing/transport/test/upload_pack.go
@@ -8,14 +8,14 @@ import (
"io"
"io/ioutil"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
- "gopkg.in/src-d/go-git.v4/plumbing/transport"
- "gopkg.in/src-d/go-git.v4/storage/memory"
+ "srcd.works/go-git.v4/plumbing"
+ "srcd.works/go-git.v4/plumbing/format/packfile"
+ "srcd.works/go-git.v4/plumbing/protocol/packp"
+ "srcd.works/go-git.v4/plumbing/transport"
+ "srcd.works/go-git.v4/storage/memory"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability"
+ "srcd.works/go-git.v4/plumbing/protocol/packp/capability"
)
type UploadPackSuite struct {