From 33e7c165c9fb5594821005b7ee55826e5a305487 Mon Sep 17 00:00:00 2001 From: Antonio Jesus Navarro Perez Date: Tue, 7 Mar 2017 12:58:18 +0100 Subject: [PATCH 1/2] 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. --- .travis.yml | 8 +++--- Makefile | 2 +- README.md | 4 +-- _examples/clone/main.go | 4 +-- _examples/common_test.go | 2 +- _examples/custom_http/main.go | 10 +++---- _examples/log/main.go | 6 ++--- _examples/open/main.go | 4 +-- _examples/progress/main.go | 4 +-- _examples/push/main.go | 4 +-- _examples/remotes/main.go | 10 +++---- _examples/showcase/main.go | 6 ++--- blame.go | 6 ++--- blame_test.go | 2 +- cli/go-git/receive_pack.go | 2 +- cli/go-git/upload_pack.go | 2 +- common_test.go | 14 +++++----- config/config.go | 2 +- config/modules.go | 2 +- config/refspec.go | 2 +- config/refspec_test.go | 2 +- example_test.go | 10 +++---- options.go | 8 +++--- plumbing/cache/common.go | 2 +- plumbing/cache/object.go | 2 +- plumbing/cache/object_test.go | 2 +- plumbing/cache/queue.go | 2 +- plumbing/format/idxfile/decoder.go | 4 +-- plumbing/format/idxfile/decoder_test.go | 4 +-- plumbing/format/idxfile/encoder.go | 2 +- plumbing/format/idxfile/encoder_test.go | 2 +- plumbing/format/idxfile/idxfile.go | 2 +- plumbing/format/index/decoder.go | 4 +-- plumbing/format/index/decoder_test.go | 4 +-- plumbing/format/index/encoder.go | 2 +- plumbing/format/index/encoder_test.go | 2 +- plumbing/format/index/index.go | 4 +-- plumbing/format/objfile/common_test.go | 2 +- plumbing/format/objfile/reader.go | 4 +-- plumbing/format/objfile/reader_test.go | 2 +- plumbing/format/objfile/writer.go | 2 +- plumbing/format/objfile/writer_test.go | 2 +- plumbing/format/packfile/common.go | 2 +- plumbing/format/packfile/common_test.go | 2 +- plumbing/format/packfile/decoder.go | 6 ++--- plumbing/format/packfile/decoder_test.go | 14 +++++----- plumbing/format/packfile/delta_selector.go | 4 +-- .../format/packfile/delta_selector_test.go | 4 +-- plumbing/format/packfile/diff_delta.go | 2 +- plumbing/format/packfile/encoder.go | 6 ++--- plumbing/format/packfile/encoder_test.go | 4 +-- plumbing/format/packfile/object_pack.go | 2 +- plumbing/format/packfile/object_pack_test.go | 2 +- plumbing/format/packfile/patch_delta.go | 2 +- plumbing/format/packfile/scanner.go | 4 +-- plumbing/format/packfile/scanner_test.go | 2 +- plumbing/format/pktline/encoder_test.go | 2 +- plumbing/format/pktline/scanner_test.go | 2 +- plumbing/object/blob.go | 6 ++--- plumbing/object/blob_test.go | 2 +- plumbing/object/change.go | 2 +- plumbing/object/change_adaptor.go | 4 +-- plumbing/object/change_adaptor_test.go | 12 ++++----- plumbing/object/change_test.go | 10 +++---- plumbing/object/commit.go | 6 ++--- plumbing/object/commit_test.go | 4 +-- plumbing/object/commit_walker.go | 2 +- plumbing/object/difftree.go | 4 +-- plumbing/object/difftree_test.go | 14 +++++----- plumbing/object/file.go | 6 ++--- plumbing/object/file_test.go | 8 +++--- plumbing/object/object.go | 4 +-- plumbing/object/object_test.go | 8 +++--- plumbing/object/tag.go | 6 ++--- plumbing/object/tag_test.go | 6 ++--- plumbing/object/tree.go | 8 +++--- plumbing/object/tree_test.go | 8 +++--- plumbing/object/treenoder.go | 6 ++--- plumbing/protocol/packp/advrefs.go | 8 +++--- plumbing/protocol/packp/advrefs_decode.go | 4 +-- .../protocol/packp/advrefs_decode_test.go | 6 ++--- plumbing/protocol/packp/advrefs_encode.go | 6 ++--- .../protocol/packp/advrefs_encode_test.go | 6 ++--- plumbing/protocol/packp/advrefs_test.go | 6 ++--- plumbing/protocol/packp/common_test.go | 2 +- plumbing/protocol/packp/report_status.go | 4 +-- plumbing/protocol/packp/report_status_test.go | 4 +-- plumbing/protocol/packp/shallowupd.go | 4 +-- plumbing/protocol/packp/shallowupd_test.go | 2 +- plumbing/protocol/packp/sideband/demux.go | 2 +- .../protocol/packp/sideband/demux_test.go | 2 +- plumbing/protocol/packp/sideband/muxer.go | 2 +- plumbing/protocol/packp/srvresp.go | 4 +-- plumbing/protocol/packp/srvresp_test.go | 2 +- plumbing/protocol/packp/ulreq.go | 4 +-- plumbing/protocol/packp/ulreq_decode.go | 4 +-- plumbing/protocol/packp/ulreq_decode_test.go | 6 ++--- plumbing/protocol/packp/ulreq_encode.go | 4 +-- plumbing/protocol/packp/ulreq_encode_test.go | 6 ++--- plumbing/protocol/packp/ulreq_test.go | 6 ++--- plumbing/protocol/packp/updreq.go | 4 +-- plumbing/protocol/packp/updreq_decode.go | 4 +-- plumbing/protocol/packp/updreq_decode_test.go | 4 +-- plumbing/protocol/packp/updreq_encode.go | 6 ++--- plumbing/protocol/packp/updreq_encode_test.go | 4 +-- plumbing/protocol/packp/updreq_test.go | 2 +- plumbing/protocol/packp/uppackreq.go | 6 ++--- plumbing/protocol/packp/uppackreq_test.go | 4 +-- plumbing/protocol/packp/uppackresp.go | 4 +-- plumbing/protocol/packp/uppackresp_test.go | 4 +-- plumbing/revlist/revlist.go | 6 ++--- plumbing/revlist/revlist_test.go | 8 +++--- plumbing/storer/index.go | 2 +- plumbing/storer/object.go | 2 +- plumbing/storer/object_test.go | 2 +- plumbing/storer/reference.go | 2 +- plumbing/storer/reference_test.go | 2 +- plumbing/storer/shallow.go | 2 +- plumbing/transport/client/client.go | 10 +++---- plumbing/transport/client/client_test.go | 2 +- plumbing/transport/client/example_test.go | 4 +-- plumbing/transport/common.go | 6 ++--- plumbing/transport/common_test.go | 2 +- plumbing/transport/file/client.go | 4 +-- plumbing/transport/file/client_test.go | 2 +- plumbing/transport/file/receive_pack_test.go | 2 +- plumbing/transport/file/server.go | 8 +++--- plumbing/transport/file/upload_pack_test.go | 4 +-- plumbing/transport/git/common.go | 8 +++--- plumbing/transport/git/upload_pack_test.go | 4 +-- plumbing/transport/http/common.go | 6 ++--- plumbing/transport/http/common_test.go | 2 +- plumbing/transport/http/receive_pack.go | 4 +-- plumbing/transport/http/upload_pack.go | 12 ++++----- plumbing/transport/http/upload_pack_test.go | 8 +++--- plumbing/transport/internal/common/common.go | 10 +++---- plumbing/transport/internal/common/server.go | 6 ++--- plumbing/transport/server/loader.go | 10 +++---- plumbing/transport/server/loader_test.go | 2 +- .../transport/server/receive_pack_test.go | 4 +-- plumbing/transport/server/server.go | 14 +++++----- plumbing/transport/server/server_test.go | 10 +++---- plumbing/transport/server/upload_pack_test.go | 4 +-- plumbing/transport/ssh/common.go | 4 +-- plumbing/transport/ssh/upload_pack_test.go | 4 +-- plumbing/transport/test/receive_pack.go | 12 ++++----- plumbing/transport/test/upload_pack.go | 12 ++++----- references.go | 6 ++--- references_test.go | 4 +-- remote.go | 26 +++++++++---------- remote_test.go | 14 +++++----- repository.go | 20 +++++++------- repository_test.go | 14 +++++----- storage/filesystem/config.go | 4 +-- storage/filesystem/config_test.go | 4 +-- storage/filesystem/index.go | 4 +-- storage/filesystem/internal/dotgit/dotgit.go | 6 ++--- .../filesystem/internal/dotgit/dotgit_test.go | 4 +-- storage/filesystem/internal/dotgit/writers.go | 10 +++---- .../internal/dotgit/writers_test.go | 2 +- storage/filesystem/module.go | 4 +-- storage/filesystem/object.go | 18 ++++++------- storage/filesystem/object_test.go | 4 +-- storage/filesystem/reference.go | 6 ++--- storage/filesystem/shallow.go | 4 +-- storage/filesystem/storage.go | 4 +-- storage/filesystem/storage_test.go | 6 ++--- storage/memory/storage.go | 10 +++---- storage/memory/storage_test.go | 2 +- storage/storer.go | 6 ++--- storage/test/storage_suite.go | 10 +++---- submodule.go | 4 +-- submodule_test.go | 2 +- utils/binary/read.go | 2 +- utils/binary/read_test.go | 2 +- utils/diff/diff_ext_test.go | 2 +- utils/merkletrie/change.go | 2 +- utils/merkletrie/change_test.go | 6 ++--- utils/merkletrie/difftree.go | 2 +- utils/merkletrie/difftree_test.go | 4 +-- utils/merkletrie/doubleiter.go | 2 +- utils/merkletrie/internal/frame/frame.go | 2 +- utils/merkletrie/internal/frame/frame_test.go | 4 +-- utils/merkletrie/internal/fsnoder/dir.go | 2 +- utils/merkletrie/internal/fsnoder/dir_test.go | 2 +- utils/merkletrie/internal/fsnoder/file.go | 2 +- .../merkletrie/internal/fsnoder/file_test.go | 2 +- utils/merkletrie/internal/fsnoder/new.go | 2 +- utils/merkletrie/internal/fsnoder/new_test.go | 2 +- utils/merkletrie/iter.go | 4 +-- utils/merkletrie/iter_test.go | 6 ++--- worktree.go | 12 ++++----- worktree_darwin.go | 2 +- worktree_linux.go | 2 +- worktree_test.go | 8 +++--- 195 files changed, 483 insertions(+), 483 deletions(-) diff --git a/.travis.yml b/.travis.yml index e3c008541..026667601 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,10 +33,10 @@ before_install: - git config --global user.name "Travis CI" install: - - rm -rf $GOPATH/src/srcd.works - - mkdir -p $GOPATH/src/srcd.works - - ln -s $PWD $GOPATH/src/srcd.works/go-git.v4 - - cd $GOPATH/src/srcd.works/go-git.v4 + - rm -rf $GOPATH/src/gopkg.in/src-d + - mkdir -p $GOPATH/src/gopkg.in/src-d + - ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-git.v4 + - cd $GOPATH/src/gopkg.in/src-d/go-git.v4 - go get -v -t ./... script: diff --git a/Makefile b/Makefile index d3e7fdc5d..d576778f4 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ COVERAGE_PROFILE = profile.out COVERAGE_MODE = atomic ifneq ($(origin CI), undefined) - WORKDIR := $(GOPATH)/src/srcd.works/go-git.v4 + WORKDIR := $(GOPATH)/src/gopkg.in/src-d/go-git.v4 endif build-git: diff --git a/README.md b/README.md index 9417e2fee..cd6450f36 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# go-git [![GoDoc](https://godoc.org/srcd.works/go-git.v4?status.svg)](https://godoc.org/github.com/src-d/go-git) [![Build Status](https://travis-ci.org/src-d/go-git.svg)](https://travis-ci.org/src-d/go-git) [![codecov.io](https://codecov.io/github/src-d/go-git/coverage.svg)](https://codecov.io/github/src-d/go-git) [![codebeat badge](https://codebeat.co/badges/b6cb2f73-9e54-483d-89f9-4b95a911f40c)](https://codebeat.co/projects/github-com-src-d-go-git) +# go-git [![GoDoc](https://godoc.org/gopkg.in/src-d/go-git.v4?status.svg)](https://godoc.org/github.com/src-d/go-git) [![Build Status](https://travis-ci.org/src-d/go-git.svg)](https://travis-ci.org/src-d/go-git) [![codecov.io](https://codecov.io/github/src-d/go-git/coverage.svg)](https://codecov.io/github/src-d/go-git) [![codebeat badge](https://codebeat.co/badges/b6cb2f73-9e54-483d-89f9-4b95a911f40c)](https://codebeat.co/projects/github-com-src-d-go-git) A highly extensible git implementation in **pure Go**. @@ -20,7 +20,7 @@ Installation The recommended way to install *go-git* is: ``` -go get -u srcd.works/go-git.v4/... +go get -u gopkg.in/src-d/go-git.v4/... ``` diff --git a/_examples/clone/main.go b/_examples/clone/main.go index 27d043b4a..3b24af2a5 100644 --- a/_examples/clone/main.go +++ b/_examples/clone/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Basic example of how to clone a repository using clone options. diff --git a/_examples/common_test.go b/_examples/common_test.go index f65c1dcc1..cb101e2e1 100644 --- a/_examples/common_test.go +++ b/_examples/common_test.go @@ -66,7 +66,7 @@ func tempFolder() string { func packageFolder() string { return filepath.Join( build.Default.GOPATH, - "src", "srcd.works/go-git.v4", + "src", "gopkg.in/src-d/go-git.v4", ) } diff --git a/_examples/custom_http/main.go b/_examples/custom_http/main.go index f584da246..0d450805f 100644 --- a/_examples/custom_http/main.go +++ b/_examples/custom_http/main.go @@ -7,11 +7,11 @@ import ( "os" "time" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" - "srcd.works/go-git.v4/plumbing/transport/client" - githttp "srcd.works/go-git.v4/plumbing/transport/http" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4/plumbing/transport/client" + githttp "gopkg.in/src-d/go-git.v4/plumbing/transport/http" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // Here is an example to configure http client according to our own needs. diff --git a/_examples/log/main.go b/_examples/log/main.go index da856ace7..c77e5a536 100644 --- a/_examples/log/main.go +++ b/_examples/log/main.go @@ -3,9 +3,9 @@ package main import ( "fmt" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // Example of how to: diff --git a/_examples/open/main.go b/_examples/open/main.go index 9174588cc..a5364ede1 100644 --- a/_examples/open/main.go +++ b/_examples/open/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Open an existing repository in a specific folder. diff --git a/_examples/progress/main.go b/_examples/progress/main.go index 6d68f8492..357703c9f 100644 --- a/_examples/progress/main.go +++ b/_examples/progress/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Example of how to show the progress when you do a basic clone operation. diff --git a/_examples/push/main.go b/_examples/push/main.go index 809c26b08..89d7773f1 100644 --- a/_examples/push/main.go +++ b/_examples/push/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Example of how to open a repository in a specific path, and push to diff --git a/_examples/remotes/main.go b/_examples/remotes/main.go index 06ffdd12a..31c5cc574 100644 --- a/_examples/remotes/main.go +++ b/_examples/remotes/main.go @@ -3,11 +3,11 @@ package main import ( "fmt" - "srcd.works/go-git.v4" - . "srcd.works/go-git.v4/_examples" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + . "gopkg.in/src-d/go-git.v4/_examples" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // Example of how to: diff --git a/_examples/showcase/main.go b/_examples/showcase/main.go index 82c2acf10..7bd9d095f 100644 --- a/_examples/showcase/main.go +++ b/_examples/showcase/main.go @@ -5,10 +5,10 @@ import ( "os" "strings" - "srcd.works/go-git.v4" - "srcd.works/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4" + "gopkg.in/src-d/go-git.v4/plumbing/object" - . "srcd.works/go-git.v4/_examples" + . "gopkg.in/src-d/go-git.v4/_examples" ) // Example of an specific use case: diff --git a/blame.go b/blame.go index a88627fe8..2f0843d29 100644 --- a/blame.go +++ b/blame.go @@ -8,9 +8,9 @@ import ( "strings" "unicode/utf8" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/utils/diff" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/utils/diff" ) // BlameResult represents the result of a Blame operation. diff --git a/blame_test.go b/blame_test.go index 0b2126d58..be067e633 100644 --- a/blame_test.go +++ b/blame_test.go @@ -2,7 +2,7 @@ package git import ( "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" ) diff --git a/cli/go-git/receive_pack.go b/cli/go-git/receive_pack.go index fd44af503..0f96a2840 100644 --- a/cli/go-git/receive_pack.go +++ b/cli/go-git/receive_pack.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "srcd.works/go-git.v4/plumbing/transport/file" + "gopkg.in/src-d/go-git.v4/plumbing/transport/file" ) type CmdReceivePack struct { diff --git a/cli/go-git/upload_pack.go b/cli/go-git/upload_pack.go index e954d433b..da89de6f6 100644 --- a/cli/go-git/upload_pack.go +++ b/cli/go-git/upload_pack.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "srcd.works/go-git.v4/plumbing/transport/file" + "gopkg.in/src-d/go-git.v4/plumbing/transport/file" ) type CmdUploadPack struct { diff --git a/common_test.go b/common_test.go index 98c81b1f4..0462de24b 100644 --- a/common_test.go +++ b/common_test.go @@ -4,16 +4,16 @@ import ( "fmt" "testing" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/storage/filesystem" - "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/transport" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/memory" "github.com/src-d/go-git-fixtures" . "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/config/config.go b/config/config.go index 259ebf967..e8c99a969 100644 --- a/config/config.go +++ b/config/config.go @@ -6,7 +6,7 @@ import ( "errors" "fmt" - format "srcd.works/go-git.v4/plumbing/format/config" + format "gopkg.in/src-d/go-git.v4/plumbing/format/config" ) const ( diff --git a/config/modules.go b/config/modules.go index 3d01117c7..24ef304a0 100644 --- a/config/modules.go +++ b/config/modules.go @@ -4,7 +4,7 @@ import ( "bytes" "errors" - format "srcd.works/go-git.v4/plumbing/format/config" + format "gopkg.in/src-d/go-git.v4/plumbing/format/config" ) var ( diff --git a/config/refspec.go b/config/refspec.go index 9441df801..7e4106ad6 100644 --- a/config/refspec.go +++ b/config/refspec.go @@ -4,7 +4,7 @@ import ( "errors" "strings" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) const ( diff --git a/config/refspec_test.go b/config/refspec_test.go index 6672cd2ff..5ee610893 100644 --- a/config/refspec_test.go +++ b/config/refspec_test.go @@ -4,7 +4,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type RefSpecSuite struct{} diff --git a/example_test.go b/example_test.go index 2478a0201..c8731c9e3 100644 --- a/example_test.go +++ b/example_test.go @@ -8,12 +8,12 @@ import ( "os" "path/filepath" - "srcd.works/go-git.v4" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/memory" - "srcd.works/go-billy.v1/memfs" + "gopkg.in/src-d/go-billy.v1/memfs" ) func ExampleClone() { diff --git a/options.go b/options.go index d018356d6..1047d7eed 100644 --- a/options.go +++ b/options.go @@ -3,10 +3,10 @@ package git import ( "errors" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp/sideband" - "srcd.works/go-git.v4/plumbing/transport" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband" + "gopkg.in/src-d/go-git.v4/plumbing/transport" ) // SubmoduleRescursivity defines how depth will affect any submodule recursive diff --git a/plumbing/cache/common.go b/plumbing/cache/common.go index 8da5fb85a..7b90c55f5 100644 --- a/plumbing/cache/common.go +++ b/plumbing/cache/common.go @@ -1,6 +1,6 @@ package cache -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" const ( Byte FileSize = 1 << (iota * 10) diff --git a/plumbing/cache/object.go b/plumbing/cache/object.go index f1af4e30c..44238ce11 100644 --- a/plumbing/cache/object.go +++ b/plumbing/cache/object.go @@ -1,6 +1,6 @@ package cache -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" const ( initialQueueSize = 20 diff --git a/plumbing/cache/object_test.go b/plumbing/cache/object_test.go index e0d601a7e..80cd17b7e 100644 --- a/plumbing/cache/object_test.go +++ b/plumbing/cache/object_test.go @@ -4,7 +4,7 @@ import ( "io" "testing" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/cache/queue.go b/plumbing/cache/queue.go index 8c6d7d383..85413e0b7 100644 --- a/plumbing/cache/queue.go +++ b/plumbing/cache/queue.go @@ -1,6 +1,6 @@ package cache -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" // queue is a basic FIFO queue based on a circular list that resize as needed. type queue struct { diff --git a/plumbing/format/idxfile/decoder.go b/plumbing/format/idxfile/decoder.go index c1269a14c..66184757f 100644 --- a/plumbing/format/idxfile/decoder.go +++ b/plumbing/format/idxfile/decoder.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/idxfile/decoder_test.go b/plumbing/format/idxfile/decoder_test.go index 499762d1d..27aa59b56 100644 --- a/plumbing/format/idxfile/decoder_test.go +++ b/plumbing/format/idxfile/decoder_test.go @@ -7,8 +7,8 @@ import ( . "gopkg.in/check.v1" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" + "gopkg.in/src-d/go-git.v4/storage/memory" ) func Test(t *testing.T) { TestingT(t) } diff --git a/plumbing/format/idxfile/encoder.go b/plumbing/format/idxfile/encoder.go index 374d05351..71e1b3fdb 100644 --- a/plumbing/format/idxfile/encoder.go +++ b/plumbing/format/idxfile/encoder.go @@ -6,7 +6,7 @@ import ( "io" "sort" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/utils/binary" ) // Encoder writes Idxfile structs to an output stream. diff --git a/plumbing/format/idxfile/encoder_test.go b/plumbing/format/idxfile/encoder_test.go index 2804aee59..fab87b3c5 100644 --- a/plumbing/format/idxfile/encoder_test.go +++ b/plumbing/format/idxfile/encoder_test.go @@ -6,7 +6,7 @@ import ( . "gopkg.in/check.v1" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) func (s *IdxfileSuite) TestEncode(c *C) { diff --git a/plumbing/format/idxfile/idxfile.go b/plumbing/format/idxfile/idxfile.go index b39295a9a..5a718f3f8 100644 --- a/plumbing/format/idxfile/idxfile.go +++ b/plumbing/format/idxfile/idxfile.go @@ -1,6 +1,6 @@ package idxfile -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" const ( // VersionSupported is the only idx version supported. diff --git a/plumbing/format/index/decoder.go b/plumbing/format/index/decoder.go index 59581daf8..4bc5af125 100644 --- a/plumbing/format/index/decoder.go +++ b/plumbing/format/index/decoder.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/index/decoder_test.go b/plumbing/format/index/decoder_test.go index 3a6e0d499..fd83ffb1c 100644 --- a/plumbing/format/index/decoder_test.go +++ b/plumbing/format/index/decoder_test.go @@ -3,8 +3,8 @@ package index import ( "testing" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/format/index/encoder.go b/plumbing/format/index/encoder.go index bdb10c1d2..d568f15c5 100644 --- a/plumbing/format/index/encoder.go +++ b/plumbing/format/index/encoder.go @@ -9,7 +9,7 @@ import ( "sort" "time" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/index/encoder_test.go b/plumbing/format/index/encoder_test.go index a6a0ea23e..f76fafec8 100644 --- a/plumbing/format/index/encoder_test.go +++ b/plumbing/format/index/encoder_test.go @@ -6,7 +6,7 @@ import ( "time" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) func (s *IndexSuite) TestEncode(c *C) { diff --git a/plumbing/format/index/index.go b/plumbing/format/index/index.go index e70605871..ee50efde6 100644 --- a/plumbing/format/index/index.go +++ b/plumbing/format/index/index.go @@ -4,8 +4,8 @@ import ( "errors" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" ) var ( diff --git a/plumbing/format/objfile/common_test.go b/plumbing/format/objfile/common_test.go index 26cf76816..7c8b75c50 100644 --- a/plumbing/format/objfile/common_test.go +++ b/plumbing/format/objfile/common_test.go @@ -5,7 +5,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type objfileFixture struct { diff --git a/plumbing/format/objfile/reader.go b/plumbing/format/objfile/reader.go index 2bf97624a..e7e119cb1 100644 --- a/plumbing/format/objfile/reader.go +++ b/plumbing/format/objfile/reader.go @@ -6,8 +6,8 @@ import ( "io" "strconv" - "srcd.works/go-git.v4/plumbing" - "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/packfile" ) var ( diff --git a/plumbing/format/objfile/reader_test.go b/plumbing/format/objfile/reader_test.go index 2fcdc5b66..715792d54 100644 --- a/plumbing/format/objfile/reader_test.go +++ b/plumbing/format/objfile/reader_test.go @@ -8,7 +8,7 @@ import ( "io/ioutil" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type SuiteReader struct{} diff --git a/plumbing/format/objfile/writer.go b/plumbing/format/objfile/writer.go index 16199e586..555524340 100644 --- a/plumbing/format/objfile/writer.go +++ b/plumbing/format/objfile/writer.go @@ -6,7 +6,7 @@ import ( "io" "strconv" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) var ( diff --git a/plumbing/format/objfile/writer_test.go b/plumbing/format/objfile/writer_test.go index ae1031f4b..46dbea696 100644 --- a/plumbing/format/objfile/writer_test.go +++ b/plumbing/format/objfile/writer_test.go @@ -7,7 +7,7 @@ import ( "io" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type SuiteWriter struct{} diff --git a/plumbing/format/packfile/common.go b/plumbing/format/packfile/common.go index 930a80fd4..6402cd071 100644 --- a/plumbing/format/packfile/common.go +++ b/plumbing/format/packfile/common.go @@ -3,7 +3,7 @@ package packfile import ( "io" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) var signature = []byte{'P', 'A', 'C', 'K'} diff --git a/plumbing/format/packfile/common_test.go b/plumbing/format/packfile/common_test.go index 17d361ec0..387c0d1a1 100644 --- a/plumbing/format/packfile/common_test.go +++ b/plumbing/format/packfile/common_test.go @@ -3,7 +3,7 @@ package packfile import ( "testing" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/decoder.go b/plumbing/format/packfile/decoder.go index cd439b0d2..f3328efb7 100644 --- a/plumbing/format/packfile/decoder.go +++ b/plumbing/format/packfile/decoder.go @@ -3,9 +3,9 @@ package packfile import ( "bytes" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/cache" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/cache" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) // Format specifies if the packfile uses ref-deltas or ofs-deltas. diff --git a/plumbing/format/packfile/decoder_test.go b/plumbing/format/packfile/decoder_test.go index bc40b3047..16b0ca273 100644 --- a/plumbing/format/packfile/decoder_test.go +++ b/plumbing/format/packfile/decoder_test.go @@ -3,15 +3,15 @@ package packfile_test import ( "io" - "srcd.works/go-billy.v1/memfs" + "gopkg.in/src-d/go-billy.v1/memfs" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/idxfile" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "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/packfile" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "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/format/packfile/delta_selector.go b/plumbing/format/packfile/delta_selector.go index 83bfc27a0..a73a20918 100644 --- a/plumbing/format/packfile/delta_selector.go +++ b/plumbing/format/packfile/delta_selector.go @@ -3,8 +3,8 @@ package packfile import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) const ( diff --git a/plumbing/format/packfile/delta_selector_test.go b/plumbing/format/packfile/delta_selector_test.go index 2951ba781..9a8833f4a 100644 --- a/plumbing/format/packfile/delta_selector_test.go +++ b/plumbing/format/packfile/delta_selector_test.go @@ -1,8 +1,8 @@ package packfile import ( - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/diff_delta.go b/plumbing/format/packfile/diff_delta.go index c25e19477..40d450f93 100644 --- a/plumbing/format/packfile/diff_delta.go +++ b/plumbing/format/packfile/diff_delta.go @@ -3,7 +3,7 @@ package packfile import ( "io/ioutil" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) // See https://github.com/jelmer/dulwich/blob/master/dulwich/pack.py and diff --git a/plumbing/format/packfile/encoder.go b/plumbing/format/packfile/encoder.go index a0a13f815..ae8375247 100644 --- a/plumbing/format/packfile/encoder.go +++ b/plumbing/format/packfile/encoder.go @@ -6,9 +6,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/binary" ) // Encoder gets the data from the storage and write it into the writer in PACK diff --git a/plumbing/format/packfile/encoder_test.go b/plumbing/format/packfile/encoder_test.go index 749a808c2..fa01ed0bb 100644 --- a/plumbing/format/packfile/encoder_test.go +++ b/plumbing/format/packfile/encoder_test.go @@ -4,8 +4,8 @@ import ( "bytes" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/object_pack.go b/plumbing/format/packfile/object_pack.go index cc978f48b..a3e99c031 100644 --- a/plumbing/format/packfile/object_pack.go +++ b/plumbing/format/packfile/object_pack.go @@ -1,6 +1,6 @@ package packfile -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" // ObjectToPack is a representation of an object that is going to be into a // pack file. diff --git a/plumbing/format/packfile/object_pack_test.go b/plumbing/format/packfile/object_pack_test.go index 0d3f038b0..ddc7ab596 100644 --- a/plumbing/format/packfile/object_pack_test.go +++ b/plumbing/format/packfile/object_pack_test.go @@ -3,7 +3,7 @@ package packfile import ( "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/packfile/patch_delta.go b/plumbing/format/packfile/patch_delta.go index 1830cd770..840f84098 100644 --- a/plumbing/format/packfile/patch_delta.go +++ b/plumbing/format/packfile/patch_delta.go @@ -3,7 +3,7 @@ package packfile import ( "io/ioutil" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) // See https://github.com/git/git/blob/49fa3dc76179e04b0833542fa52d0f287a4955ac/delta.h diff --git a/plumbing/format/packfile/scanner.go b/plumbing/format/packfile/scanner.go index eeb4b3b15..d8cece677 100644 --- a/plumbing/format/packfile/scanner.go +++ b/plumbing/format/packfile/scanner.go @@ -10,8 +10,8 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/utils/binary" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/utils/binary" ) var ( diff --git a/plumbing/format/packfile/scanner_test.go b/plumbing/format/packfile/scanner_test.go index 5f9fe1bb0..f2aa5fb0d 100644 --- a/plumbing/format/packfile/scanner_test.go +++ b/plumbing/format/packfile/scanner_test.go @@ -6,7 +6,7 @@ import ( . "gopkg.in/check.v1" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type ScannerSuite struct { diff --git a/plumbing/format/pktline/encoder_test.go b/plumbing/format/pktline/encoder_test.go index 8bd844614..d1258af1d 100644 --- a/plumbing/format/pktline/encoder_test.go +++ b/plumbing/format/pktline/encoder_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/format/pktline/scanner_test.go b/plumbing/format/pktline/scanner_test.go index b3c8f3509..b8a78ec51 100644 --- a/plumbing/format/pktline/scanner_test.go +++ b/plumbing/format/pktline/scanner_test.go @@ -7,7 +7,7 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/blob.go b/plumbing/object/blob.go index 4c9e84d91..277141678 100644 --- a/plumbing/object/blob.go +++ b/plumbing/object/blob.go @@ -3,9 +3,9 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // Blob is used to store arbitrary data - it is generally a file. diff --git a/plumbing/object/blob_test.go b/plumbing/object/blob_test.go index 955aa463a..5ed9de0dd 100644 --- a/plumbing/object/blob_test.go +++ b/plumbing/object/blob_test.go @@ -4,7 +4,7 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/object/change.go b/plumbing/object/change.go index 5e32e5bc8..d29836de2 100644 --- a/plumbing/object/change.go +++ b/plumbing/object/change.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "srcd.works/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" ) // Change values represent a detected change between two git trees. For diff --git a/plumbing/object/change_adaptor.go b/plumbing/object/change_adaptor.go index e97fd9392..cf8de6cd0 100644 --- a/plumbing/object/change_adaptor.go +++ b/plumbing/object/change_adaptor.go @@ -3,8 +3,8 @@ package object import ( "fmt" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // The folowing functions transform changes types form the merkletrie diff --git a/plumbing/object/change_adaptor_test.go b/plumbing/object/change_adaptor_test.go index b42a3b3a3..566e6deb0 100644 --- a/plumbing/object/change_adaptor_test.go +++ b/plumbing/object/change_adaptor_test.go @@ -3,12 +3,12 @@ package object import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/change_test.go b/plumbing/object/change_test.go index 4a144fa33..3bab5d20c 100644 --- a/plumbing/object/change_test.go +++ b/plumbing/object/change_test.go @@ -3,11 +3,11 @@ package object import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" fixtures "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/commit.go b/plumbing/object/commit.go index 7238f5c98..fff4f5363 100644 --- a/plumbing/object/commit.go +++ b/plumbing/object/commit.go @@ -8,9 +8,9 @@ import ( "sort" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // Hash represents the hash of an object diff --git a/plumbing/object/commit_test.go b/plumbing/object/commit_test.go index be429061e..d30e1c48e 100644 --- a/plumbing/object/commit_test.go +++ b/plumbing/object/commit_test.go @@ -5,10 +5,10 @@ import ( "time" "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-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/filesystem" ) type SuiteCommit struct { diff --git a/plumbing/object/commit_walker.go b/plumbing/object/commit_walker.go index 8d70abe0f..b9860670a 100644 --- a/plumbing/object/commit_walker.go +++ b/plumbing/object/commit_walker.go @@ -3,7 +3,7 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type commitWalker struct { diff --git a/plumbing/object/difftree.go b/plumbing/object/difftree.go index 3bc29cb09..87a7153e2 100644 --- a/plumbing/object/difftree.go +++ b/plumbing/object/difftree.go @@ -3,8 +3,8 @@ package object import ( "bytes" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // DiffTree compares the content and mode of the blobs found via two diff --git a/plumbing/object/difftree_test.go b/plumbing/object/difftree_test.go index 11f6b23f8..eb68d4d31 100644 --- a/plumbing/object/difftree_test.go +++ b/plumbing/object/difftree_test.go @@ -3,13 +3,13 @@ package object import ( "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/format/packfile" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" - "srcd.works/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "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" + "gopkg.in/src-d/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/file.go b/plumbing/object/file.go index 5f24cf058..6932c31ab 100644 --- a/plumbing/object/file.go +++ b/plumbing/object/file.go @@ -5,9 +5,9 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // File represents git file objects. diff --git a/plumbing/object/file_test.go b/plumbing/object/file_test.go index 573664b28..8c8634d5d 100644 --- a/plumbing/object/file_test.go +++ b/plumbing/object/file_test.go @@ -3,10 +3,10 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/object.go b/plumbing/object/object.go index ca5c5415f..701145d05 100644 --- a/plumbing/object/object.go +++ b/plumbing/object/object.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) // ErrUnsupportedObject trigger when a non-supported object is being decoded. diff --git a/plumbing/object/object_test.go b/plumbing/object/object_test.go index 46b0065da..6d9028f94 100644 --- a/plumbing/object/object_test.go +++ b/plumbing/object/object_test.go @@ -6,10 +6,10 @@ import ( "testing" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/tag.go b/plumbing/object/tag.go index 549e337b1..2feeea747 100644 --- a/plumbing/object/tag.go +++ b/plumbing/object/tag.go @@ -7,9 +7,9 @@ import ( "io" stdioutil "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // Tag represents an annotated tag object. It points to a single git object of diff --git a/plumbing/object/tag_test.go b/plumbing/object/tag_test.go index 8fbd93235..deb961e7e 100644 --- a/plumbing/object/tag_test.go +++ b/plumbing/object/tag_test.go @@ -6,9 +6,9 @@ import ( "time" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing" + "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/object/tree.go b/plumbing/object/tree.go index 071d064c5..e70b5cd32 100644 --- a/plumbing/object/tree.go +++ b/plumbing/object/tree.go @@ -8,10 +8,10 @@ import ( "path" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) const ( diff --git a/plumbing/object/tree_test.go b/plumbing/object/tree_test.go index 69c046378..cf5ad5f57 100644 --- a/plumbing/object/tree_test.go +++ b/plumbing/object/tree_test.go @@ -3,10 +3,10 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" fixtures "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" diff --git a/plumbing/object/treenoder.go b/plumbing/object/treenoder.go index 80cd9b02e..4da82989d 100644 --- a/plumbing/object/treenoder.go +++ b/plumbing/object/treenoder.go @@ -11,9 +11,9 @@ package object import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) type treeNoder struct { diff --git a/plumbing/protocol/packp/advrefs.go b/plumbing/protocol/packp/advrefs.go index 6a5930608..7d644bcb0 100644 --- a/plumbing/protocol/packp/advrefs.go +++ b/plumbing/protocol/packp/advrefs.go @@ -4,10 +4,10 @@ import ( "fmt" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/memory" ) // AdvRefs values represent the information transmitted on an diff --git a/plumbing/protocol/packp/advrefs_decode.go b/plumbing/protocol/packp/advrefs_decode.go index 8b651a6b8..e0a449ef6 100644 --- a/plumbing/protocol/packp/advrefs_decode.go +++ b/plumbing/protocol/packp/advrefs_decode.go @@ -7,8 +7,8 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // Decode reads the next advertised-refs message form its input and diff --git a/plumbing/protocol/packp/advrefs_decode_test.go b/plumbing/protocol/packp/advrefs_decode_test.go index cac83f979..e9a01f851 100644 --- a/plumbing/protocol/packp/advrefs_decode_test.go +++ b/plumbing/protocol/packp/advrefs_decode_test.go @@ -5,9 +5,9 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "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/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/advrefs_encode.go b/plumbing/protocol/packp/advrefs_encode.go index 6baca778a..e981120e5 100644 --- a/plumbing/protocol/packp/advrefs_encode.go +++ b/plumbing/protocol/packp/advrefs_encode.go @@ -5,9 +5,9 @@ import ( "io" "sort" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "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/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) // Encode writes the AdvRefs encoding to a writer. diff --git a/plumbing/protocol/packp/advrefs_encode_test.go b/plumbing/protocol/packp/advrefs_encode_test.go index d40802121..f901440cf 100644 --- a/plumbing/protocol/packp/advrefs_encode_test.go +++ b/plumbing/protocol/packp/advrefs_encode_test.go @@ -4,9 +4,9 @@ import ( "bytes" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "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/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/advrefs_test.go b/plumbing/protocol/packp/advrefs_test.go index 38697fa5b..0180fd3f1 100644 --- a/plumbing/protocol/packp/advrefs_test.go +++ b/plumbing/protocol/packp/advrefs_test.go @@ -6,9 +6,9 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "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/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/common_test.go b/plumbing/protocol/packp/common_test.go index ab6a1e61e..c055fee71 100644 --- a/plumbing/protocol/packp/common_test.go +++ b/plumbing/protocol/packp/common_test.go @@ -5,7 +5,7 @@ import ( "io" "testing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/report_status.go b/plumbing/protocol/packp/report_status.go index dc83e361c..29c1a4cd8 100644 --- a/plumbing/protocol/packp/report_status.go +++ b/plumbing/protocol/packp/report_status.go @@ -6,8 +6,8 @@ import ( "io" "strings" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) const ( diff --git a/plumbing/protocol/packp/report_status_test.go b/plumbing/protocol/packp/report_status_test.go index d3681a9b6..1c3fa8113 100644 --- a/plumbing/protocol/packp/report_status_test.go +++ b/plumbing/protocol/packp/report_status_test.go @@ -3,8 +3,8 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/shallowupd.go b/plumbing/protocol/packp/shallowupd.go index 84ba867b9..40f58e883 100644 --- a/plumbing/protocol/packp/shallowupd.go +++ b/plumbing/protocol/packp/shallowupd.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) const ( diff --git a/plumbing/protocol/packp/shallowupd_test.go b/plumbing/protocol/packp/shallowupd_test.go index 117af22cc..97a13fcc5 100644 --- a/plumbing/protocol/packp/shallowupd_test.go +++ b/plumbing/protocol/packp/shallowupd_test.go @@ -3,7 +3,7 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/sideband/demux.go b/plumbing/protocol/packp/sideband/demux.go index f82adc221..352336dc6 100644 --- a/plumbing/protocol/packp/sideband/demux.go +++ b/plumbing/protocol/packp/sideband/demux.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // ErrMaxPackedExceeded returned by Read, if the maximum packed size is exceeded diff --git a/plumbing/protocol/packp/sideband/demux_test.go b/plumbing/protocol/packp/sideband/demux_test.go index 98e5059e6..3d2d6edaf 100644 --- a/plumbing/protocol/packp/sideband/demux_test.go +++ b/plumbing/protocol/packp/sideband/demux_test.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "testing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/sideband/muxer.go b/plumbing/protocol/packp/sideband/muxer.go index 9cbf4e70f..45fecc2cb 100644 --- a/plumbing/protocol/packp/sideband/muxer.go +++ b/plumbing/protocol/packp/sideband/muxer.go @@ -3,7 +3,7 @@ package sideband import ( "io" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // Muxer multiplex the packfile along with the progress messages and the error diff --git a/plumbing/protocol/packp/srvresp.go b/plumbing/protocol/packp/srvresp.go index 4c1d6db7e..0c89e47da 100644 --- a/plumbing/protocol/packp/srvresp.go +++ b/plumbing/protocol/packp/srvresp.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) const ackLineLen = 44 diff --git a/plumbing/protocol/packp/srvresp_test.go b/plumbing/protocol/packp/srvresp_test.go index c2287d67d..607885559 100644 --- a/plumbing/protocol/packp/srvresp_test.go +++ b/plumbing/protocol/packp/srvresp_test.go @@ -3,7 +3,7 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/ulreq.go b/plumbing/protocol/packp/ulreq.go index f0255597b..7832007b1 100644 --- a/plumbing/protocol/packp/ulreq.go +++ b/plumbing/protocol/packp/ulreq.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "srcd.works/go-git.v4/plumbing" - "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/capability" ) // UploadRequest values represent the information transmitted on a diff --git a/plumbing/protocol/packp/ulreq_decode.go b/plumbing/protocol/packp/ulreq_decode.go index 02237db82..bcd642db2 100644 --- a/plumbing/protocol/packp/ulreq_decode.go +++ b/plumbing/protocol/packp/ulreq_decode.go @@ -8,8 +8,8 @@ import ( "strconv" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // Decode reads the next upload-request form its input and diff --git a/plumbing/protocol/packp/ulreq_decode_test.go b/plumbing/protocol/packp/ulreq_decode_test.go index befef9f8a..82a4e1f72 100644 --- a/plumbing/protocol/packp/ulreq_decode_test.go +++ b/plumbing/protocol/packp/ulreq_decode_test.go @@ -6,9 +6,9 @@ import ( "sort" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "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/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/ulreq_encode.go b/plumbing/protocol/packp/ulreq_encode.go index a55a86e7d..4a26e74d5 100644 --- a/plumbing/protocol/packp/ulreq_encode.go +++ b/plumbing/protocol/packp/ulreq_encode.go @@ -6,8 +6,8 @@ import ( "io" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) // Encode writes the UlReq encoding of u to the stream. diff --git a/plumbing/protocol/packp/ulreq_encode_test.go b/plumbing/protocol/packp/ulreq_encode_test.go index 40d288860..0890678b9 100644 --- a/plumbing/protocol/packp/ulreq_encode_test.go +++ b/plumbing/protocol/packp/ulreq_encode_test.go @@ -4,9 +4,9 @@ import ( "bytes" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "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/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/ulreq_test.go b/plumbing/protocol/packp/ulreq_test.go index 0b0d4c07c..f000b9110 100644 --- a/plumbing/protocol/packp/ulreq_test.go +++ b/plumbing/protocol/packp/ulreq_test.go @@ -6,9 +6,9 @@ import ( "strings" "time" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "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/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/updreq.go b/plumbing/protocol/packp/updreq.go index 0f6a65ad5..062493028 100644 --- a/plumbing/protocol/packp/updreq.go +++ b/plumbing/protocol/packp/updreq.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing" - "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/capability" ) var ( diff --git a/plumbing/protocol/packp/updreq_decode.go b/plumbing/protocol/packp/updreq_decode.go index 9760ceb87..c15d49cfb 100644 --- a/plumbing/protocol/packp/updreq_decode.go +++ b/plumbing/protocol/packp/updreq_decode.go @@ -8,8 +8,8 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) var ( diff --git a/plumbing/protocol/packp/updreq_decode_test.go b/plumbing/protocol/packp/updreq_decode_test.go index 4c845ae32..c084334a2 100644 --- a/plumbing/protocol/packp/updreq_decode_test.go +++ b/plumbing/protocol/packp/updreq_decode_test.go @@ -5,8 +5,8 @@ import ( "io" "io/ioutil" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/updreq_encode.go b/plumbing/protocol/packp/updreq_encode.go index a800c52b4..44c05739d 100644 --- a/plumbing/protocol/packp/updreq_encode.go +++ b/plumbing/protocol/packp/updreq_encode.go @@ -4,9 +4,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "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/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) var ( diff --git a/plumbing/protocol/packp/updreq_encode_test.go b/plumbing/protocol/packp/updreq_encode_test.go index 9c29dff03..77b715d53 100644 --- a/plumbing/protocol/packp/updreq_encode_test.go +++ b/plumbing/protocol/packp/updreq_encode_test.go @@ -3,8 +3,8 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" . "gopkg.in/check.v1" "io/ioutil" diff --git a/plumbing/protocol/packp/updreq_test.go b/plumbing/protocol/packp/updreq_test.go index 72b5e3c0a..2412fbf0e 100644 --- a/plumbing/protocol/packp/updreq_test.go +++ b/plumbing/protocol/packp/updreq_test.go @@ -1,7 +1,7 @@ package packp import ( - "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/protocol/packp/uppackreq.go b/plumbing/protocol/packp/uppackreq.go index 2e6ad00fa..4bb22d0a0 100644 --- a/plumbing/protocol/packp/uppackreq.go +++ b/plumbing/protocol/packp/uppackreq.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/format/pktline" - "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/format/pktline" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" ) // UploadPackRequest represents a upload-pack request. diff --git a/plumbing/protocol/packp/uppackreq_test.go b/plumbing/protocol/packp/uppackreq_test.go index 204823680..f776c0757 100644 --- a/plumbing/protocol/packp/uppackreq_test.go +++ b/plumbing/protocol/packp/uppackreq_test.go @@ -3,8 +3,8 @@ package packp import ( "bytes" - "srcd.works/go-git.v4/plumbing" - "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/capability" . "gopkg.in/check.v1" ) diff --git a/plumbing/protocol/packp/uppackresp.go b/plumbing/protocol/packp/uppackresp.go index be74f39e1..ac456f3dc 100644 --- a/plumbing/protocol/packp/uppackresp.go +++ b/plumbing/protocol/packp/uppackresp.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" - "srcd.works/go-git.v4/utils/ioutil" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) // ErrUploadPackResponseNotDecoded is returned if Read is called without diff --git a/plumbing/protocol/packp/uppackresp_test.go b/plumbing/protocol/packp/uppackresp_test.go index 080d77933..c27fddac1 100644 --- a/plumbing/protocol/packp/uppackresp_test.go +++ b/plumbing/protocol/packp/uppackresp_test.go @@ -4,10 +4,10 @@ import ( "bytes" "io/ioutil" - "srcd.works/go-git.v4/plumbing/protocol/packp/capability" + "gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/capability" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type UploadPackResponseSuite struct{} diff --git a/plumbing/revlist/revlist.go b/plumbing/revlist/revlist.go index 573147493..eb9afaf59 100644 --- a/plumbing/revlist/revlist.go +++ b/plumbing/revlist/revlist.go @@ -6,9 +6,9 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/plumbing/storer" ) // Objects applies a complementary set. It gets all the hashes from all diff --git a/plumbing/revlist/revlist_test.go b/plumbing/revlist/revlist_test.go index ca69975eb..0baf27eef 100644 --- a/plumbing/revlist/revlist_test.go +++ b/plumbing/revlist/revlist_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage/filesystem" . "gopkg.in/check.v1" ) diff --git a/plumbing/storer/index.go b/plumbing/storer/index.go index 8148454d2..e087296ec 100644 --- a/plumbing/storer/index.go +++ b/plumbing/storer/index.go @@ -1,6 +1,6 @@ package storer -import "srcd.works/go-git.v4/plumbing/format/index" +import "gopkg.in/src-d/go-git.v4/plumbing/format/index" // IndexStorer generic storage of index.Index type IndexStorer interface { diff --git a/plumbing/storer/object.go b/plumbing/storer/object.go index 30ab6892d..a733ee6f0 100644 --- a/plumbing/storer/object.go +++ b/plumbing/storer/object.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) var ( diff --git a/plumbing/storer/object_test.go b/plumbing/storer/object_test.go index 5726156f8..6bdd25c68 100644 --- a/plumbing/storer/object_test.go +++ b/plumbing/storer/object_test.go @@ -5,7 +5,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) func Test(t *testing.T) { TestingT(t) } diff --git a/plumbing/storer/reference.go b/plumbing/storer/reference.go index d821ecf6f..bc063b6ac 100644 --- a/plumbing/storer/reference.go +++ b/plumbing/storer/reference.go @@ -4,7 +4,7 @@ import ( "errors" "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) const MaxResolveRecursion = 1024 diff --git a/plumbing/storer/reference_test.go b/plumbing/storer/reference_test.go index ff7bd68b6..ee6c95d84 100644 --- a/plumbing/storer/reference_test.go +++ b/plumbing/storer/reference_test.go @@ -5,7 +5,7 @@ import ( "io" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type ReferenceSuite struct{} diff --git a/plumbing/storer/shallow.go b/plumbing/storer/shallow.go index a38e751fe..39aaaa540 100644 --- a/plumbing/storer/shallow.go +++ b/plumbing/storer/shallow.go @@ -1,6 +1,6 @@ package storer -import "srcd.works/go-git.v4/plumbing" +import "gopkg.in/src-d/go-git.v4/plumbing" // ShallowStorer is a storage of references to shallow commits by hash, // meaning that these commits have missing parents because of a shallow fetch. diff --git a/plumbing/transport/client/client.go b/plumbing/transport/client/client.go index ea1e03478..a398a743f 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 0377d3473..2b686b68d 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 8d38673ab..3e7a4f06c 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 6144ffb9d..3fcdef24d 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 d6a07b419..e9a5efad7 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 47a6adcf9..58e60dbc3 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 0e518e509..220df3d3e 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 a2b0d8945..5bbad4487 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 11f819aba..74085c276 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 c25680f30..e5915f04b 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 fee3bf365..24134c1b2 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 6f614a7ea..d367a7f34 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 3cc2bd401..baad12ec6 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 eaaeac93b..1fd0dd535 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 4f2d3e9c5..7a3704927 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 679d3c968..fd1787c95 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 2035ddcff..a793efb9e 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 d08997868..f67ae29c5 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 2137f8d9a..dd6cfbea3 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 0804412b2..1c21a5d23 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 d5d431a94..b4a8c37c7 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 f7ba268de..73ba60b6e 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 c670d1939..89fce5f65 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 b266196cd..2459ab282 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 4fc3be21e..137f88785 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 5c50933f2..5ed64d464 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 2caa7b143..8194770d4 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 2a6c098f9..f4be8c85e 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 70b434a88..06ae893d7 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 { diff --git a/references.go b/references.go index 68a54a67b..957d7410d 100644 --- a/references.go +++ b/references.go @@ -3,9 +3,9 @@ package git import ( "io" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/utils/diff" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/utils/diff" "github.com/sergi/go-diff/diffmatchpatch" ) diff --git a/references_test.go b/references_test.go index 74cf7deea..af59c059a 100644 --- a/references_test.go +++ b/references_test.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" . "gopkg.in/check.v1" ) diff --git a/remote.go b/remote.go index 580e6b03e..ca6b33eea 100644 --- a/remote.go +++ b/remote.go @@ -5,19 +5,19 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/config" - "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/protocol/packp/sideband" - "srcd.works/go-git.v4/plumbing/revlist" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/plumbing/transport" - "srcd.works/go-git.v4/plumbing/transport/client" - "srcd.works/go-git.v4/storage" - "srcd.works/go-git.v4/storage/memory" - "srcd.works/go-git.v4/utils/ioutil" + "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/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/protocol/packp/sideband" + "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" + "gopkg.in/src-d/go-git.v4/plumbing/transport/client" + "gopkg.in/src-d/go-git.v4/storage" + "gopkg.in/src-d/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/utils/ioutil" ) var NoErrAlreadyUpToDate = errors.New("already up-to-date") diff --git a/remote_test.go b/remote_test.go index e13ef2070..784cfaa28 100644 --- a/remote_test.go +++ b/remote_test.go @@ -8,15 +8,15 @@ import ( "os" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/config" + "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" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v1/osfs" ) type RemoteSuite struct { diff --git a/repository.go b/repository.go index c065a266c..276119c11 100644 --- a/repository.go +++ b/repository.go @@ -6,16 +6,16 @@ import ( "os" "path/filepath" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/internal/revision" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/plumbing/storer" - "srcd.works/go-git.v4/storage" - "srcd.works/go-git.v4/storage/filesystem" - - "srcd.works/go-billy.v1" - "srcd.works/go-billy.v1/osfs" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/internal/revision" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/plumbing/storer" + "gopkg.in/src-d/go-git.v4/storage" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + + "gopkg.in/src-d/go-billy.v1" + "gopkg.in/src-d/go-billy.v1/osfs" ) var ( diff --git a/repository_test.go b/repository_test.go index 89ea188c9..b4e085d91 100644 --- a/repository_test.go +++ b/repository_test.go @@ -10,15 +10,15 @@ import ( "strings" "github.com/src-d/go-git-fixtures" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/object" - "srcd.works/go-git.v4/storage/filesystem" - "srcd.works/go-git.v4/storage/memory" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/storage/filesystem" + "gopkg.in/src-d/go-git.v4/storage/memory" . "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" ) type RepositorySuite struct { diff --git a/storage/filesystem/config.go b/storage/filesystem/config.go index 4da70d484..cad698a4a 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 94665b648..17571502d 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 009b26f86..456ef0b89 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 b46f8271c..827269e26 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 57dfb5343..8c53f007a 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 5949ace28..13fa9bb92 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 d4da1641f..cb0dc954f 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 e8985d826..2e469d375 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 904f6fea3..9381721dd 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 2caa70c2d..d741fa297 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 cff00c915..49627d354 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 edd95c81d..ec8d20e89 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 989550797..93da5d5af 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 7300de7ba..4510657be 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 92aeec9a7..2380fedbe 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 e5b8d93b3..ee8fa938c 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 d21720971..50bfd55c8 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 2a10c7836..5a7cf9d8e 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" ) diff --git a/submodule.go b/submodule.go index e329fda0e..69c5d75c8 100644 --- a/submodule.go +++ b/submodule.go @@ -3,8 +3,8 @@ package git import ( "errors" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" ) var ( diff --git a/submodule_test.go b/submodule_test.go index a933965a3..e367a10fc 100644 --- a/submodule_test.go +++ b/submodule_test.go @@ -9,7 +9,7 @@ import ( "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) type SubmoduleSuite struct { diff --git a/utils/binary/read.go b/utils/binary/read.go index 7cd6184d1..0bcf11a6d 100644 --- a/utils/binary/read.go +++ b/utils/binary/read.go @@ -6,7 +6,7 @@ import ( "encoding/binary" "io" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) // Read reads structured binary data from r into data. Bytes are read and diff --git a/utils/binary/read_test.go b/utils/binary/read_test.go index bab525c9b..59dbc30ec 100644 --- a/utils/binary/read_test.go +++ b/utils/binary/read_test.go @@ -6,7 +6,7 @@ import ( "testing" . "gopkg.in/check.v1" - "srcd.works/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing" ) func Test(t *testing.T) { TestingT(t) } diff --git a/utils/diff/diff_ext_test.go b/utils/diff/diff_ext_test.go index b36fa6249..adda27691 100644 --- a/utils/diff/diff_ext_test.go +++ b/utils/diff/diff_ext_test.go @@ -3,7 +3,7 @@ package diff_test import ( "testing" - "srcd.works/go-git.v4/utils/diff" + "gopkg.in/src-d/go-git.v4/utils/diff" "github.com/sergi/go-diff/diffmatchpatch" . "gopkg.in/check.v1" diff --git a/utils/merkletrie/change.go b/utils/merkletrie/change.go index e6c99f68d..0b50ca71d 100644 --- a/utils/merkletrie/change.go +++ b/utils/merkletrie/change.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // Action values represent the kind of things a Change can represent: diff --git a/utils/merkletrie/change_test.go b/utils/merkletrie/change_test.go index 4f908ce1b..c849f5fe6 100644 --- a/utils/merkletrie/change_test.go +++ b/utils/merkletrie/change_test.go @@ -1,9 +1,9 @@ package merkletrie_test import ( - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/internal/fsnoder" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/difftree.go b/utils/merkletrie/difftree.go index 7bea55f0e..074886554 100644 --- a/utils/merkletrie/difftree.go +++ b/utils/merkletrie/difftree.go @@ -250,7 +250,7 @@ package merkletrie import ( "fmt" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // DiffTree calculates the list of changes between two merkletries. It diff --git a/utils/merkletrie/difftree_test.go b/utils/merkletrie/difftree_test.go index c3fb4f1f6..dd5b11dac 100644 --- a/utils/merkletrie/difftree_test.go +++ b/utils/merkletrie/difftree_test.go @@ -9,8 +9,8 @@ import ( "testing" "unicode" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/internal/fsnoder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/doubleiter.go b/utils/merkletrie/doubleiter.go index 6f5e53876..e56dee701 100644 --- a/utils/merkletrie/doubleiter.go +++ b/utils/merkletrie/doubleiter.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // A doubleIter is a convenience type to keep track of the current diff --git a/utils/merkletrie/internal/frame/frame.go b/utils/merkletrie/internal/frame/frame.go index fd0630781..a0b042ee6 100644 --- a/utils/merkletrie/internal/frame/frame.go +++ b/utils/merkletrie/internal/frame/frame.go @@ -6,7 +6,7 @@ import ( "sort" "strings" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // A Frame is a collection of siblings in a trie, sorted alphabetically diff --git a/utils/merkletrie/internal/frame/frame_test.go b/utils/merkletrie/internal/frame/frame_test.go index 516d78b1d..7d74b1e92 100644 --- a/utils/merkletrie/internal/frame/frame_test.go +++ b/utils/merkletrie/internal/frame/frame_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - "srcd.works/go-git.v4/utils/merkletrie/internal/fsnoder" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/internal/fsnoder/dir.go b/utils/merkletrie/internal/fsnoder/dir.go index e50de5c60..1811de971 100644 --- a/utils/merkletrie/internal/fsnoder/dir.go +++ b/utils/merkletrie/internal/fsnoder/dir.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // Dir values implement directory-like noders. diff --git a/utils/merkletrie/internal/fsnoder/dir_test.go b/utils/merkletrie/internal/fsnoder/dir_test.go index 57d08a0b1..df5aacc1f 100644 --- a/utils/merkletrie/internal/fsnoder/dir_test.go +++ b/utils/merkletrie/internal/fsnoder/dir_test.go @@ -4,7 +4,7 @@ import ( "reflect" "sort" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/internal/fsnoder/file.go b/utils/merkletrie/internal/fsnoder/file.go index 5a7e7ebbf..c975a6048 100644 --- a/utils/merkletrie/internal/fsnoder/file.go +++ b/utils/merkletrie/internal/fsnoder/file.go @@ -5,7 +5,7 @@ import ( "fmt" "hash/fnv" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // file values represent file-like noders in a merkle trie. diff --git a/utils/merkletrie/internal/fsnoder/file_test.go b/utils/merkletrie/internal/fsnoder/file_test.go index 54fe89d4e..730ae7c73 100644 --- a/utils/merkletrie/internal/fsnoder/file_test.go +++ b/utils/merkletrie/internal/fsnoder/file_test.go @@ -3,7 +3,7 @@ package fsnoder import ( "testing" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/internal/fsnoder/new.go b/utils/merkletrie/internal/fsnoder/new.go index f3c6ae923..1e3302042 100644 --- a/utils/merkletrie/internal/fsnoder/new.go +++ b/utils/merkletrie/internal/fsnoder/new.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // New function creates a full merkle trie from the string description of diff --git a/utils/merkletrie/internal/fsnoder/new_test.go b/utils/merkletrie/internal/fsnoder/new_test.go index 20f028b2f..805772f97 100644 --- a/utils/merkletrie/internal/fsnoder/new_test.go +++ b/utils/merkletrie/internal/fsnoder/new_test.go @@ -1,7 +1,7 @@ package fsnoder import ( - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/utils/merkletrie/iter.go b/utils/merkletrie/iter.go index 44cba706a..c84f6fcc8 100644 --- a/utils/merkletrie/iter.go +++ b/utils/merkletrie/iter.go @@ -4,8 +4,8 @@ import ( "fmt" "io" - "srcd.works/go-git.v4/utils/merkletrie/internal/frame" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/frame" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" ) // Iter is an iterator for merkletries (only the trie part of the diff --git a/utils/merkletrie/iter_test.go b/utils/merkletrie/iter_test.go index fa7c5f510..ba28f0b03 100644 --- a/utils/merkletrie/iter_test.go +++ b/utils/merkletrie/iter_test.go @@ -5,9 +5,9 @@ import ( "io" "strings" - "srcd.works/go-git.v4/utils/merkletrie" - "srcd.works/go-git.v4/utils/merkletrie/internal/fsnoder" - "srcd.works/go-git.v4/utils/merkletrie/noder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/internal/fsnoder" + "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder" . "gopkg.in/check.v1" ) diff --git a/worktree.go b/worktree.go index 36b17b633..336f4bfe0 100644 --- a/worktree.go +++ b/worktree.go @@ -7,13 +7,13 @@ import ( "io/ioutil" "os" - "srcd.works/go-git.v4/config" - "srcd.works/go-git.v4/plumbing" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/format/index" - "srcd.works/go-git.v4/plumbing/object" + "gopkg.in/src-d/go-git.v4/config" + "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/object" - "srcd.works/go-billy.v1" + "gopkg.in/src-d/go-billy.v1" ) var ErrWorktreeNotClean = errors.New("worktree is not clean") diff --git a/worktree_darwin.go b/worktree_darwin.go index 294affb39..8eaffde8a 100644 --- a/worktree_darwin.go +++ b/worktree_darwin.go @@ -6,7 +6,7 @@ import ( "syscall" "time" - "srcd.works/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" ) func init() { diff --git a/worktree_linux.go b/worktree_linux.go index ad271d0c3..a33cd2fb9 100644 --- a/worktree_linux.go +++ b/worktree_linux.go @@ -6,7 +6,7 @@ import ( "syscall" "time" - "srcd.works/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" ) func init() { diff --git a/worktree_test.go b/worktree_test.go index afc592e22..da2aea47f 100644 --- a/worktree_test.go +++ b/worktree_test.go @@ -4,13 +4,13 @@ import ( "io/ioutil" "os" - "srcd.works/go-git.v4/plumbing/filemode" - "srcd.works/go-git.v4/plumbing/format/index" + "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/format/index" "github.com/src-d/go-git-fixtures" . "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" ) type WorktreeSuite struct { From 8df64141e32abd9bd07d5dfd917c76a8a6dbe3f6 Mon Sep 17 00:00:00 2001 From: Antonio Jesus Navarro Perez Date: Fri, 10 Mar 2017 12:23:51 +0100 Subject: [PATCH 2/2] use go-billy.v2 version --- common_test.go | 4 ++-- example_test.go | 2 +- plumbing/format/packfile/decoder_test.go | 2 +- plumbing/transport/server/loader.go | 4 ++-- remote_test.go | 2 +- repository.go | 4 ++-- repository_test.go | 4 ++-- storage/filesystem/config_test.go | 2 +- storage/filesystem/internal/dotgit/dotgit.go | 2 +- storage/filesystem/internal/dotgit/dotgit_test.go | 2 +- storage/filesystem/internal/dotgit/writers.go | 2 +- storage/filesystem/internal/dotgit/writers_test.go | 2 +- storage/filesystem/object.go | 2 +- storage/filesystem/storage.go | 2 +- storage/filesystem/storage_test.go | 4 ++-- worktree.go | 2 +- worktree_test.go | 4 ++-- 17 files changed, 23 insertions(+), 23 deletions(-) diff --git a/common_test.go b/common_test.go index 0462de24b..bd603850a 100644 --- a/common_test.go +++ b/common_test.go @@ -12,8 +12,8 @@ import ( "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-billy.v1/memfs" - "gopkg.in/src-d/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/example_test.go b/example_test.go index c8731c9e3..abcbec738 100644 --- a/example_test.go +++ b/example_test.go @@ -13,7 +13,7 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing" "gopkg.in/src-d/go-git.v4/storage/memory" - "gopkg.in/src-d/go-billy.v1/memfs" + "gopkg.in/src-d/go-billy.v2/memfs" ) func ExampleClone() { diff --git a/plumbing/format/packfile/decoder_test.go b/plumbing/format/packfile/decoder_test.go index 16b0ca273..f081fd7f5 100644 --- a/plumbing/format/packfile/decoder_test.go +++ b/plumbing/format/packfile/decoder_test.go @@ -3,7 +3,7 @@ package packfile_test import ( "io" - "gopkg.in/src-d/go-billy.v1/memfs" + "gopkg.in/src-d/go-billy.v2/memfs" "github.com/src-d/go-git-fixtures" "gopkg.in/src-d/go-git.v4/plumbing" diff --git a/plumbing/transport/server/loader.go b/plumbing/transport/server/loader.go index 1c21a5d23..cfe9f041b 100644 --- a/plumbing/transport/server/loader.go +++ b/plumbing/transport/server/loader.go @@ -5,8 +5,8 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing/transport" "gopkg.in/src-d/go-git.v4/storage/filesystem" - "gopkg.in/src-d/go-billy.v1" - "gopkg.in/src-d/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2" + "gopkg.in/src-d/go-billy.v2/osfs" ) // DefaultLoader is a filesystem loader ignoring host and resolving paths to /. diff --git a/remote_test.go b/remote_test.go index 784cfaa28..2cd80cf98 100644 --- a/remote_test.go +++ b/remote_test.go @@ -16,7 +16,7 @@ import ( "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) type RemoteSuite struct { diff --git a/repository.go b/repository.go index 276119c11..ffb61d8bf 100644 --- a/repository.go +++ b/repository.go @@ -14,8 +14,8 @@ import ( "gopkg.in/src-d/go-git.v4/storage" "gopkg.in/src-d/go-git.v4/storage/filesystem" - "gopkg.in/src-d/go-billy.v1" - "gopkg.in/src-d/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2" + "gopkg.in/src-d/go-billy.v2/osfs" ) var ( diff --git a/repository_test.go b/repository_test.go index b4e085d91..2503278cb 100644 --- a/repository_test.go +++ b/repository_test.go @@ -17,8 +17,8 @@ import ( "gopkg.in/src-d/go-git.v4/storage/memory" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-billy.v1/memfs" - "gopkg.in/src-d/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/memfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) type RepositorySuite struct { diff --git a/storage/filesystem/config_test.go b/storage/filesystem/config_test.go index 17571502d..b2879b3b1 100644 --- a/storage/filesystem/config_test.go +++ b/storage/filesystem/config_test.go @@ -8,7 +8,7 @@ import ( "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) type ConfigSuite struct { diff --git a/storage/filesystem/internal/dotgit/dotgit.go b/storage/filesystem/internal/dotgit/dotgit.go index 827269e26..fdfcea735 100644 --- a/storage/filesystem/internal/dotgit/dotgit.go +++ b/storage/filesystem/internal/dotgit/dotgit.go @@ -12,7 +12,7 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing" "gopkg.in/src-d/go-git.v4/utils/ioutil" - "gopkg.in/src-d/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 8c53f007a..4bfae1d31 100644 --- a/storage/filesystem/internal/dotgit/dotgit_test.go +++ b/storage/filesystem/internal/dotgit/dotgit_test.go @@ -12,7 +12,7 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing" . "gopkg.in/check.v1" - "gopkg.in/src-d/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 13fa9bb92..0d2747f31 100644 --- a/storage/filesystem/internal/dotgit/writers.go +++ b/storage/filesystem/internal/dotgit/writers.go @@ -10,7 +10,7 @@ import ( "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-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 cb0dc954f..e7d7ef944 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" - "gopkg.in/src-d/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) func (s *SuiteDotGit) TestNewObjectPack(c *C) { diff --git a/storage/filesystem/object.go b/storage/filesystem/object.go index 9381721dd..1518256a7 100644 --- a/storage/filesystem/object.go +++ b/storage/filesystem/object.go @@ -12,7 +12,7 @@ import ( "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" + "gopkg.in/src-d/go-billy.v2" ) type ObjectStorage struct { diff --git a/storage/filesystem/storage.go b/storage/filesystem/storage.go index 93da5d5af..6d58006b2 100644 --- a/storage/filesystem/storage.go +++ b/storage/filesystem/storage.go @@ -4,7 +4,7 @@ package filesystem import ( "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" - "gopkg.in/src-d/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 4510657be..02816f452 100644 --- a/storage/filesystem/storage_test.go +++ b/storage/filesystem/storage_test.go @@ -6,8 +6,8 @@ import ( "gopkg.in/src-d/go-git.v4/storage/test" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-billy.v1/memfs" - "gopkg.in/src-d/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/worktree.go b/worktree.go index 336f4bfe0..5ef2fe94b 100644 --- a/worktree.go +++ b/worktree.go @@ -13,7 +13,7 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing/format/index" "gopkg.in/src-d/go-git.v4/plumbing/object" - "gopkg.in/src-d/go-billy.v1" + "gopkg.in/src-d/go-billy.v2" ) var ErrWorktreeNotClean = errors.New("worktree is not clean") diff --git a/worktree_test.go b/worktree_test.go index da2aea47f..5330c6702 100644 --- a/worktree_test.go +++ b/worktree_test.go @@ -9,8 +9,8 @@ import ( "github.com/src-d/go-git-fixtures" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-billy.v1/memfs" - "gopkg.in/src-d/go-billy.v1/osfs" + "gopkg.in/src-d/go-billy.v2/memfs" + "gopkg.in/src-d/go-billy.v2/osfs" ) type WorktreeSuite struct {