diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2021-01-02 13:05:57 -0500 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2021-01-02 13:05:57 -0500 |
| commit | 5fec9649c427c3d2fb4098d65de82840a1759e21 (patch) | |
| tree | bb9c4e6112aac52a33811c27e386c23043fa7e82 /data | |
| parent | a12ab2e37f0b4ce49804aa35821706b6d47e7ff9 (diff) | |
Migrate from src-d/go-git to go-git/go-git
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'data')
| -rw-r--r-- | data/datasource_git.go | 16 | ||||
| -rw-r--r-- | data/datasource_git_test.go | 26 |
2 files changed, 21 insertions, 21 deletions
diff --git a/data/datasource_git.go b/data/datasource_git.go index d3e79d57..6c2491de 100644 --- a/data/datasource_git.go +++ b/data/datasource_git.go @@ -15,14 +15,14 @@ import ( "github.com/hairyhenderson/gomplate/v3/base64" "github.com/hairyhenderson/gomplate/v3/env" - "gopkg.in/src-d/go-billy.v4" - "gopkg.in/src-d/go-billy.v4/memfs" - "gopkg.in/src-d/go-git.v4" - "gopkg.in/src-d/go-git.v4/plumbing" - "gopkg.in/src-d/go-git.v4/plumbing/transport" - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" - "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh" - "gopkg.in/src-d/go-git.v4/storage/memory" + "github.com/go-git/go-billy/v5" + "github.com/go-git/go-billy/v5/memfs" + "github.com/go-git/go-git/v5" + "github.com/go-git/go-git/v5/plumbing" + "github.com/go-git/go-git/v5/plumbing/transport" + "github.com/go-git/go-git/v5/plumbing/transport/http" + "github.com/go-git/go-git/v5/plumbing/transport/ssh" + "github.com/go-git/go-git/v5/storage/memory" ) func readGit(source *Source, args ...string) ([]byte, error) { diff --git a/data/datasource_git_test.go b/data/datasource_git_test.go index e26046cd..73780184 100644 --- a/data/datasource_git_test.go +++ b/data/datasource_git_test.go @@ -11,18 +11,18 @@ import ( "testing" "time" - "gopkg.in/src-d/go-billy.v4" - "gopkg.in/src-d/go-billy.v4/memfs" - "gopkg.in/src-d/go-billy.v4/osfs" - "gopkg.in/src-d/go-git.v4" - "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/object" - "gopkg.in/src-d/go-git.v4/plumbing/transport/client" - "gopkg.in/src-d/go-git.v4/plumbing/transport/http" - "gopkg.in/src-d/go-git.v4/plumbing/transport/server" - "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh" - "gopkg.in/src-d/go-git.v4/storage/filesystem" + "github.com/go-git/go-billy/v5" + "github.com/go-git/go-billy/v5/memfs" + "github.com/go-git/go-billy/v5/osfs" + "github.com/go-git/go-git/v5" + "github.com/go-git/go-git/v5/plumbing" + "github.com/go-git/go-git/v5/plumbing/cache" + "github.com/go-git/go-git/v5/plumbing/object" + "github.com/go-git/go-git/v5/plumbing/transport/client" + "github.com/go-git/go-git/v5/plumbing/transport/http" + "github.com/go-git/go-git/v5/plumbing/transport/server" + "github.com/go-git/go-git/v5/plumbing/transport/ssh" + "github.com/go-git/go-git/v5/storage/filesystem" "golang.org/x/crypto/ssh/testdata" @@ -226,7 +226,7 @@ func setupGitRepo(t *testing.T) billy.Filesystem { assert.NilError(t, err) // config needs to be created after setting up a "normal" fs repo - // this is possibly a bug in src-d/git-go? + // this is possibly a bug in git-go? c, err := r.Config() assert.NilError(t, err) s.SetConfig(c) |
