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 11, 2023
1 parent 9917389 commit 1900b4c
Show file tree
Hide file tree
Showing 165 changed files with 56,244 additions and 27 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.
5 changes: 3 additions & 2 deletions 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 @@ -29,11 +29,12 @@ require (
github.com/Microsoft/go-winio v0.5.0 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 // indirect
github.com/bradleyfalzon/ghinstallation/v2 v2.6.0 // indirect
github.com/bradleyfalzon/ghinstallation/v2 v2.7.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
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
Loading

0 comments on commit 1900b4c

Please sign in to comment.