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 Apr 11, 2024
1 parent e504993 commit d65844f
Show file tree
Hide file tree
Showing 406 changed files with 22,729 additions and 7,408 deletions.
10 changes: 10 additions & 0 deletions -excavator_output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
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...
nobadfuncs/creator/creator.go:34:11: cannot use cfg.ToChecker() (value of type *nobadfuncs.Checker) as okgo.Checker value in return statement: *nobadfuncs.Checker does not implement okgo.Checker (missing method MultiCPU)
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.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ import (
// package references have their vendor references removed.
//
// Without this, the "String()" function for a function returns output of the form:
// func (github.com/palantir/checks/vendor/github.com/Foo).Foo(paramVarName github.com/palantir/checks/vendor/github.com/foo.FooType) (namedReturnVar github.com/palantir/checks/vendor/github.com/foo.FooType)
//
// func (github.com/palantir/checks/vendor/github.com/Foo).Foo(paramVarName github.com/palantir/checks/vendor/github.com/foo.FooType) (namedReturnVar github.com/palantir/checks/vendor/github.com/foo.FooType)
//
// The "String()" function for the function returned by this function for the above would be:
// func (github.com/Foo).Foo(github.com/foo.FooType) github.com/foo.FooType
//
// func (github.com/Foo).Foo(github.com/foo.FooType) github.com/foo.FooType
func toFuncWithNoIdentifiersRemoveVendor(in *types.Func) *types.Func {
sig, ok := in.Type().(*types.Signature)
if !ok {
Expand Down
24 changes: 11 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ go 1.21

require (
github.com/nmiyake/pkg/gofiles v1.2.0
github.com/palantir/amalgomate v1.6.0
github.com/palantir/go-nobadfuncs v1.2.0
github.com/palantir/amalgomate v1.39.0
github.com/palantir/go-nobadfuncs v1.23.0
github.com/palantir/godel/pkg/products/v2 v2.0.0
github.com/palantir/godel/v2 v2.88.0
github.com/palantir/okgo v1.9.0
github.com/palantir/godel/v2 v2.106.0
github.com/palantir/okgo v1.53.0
github.com/palantir/pkg/cobracli v1.2.0
github.com/pkg/errors v0.8.1
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
golang.org/x/tools v0.11.0
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
golang.org/x/tools v0.20.0
gopkg.in/yaml.v2 v2.4.0
)

Expand All @@ -26,11 +26,9 @@ require (
github.com/fatih/color v1.13.0 // indirect
github.com/golang/gddo v0.0.0-20190419222130-af0f2af80721 // indirect
github.com/golang/snappy v0.0.3 // indirect
github.com/google/go-cmp v0.5.6 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/klauspost/compress v1.9.2 // indirect
github.com/klauspost/pgzip v1.2.1 // indirect
github.com/kr/pretty v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mattn/go-runewidth v0.0.4 // indirect
Expand All @@ -48,8 +46,8 @@ require (
github.com/spf13/pflag v1.0.5 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/sys v0.10.0 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.19.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
353 changes: 23 additions & 330 deletions go.sum

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions vendor/github.com/palantir/go-nobadfuncs/.excavator.yml

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

42 changes: 28 additions & 14 deletions vendor/github.com/palantir/go-nobadfuncs/.policy.yml

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

7 changes: 5 additions & 2 deletions vendor/github.com/palantir/go-nobadfuncs/README.md

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

78 changes: 55 additions & 23 deletions vendor/github.com/palantir/go-nobadfuncs/godelw

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

6 changes: 4 additions & 2 deletions vendor/github.com/palantir/go-nobadfuncs/nobadfuncs/types.go

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

Loading

0 comments on commit d65844f

Please sign in to comment.