Skip to content

Commit

Permalink
Excavator: Manage go module dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Sep 8, 2023
1 parent 9917389 commit 44edc3e
Show file tree
Hide file tree
Showing 163 changed files with 56,232 additions and 11 deletions.
58 changes: 58 additions & 0 deletions -excavator_output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
go mod operation failed. This may mean that there are legitimate dependency issues with the "go.mod" definition in the repository and the updates performed by the gomod check. This branch can be cloned locally to debug the issue.

Command that caused error:
./godelw check compiles

Output:
Running compiles...
server/handler/base.go:53:65: cannot use pr.GetBase().GetRepo() (value of type *"github.com/google/go-github/v53/github".Repository) as *"github.com/google/go-github/v55/github".Repository value in argument to githubapp.PreparePRContext
server/handler/base.go:72:46: cannot use client (variable of type *"github.com/google/go-github/v55/github".Client) as *"github.com/google/go-github/v53/github".Client value in argument to NewCrossOrgMembershipContext
server/handler/base.go:73:66: cannot use client (variable of type *"github.com/google/go-github/v55/github".Client) as *"github.com/google/go-github/v53/github".Client value in argument to pull.NewGitHubContext
server/handler/base.go:82:66: cannot use client (variable of type *"github.com/google/go-github/v55/github".Client) as *"github.com/google/go-github/v53/github".Client value in argument to b.ConfigFetcher.ConfigForRepositoryBranch
server/handler/base.go:85:13: cannot use client (variable of type *"github.com/google/go-github/v55/github".Client) as *"github.com/google/go-github/v53/github".Client value in struct literal
server/handler/check_run.go:48:57: cannot use &event (value of type *"github.com/google/go-github/v53/github".CheckRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v53/github".CheckRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v53/github".Installation
want GetInstallation() *"github.com/google/go-github/v55/github".Installation
server/handler/check_run.go:50:67: cannot use repo (variable of type *"github.com/google/go-github/v53/github".Repository) as *"github.com/google/go-github/v55/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/cross_org.go:66:51: cannot use client (variable of type *"github.com/google/go-github/v55/github".Client) as *"github.com/google/go-github/v53/github".Client value in argument to pull.NewGitHubMembershipContext
server/handler/details.go:97:52: cannot use pr (variable of type *"github.com/google/go-github/v55/github".PullRequest) as *"github.com/google/go-github/v53/github".PullRequest value in argument to h.PreparePRContext
server/handler/details.go:103:11: cannot use pr (variable of type *"github.com/google/go-github/v55/github".PullRequest) as *"github.com/google/go-github/v53/github".PullRequest value in struct literal
server/handler/details.go:118:21: cannot use pr (variable of type *"github.com/google/go-github/v55/github".PullRequest) as *"github.com/google/go-github/v53/github".PullRequest value in assignment
server/handler/details.go:120:32: cannot use pr (variable of type *"github.com/google/go-github/v55/github".PullRequest) as *"github.com/google/go-github/v53/github".PullRequest value in argument to getPolicyURL
server/handler/fetcher.go:41:38: cannot use client (variable of type *"github.com/google/go-github/v53/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to cf.Loader.LoadConfig
server/handler/installation.go:53:57: cannot use &event (value of type *"github.com/google/go-github/v53/github".InstallationEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v53/github".InstallationEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v53/github".Installation
want GetInstallation() *"github.com/google/go-github/v55/github".Installation
server/handler/installation.go:63:57: cannot use &event (value of type *"github.com/google/go-github/v53/github".InstallationRepositoriesEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v53/github".InstallationRepositoriesEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v53/github".Installation
want GetInstallation() *"github.com/google/go-github/v55/github".Installation
server/handler/installation.go:74:38: cannot use client (variable of type *"github.com/google/go-github/v55/github".Client) as *"github.com/google/go-github/v53/github".Client value in argument to h.postRepoInstallationStatus
server/handler/issue_comment.go:48:57: cannot use &event (value of type *"github.com/google/go-github/v53/github".IssueCommentEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v53/github".IssueCommentEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v53/github".Installation
want GetInstallation() *"github.com/google/go-github/v55/github".Installation
server/handler/issue_comment.go:65:57: cannot use pr (variable of type *"github.com/google/go-github/v55/github".PullRequest) as *"github.com/google/go-github/v53/github".PullRequest value in argument to h.PreparePRContext
server/handler/issue_comment.go:71:11: cannot use pr (variable of type *"github.com/google/go-github/v55/github".PullRequest) as *"github.com/google/go-github/v53/github".PullRequest value in struct literal
server/handler/merge_group.go:49:57: cannot use &event (value of type *"github.com/google/go-github/v53/github".MergeGroupEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v53/github".MergeGroupEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v53/github".Installation
want GetInstallation() *"github.com/google/go-github/v55/github".Installation
server/handler/merge_group.go:63:66: cannot use client (variable of type *"github.com/google/go-github/v55/github".Client) as *"github.com/google/go-github/v53/github".Client value in argument to h.ConfigFetcher.ConfigForRepositoryBranch
server/handler/merge_group.go:77:28: cannot use client (variable of type *"github.com/google/go-github/v55/github".Client) as *"github.com/google/go-github/v53/github".Client value in argument to PostStatus
server/handler/pull_request.go:42:57: cannot use &event (value of type *"github.com/google/go-github/v53/github".PullRequestEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v53/github".PullRequestEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v53/github".Installation
want GetInstallation() *"github.com/google/go-github/v55/github".Installation
server/handler/pull_request_review.go:52:57: cannot use &event (value of type *"github.com/google/go-github/v53/github".PullRequestReviewEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v53/github".PullRequestReviewEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v53/github".Installation
want GetInstallation() *"github.com/google/go-github/v55/github".Installation
server/handler/status.go:60:57: cannot use &event (value of type *"github.com/google/go-github/v53/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v53/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v53/github".Installation
want GetInstallation() *"github.com/google/go-github/v55/github".Installation
server/handler/status.go:67:67: cannot use repo (variable of type *"github.com/google/go-github/v53/github".Repository) as *"github.com/google/go-github/v55/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/status.go:98:84: cannot use status (variable of type *"github.com/google/go-github/v53/github".RepoStatus) as *"github.com/google/go-github/v55/github".RepoStatus value in argument to client.Repositories.CreateStatus
server/handler/status.go:107:57: cannot use &event (value of type *"github.com/google/go-github/v53/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v53/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v53/github".Installation
want GetInstallation() *"github.com/google/go-github/v55/github".Installation
server/handler/status.go:114:67: cannot use repo (variable of type *"github.com/google/go-github/v53/github".Repository) as *"github.com/google/go-github/v55/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/status.go:123:3: cannot use &github.PullRequestListOptions{…} (value of type *"github.com/google/go-github/v53/github".PullRequestListOptions) as *"github.com/google/go-github/v55/github".ListOptions value in argument to client.PullRequests.ListPullRequestsWithCommit
server/handler/status.go:138:13: cannot use pr (variable of type *"github.com/google/go-github/v55/github".PullRequest) as *"github.com/google/go-github/v53/github".PullRequest value in struct literal
Finished compiles
Check(s) produced output: [compiles]
4 changes: 4 additions & 0 deletions excavator_fail/excavator_fail.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package fail

This is a non-compiling file that has been added to explicitly ensure that CI fails.
Remove this file if debugging locally.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
github.com/hashicorp/golang-lru v0.6.0
github.com/palantir/go-baseapp v0.5.2
github.com/palantir/go-githubapp v0.18.0
github.com/palantir/go-githubapp v0.19.0
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.30.0
github.com/shurcooL/githubv4 v0.0.0-20230704064427-599ae7bbf278
Expand All @@ -34,6 +34,7 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-github/v55 v55.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-github/v53 v53.2.0 h1:wvz3FyF53v4BK+AsnvCmeNhf8AkTaeh2SoYu/XUvTtI=
github.com/google/go-github/v53 v53.2.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao=
github.com/google/go-github/v55 v55.0.0 h1:4pp/1tNMB9X/LuAhs5i0KQAE40NmiR/y6prLNb9x9cg=
github.com/google/go-github/v55 v55.0.0/go.mod h1:JLahOTA1DnXzhxEymmFF5PP2tSS9JVNj68mSZNDwskA=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=
Expand All @@ -66,8 +68,8 @@ github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
github.com/palantir/go-baseapp v0.5.2 h1:b1ukx7AXo2/E4NkUvTFlW+185uwCcifzd2XzLrG4oS8=
github.com/palantir/go-baseapp v0.5.2/go.mod h1:uijQMPfmgV69oiMu2jkskum/4HiYuEP/gzrnphD+/Co=
github.com/palantir/go-githubapp v0.18.0 h1:t/OEIplGa5BpeUlu3e4S8i1uw3PBrCjV4U6bD5frrL0=
github.com/palantir/go-githubapp v0.18.0/go.mod h1:7NmYdBB0t2fHjmXmI1DyQ2j/mNIemQpp6yvcL12cgSA=
github.com/palantir/go-githubapp v0.19.0 h1:I1U+dMFrnmu4hxxkZybHUD5+EPqqzMkThPzUbuIUFbw=
github.com/palantir/go-githubapp v0.19.0/go.mod h1:IOg1JkjhB6KM2zPq032Nkv9NcToIiuzfW70yWzHdZnE=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
Expand Down
Loading

0 comments on commit 44edc3e

Please sign in to comment.