Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move from go-git.v4 to go-git.v5 #68

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion analyzer.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package srcfingerprint

import (
git "gopkg.in/src-d/go-git.v4/plumbing/object"
git "github.com/go-git/go-git/v5/plumbing/object"
)

// Analyzer analyzer a commit to extract its author.
Expand Down
2 changes: 1 addition & 1 deletion analyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package srcfingerprint
import (
"testing"

"github.com/go-git/go-git/v5/plumbing/object"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
"gopkg.in/src-d/go-git.v4/plumbing/object"
)

type AnalyzerTestSuite struct {
Expand Down
19 changes: 7 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,24 @@ module srcfingerprint
go 1.16

require (
github.com/Jeffail/tunny v0.1.4 // indirect
github.com/Microsoft/go-winio v0.5.0 // indirect
github.com/Jeffail/tunny v0.1.4
github.com/cloudflare/circl v1.3.7 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/go-git/go-git/v5 v5.11.0
github.com/google/go-github/v36 v36.0.0
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
github.com/kevinburke/ssh_config v1.1.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sergi/go-diff v1.2.0 // indirect
github.com/shirou/gopsutil/v3 v3.22.4 // indirect
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.7.1
github.com/shirou/gopsutil/v3 v3.22.4
github.com/sirupsen/logrus v1.9.0
github.com/stretchr/testify v1.8.4
github.com/suhaibmujahid/go-bitbucket-server v0.1.0
github.com/urfave/cli/v2 v2.3.0
github.com/xanzy/go-gitlab v0.50.1
github.com/xanzy/ssh-agent v0.3.0 // indirect
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914
golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/src-d/go-git.v4 v4.13.1
)
Loading