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

Update dependencies to latest go-github v40 #341

Merged
merged 1 commit into from
Nov 17, 2021
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 8 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ require (
github.com/bluekeyes/templatetree v0.1.0
github.com/c2h5oh/datasize v0.0.0-20171227191756-4eba002a5eae
github.com/die-net/lrucache v0.0.0-20181227122439-19a39ef22a11
github.com/google/go-github/v38 v38.1.0
github.com/google/go-querystring v1.0.0
github.com/google/go-github/v40 v40.0.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason excavator is bailing out trying to upgrade dependencies due to the breaking major version change with go-github, so doing this by hand instead.

github.com/google/go-querystring v1.1.0
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
github.com/palantir/go-baseapp v0.2.4
github.com/palantir/go-githubapp v0.9.1
github.com/palantir/go-baseapp v0.3.0
github.com/palantir/go-githubapp v0.10.0
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.18.0
github.com/rs/zerolog v1.26.0
github.com/sergi/go-diff v1.1.0 // indirect
github.com/shurcooL/githubv4 v0.0.0-20191127044304-8f68eb5628d0
github.com/shurcooL/githubv4 v0.0.0-20210922025249-6831e00d857f
github.com/spf13/cobra v1.1.1
github.com/stretchr/testify v1.6.1
github.com/stretchr/testify v1.7.0
github.com/vektah/gqlparser v1.0.0
goji.io v2.0.2+incompatible
gopkg.in/yaml.v2 v2.3.0
gopkg.in/yaml.v2 v2.4.0
)
88 changes: 53 additions & 35 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pull/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"strings"
"time"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/pkg/errors"
"github.com/rs/zerolog"
"github.com/shurcooL/githubv4"
Expand Down
2 changes: 1 addition & 1 deletion pull/github_membership.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"strings"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion pull/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"testing"
"time"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/shurcooL/githubv4"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion pull/list_teams.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"net/url"
"reflect"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/google/go-querystring/query"
)

Expand Down
2 changes: 1 addition & 1 deletion server/handler/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"strings"
"time"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-baseapp/baseapp"
"github.com/palantir/go-githubapp/githubapp"
"github.com/palantir/policy-bot/policy"
Expand Down
2 changes: 1 addition & 1 deletion server/handler/check_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"encoding/json"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/palantir/policy-bot/policy/common"
"github.com/palantir/policy-bot/pull"
Expand Down
2 changes: 1 addition & 1 deletion server/handler/cross_org.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"strings"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/palantir/policy-bot/pull"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion server/handler/details.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

"github.com/alexedwards/scs"
"github.com/bluekeyes/templatetree"
"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/palantir/policy-bot/policy/common"
"github.com/palantir/policy-bot/pull"
Expand Down
2 changes: 1 addition & 1 deletion server/handler/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package handler
import (
"context"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-githubapp/appconfig"
"github.com/palantir/policy-bot/policy"
"github.com/palantir/policy-bot/pull"
Expand Down
2 changes: 1 addition & 1 deletion server/handler/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"encoding/json"
"fmt"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/palantir/policy-bot/policy"
"github.com/palantir/policy-bot/policy/approval"
Expand Down
2 changes: 1 addition & 1 deletion server/handler/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/alexedwards/scs"
"github.com/bluekeyes/hatpear"
"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/palantir/go-githubapp/oauth2"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion server/handler/pull_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"encoding/json"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/palantir/policy-bot/policy/common"
"github.com/palantir/policy-bot/pull"
Expand Down
2 changes: 1 addition & 1 deletion server/handler/pull_request_review.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"encoding/json"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/palantir/policy-bot/policy/common"
"github.com/palantir/policy-bot/pull"
Expand Down
2 changes: 1 addition & 1 deletion server/handler/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"strings"

"github.com/google/go-github/v38/github"
"github.com/google/go-github/v40/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/palantir/policy-bot/policy/common"
"github.com/palantir/policy-bot/pull"
Expand Down
9 changes: 0 additions & 9 deletions vendor/github.com/bradleyfalzon/ghinstallation/go.mod

This file was deleted.

16 changes: 0 additions & 16 deletions vendor/github.com/bradleyfalzon/ghinstallation/go.sum

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions vendor/github.com/bradleyfalzon/ghinstallation/v2/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions vendor/github.com/bradleyfalzon/ghinstallation/v2/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions vendor/github.com/dgrijalva/jwt-go/.travis.yml

This file was deleted.

Loading