-
Notifications
You must be signed in to change notification settings - Fork 144
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
chore(deps/tools): bump the go-minor group in /hack/tools with 2 updates #2947
base: main
Are you sure you want to change the base?
chore(deps/tools): bump the go-minor group in /hack/tools with 2 updates #2947
Conversation
Bumps the go-minor group in /hack/tools with 2 updates: [github.com/bufbuild/buf](https://github.com/bufbuild/buf) and [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint). Updates `github.com/bufbuild/buf` from 1.46.0 to 1.47.2 - [Release notes](https://github.com/bufbuild/buf/releases) - [Changelog](https://github.com/bufbuild/buf/blob/main/CHANGELOG.md) - [Commits](bufbuild/buf@v1.46.0...v1.47.2) Updates `github.com/golangci/golangci-lint` from 1.61.0 to 1.62.0 - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](golangci/golangci-lint@v1.61.0...v1.62.0) --- updated-dependencies: - dependency-name: github.com/bufbuild/buf dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-minor - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-minor ... Signed-off-by: dependabot[bot] <support@github.com>
✅ Deploy Preview for docs-kargo-io ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: Faeka Ansari <faeka6@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2947 +/- ##
=======================================
Coverage 50.92% 50.92%
=======================================
Files 279 279
Lines 25180 25180
=======================================
Hits 12823 12823
Misses 11666 11666
Partials 691 691 ☔ View full report in Codecov by Sentry. |
- name: redefines-builtin-id | ||
# Disabled as the use of identifiers similar to built-ins is intentional | ||
# and does not cause any runtime or functional issues. | ||
disabled: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What were some specific things that were getting flagged?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new', 'min', and
append` identifiers shadowed the names of Go's built in functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error:
internal/rollouts/analysis_template.go:127:59: redefines-builtin-id: redefinition of the built-in function new (revive)
func validateAndUpdateArg(existing *rolloutsapi.Argument, new rolloutsapi.Argument) error {
^
internal/controller/stages/event_handlers.go:133:34: redefines-builtin-id: redefinition of the built-in function new (revive)
func getNewlyVerifiedStages(old, new *kargoapi.Freight) []string {
^
internal/controller/stages/event_handlers.go:211:34: redefines-builtin-id: redefinition of the built-in function new (revive)
func getNewlyApprovedStages(old, new *kargoapi.Freight) []string {
^
internal/image/selector_docker_hub_test.go:314:3: redefines-builtin-id: redefinition of the built-in function min (revive)
min := semver.MustParse("12.0.0")
^
internal/image/selector_docker_hub_test.go:359:3: redefines-builtin-id: redefinition of the built-in function min (revive)
min := semver.MustParse("12.0.0")
^
internal/image/selector_ghcr_test.go:172:3: redefines-builtin-id: redefinition of the built-in function min (revive)
min := semver.MustParse("0.1.0")
^
internal/directives/helm_template_runner.go:279:66: redefines-builtin-id: redefinition of the built-in function append (revive)
func writeToHelmFile(outputDir string, name string, data string, append bool) (err error) {
^
internal/directives/helm_template_runner.go:305:44: redefines-builtin-id: redefinition of the built-in function append (revive)
func createOrOpenHelmFile(filename string, append bool) (*os.File, error) {
^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As these are easily fixed, I'd prefer seeing us do so instead of disabling this linter. By disabling it, we're stopping it from finding future problems that might be more genuinely troublesome than these are.
Bumps the go-minor group in /hack/tools with 2 updates: github.com/bufbuild/buf and github.com/golangci/golangci-lint.
Updates
github.com/bufbuild/buf
from 1.46.0 to 1.47.2Release notes
Sourced from github.com/bufbuild/buf's releases.
Changelog
Sourced from github.com/bufbuild/buf's changelog.
Commits
13828a3
Release v1.47.2 (#3472)be349d1
Return to development (#3471)8688d16
Release v1.47.1 (#3470)d12a559
Return to development (#3467)3f619b8
Release v1.47.0 (#3466)5fda66b
Move registry commit and label commands under modules (#3454)10ddcf5
Add bufplugin package (#3431)dae748f
Make upgrade (#3463)4343d43
Do not format a file that contains an error in the LSP (#3447)62082b2
Adjust cacheModuleDataProvider
to re-retrieve delegate values from store a...Updates
github.com/golangci/golangci-lint
from 1.61.0 to 1.62.0Release notes
Sourced from github.com/golangci/golangci-lint's releases.
... (truncated)
Changelog
Sourced from github.com/golangci/golangci-lint's changelog.
Commits
22b58c9
build(deps): bump go-simpler.org/musttag from 0.12.2 to 0.13.0 (#5121)84c203a
build(deps): bump github.com/lasiar/canonicalheader from 1.1.1 to 1.1.2 (#5119)0f4f0cb
build(deps): bump golang.org/x/tools from 0.26.0 to 0.27.0 (#5120)02a536a
build(deps): bump golang.org/x/sys from 0.26.0 to 0.27.0 (#5118)b46ad10
docs: improve forbidigo pattern examples for built-in functions (#5116)8c0c515
fix: Go version propagation (#5109)874a8ba
feat: deprecation step 2 of execinquery and gomnd (#5110)6ba5f63
build(deps): bump github.com/mgechev/revive from 1.4.0 to 1.5.0 (#5113)c4b6d37
build(deps): bump github.com/nunnatsa/ginkgolinter from 0.17.0 to 0.18.0 (#5114)7560b4f
fix: improve Go detection (#5112)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions