diff options
Diffstat (limited to 'plumbing/transport')
29 files changed, 90 insertions, 90 deletions
diff --git a/plumbing/transport/client/client.go b/plumbing/transport/client/client.go index ea1e034..a398a74 100644 --- a/plumbing/transport/client/client.go +++ b/plumbing/transport/client/client.go @@ -5,11 +5,11 @@ package client import ( "fmt" - "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" + "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" ) // Protocols are the protocols supported by default. diff --git a/plumbing/transport/client/client_test.go b/plumbing/transport/client/client_test.go index 0377d34..2b686b6 100644 --- a/plumbing/transport/client/client_test.go +++ b/plumbing/transport/client/client_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 8d38673..3e7a4f0 100644 --- a/plumbing/transport/client/example_test.go +++ b/plumbing/transport/client/example_test.go @@ -4,8 +4,8 @@ import ( "crypto/tls" "net/http" - "srcd.works/go-git.v4/plumbing/transport/client" - githttp "srcd.works/go-git.v4/plumbing/transport/http" + "gopkg.in/src-d/go-git.v4/plumbing/transport/client" + githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http" ) func ExampleInstallProtocol() { diff --git a/plumbing/transport/common.go b/plumbing/transport/common.go index 6144ffb..3fcdef2 100644 --- a/plumbing/transport/common.go +++ b/plumbing/transport/common.go @@ -19,9 +19,9 @@ import ( "net/url" "regexp" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "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" ) var ( diff --git a/plumbing/transport/common_test.go b/plumbing/transport/common_test.go index d6a07b4..e9a5efa 100644 --- a/plumbing/transport/common_test.go +++ b/plumbing/transport/common_test.go @@ -3,7 +3,7 @@ package transport import ( "testing" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/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 47a6adc..58e60db 100644 --- a/plumbing/transport/file/client.go +++ b/plumbing/transport/file/client.go @@ -5,8 +5,8 @@ import ( "io" "os/exec" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/internal/common" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 0e518e5..220df3d 100644 --- a/plumbing/transport/file/client_test.go +++ b/plumbing/transport/file/client_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 a2b0d89..5bbad44 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" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/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 11f819a..74085c2 100644 --- a/plumbing/transport/file/server.go +++ b/plumbing/transport/file/server.go @@ -4,10 +4,10 @@ import ( "fmt" "os" - "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" + "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" ) // 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 c25680f..e5915f0 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" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 fee3bf3..24134c1 100644 --- a/plumbing/transport/git/common.go +++ b/plumbing/transport/git/common.go @@ -7,10 +7,10 @@ import ( "net" "strings" - "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" + "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" ) // 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 6f614a7..d367a7f 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" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 3cc2bd4..baad12e 100644 --- a/plumbing/transport/http/common.go +++ b/plumbing/transport/http/common.go @@ -5,9 +5,9 @@ import ( "fmt" "net/http" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/transport" + "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" ) type client struct { diff --git a/plumbing/transport/http/common_test.go b/plumbing/transport/http/common_test.go index eaaeac9..1fd0dd5 100644 --- a/plumbing/transport/http/common_test.go +++ b/plumbing/transport/http/common_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 4f2d3e9..7a37049 100644 --- a/plumbing/transport/http/receive_pack.go +++ b/plumbing/transport/http/receive_pack.go @@ -4,8 +4,8 @@ import ( "errors" "net/http" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp" + "gopkg.in/src-d/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 679d3c9..fd1787c 100644 --- a/plumbing/transport/http/upload_pack.go +++ b/plumbing/transport/http/upload_pack.go @@ -7,12 +7,12 @@ import ( "net/http" "strconv" - "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" + "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" ) type upSession struct { diff --git a/plumbing/transport/http/upload_pack_test.go b/plumbing/transport/http/upload_pack_test.go index 2035ddc..a793efb 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" - "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/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" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/internal/common/common.go b/plumbing/transport/internal/common/common.go index d089978..f67ae29 100644 --- a/plumbing/transport/internal/common/common.go +++ b/plumbing/transport/internal/common/common.go @@ -13,11 +13,11 @@ import ( "strings" "time" - "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" + "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" ) const ( diff --git a/plumbing/transport/internal/common/server.go b/plumbing/transport/internal/common/server.go index 2137f8d..dd6cfbe 100644 --- a/plumbing/transport/internal/common/server.go +++ b/plumbing/transport/internal/common/server.go @@ -4,9 +4,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing/protocol/packp" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/utils/ioutil" + "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" ) // ServerCommand is used for a single server command execution. diff --git a/plumbing/transport/server/loader.go b/plumbing/transport/server/loader.go index 0804412..1c21a5d 100644 --- a/plumbing/transport/server/loader.go +++ b/plumbing/transport/server/loader.go @@ -1,12 +1,12 @@ package server import ( - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/storage/filesystem" + "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-billy.v1" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v1" + "gopkg.in/src-d/go-billy.v1/osfs" ) // DefaultLoader is a filesystem loader ignoring host and resolving paths to /. diff --git a/plumbing/transport/server/loader_test.go b/plumbing/transport/server/loader_test.go index d5d431a..b4a8c37 100644 --- a/plumbing/transport/server/loader_test.go +++ b/plumbing/transport/server/loader_test.go @@ -5,7 +5,7 @@ import ( "os/exec" "path/filepath" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 f7ba268..73ba60b 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 ( - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 c670d19..89fce5f 100644 --- a/plumbing/transport/server/server.go +++ b/plumbing/transport/server/server.go @@ -7,13 +7,13 @@ import ( "fmt" "io" - "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/revlist" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/plumbing/transport" + "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/revlist" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/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 b266196..2459ab2 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" - "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/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" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/server/upload_pack_test.go b/plumbing/transport/server/upload_pack_test.go index 4fc3be2..137f887 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 ( - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 5c50933..5ed64d4 100644 --- a/plumbing/transport/ssh/common.go +++ b/plumbing/transport/ssh/common.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/internal/common" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 2caa7b1..8194770 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" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/test" + "gopkg.in/src-d/go-git.v4/plumbing/transport" + "gopkg.in/src-d/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 2a6c098..f4be8c8 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" - "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/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" . "gopkg.in/check.v1" ) diff --git a/plumbing/transport/test/upload_pack.go b/plumbing/transport/test/upload_pack.go index 70b434a..06ae893 100644 --- a/plumbing/transport/test/upload_pack.go +++ b/plumbing/transport/test/upload_pack.go @@ -8,14 +8,14 @@ import ( "io" "io/ioutil" - "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/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" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) type UploadPackSuite struct { |