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

build(deps): Bump github.com/mgechev/revive from 1.3.7 to 1.3.9 #2576

Merged
merged 5 commits into from
Aug 18, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 25, 2024

Bumps github.com/mgechev/revive from 1.3.7 to 1.3.9.

Release notes

Sourced from github.com/mgechev/revive's releases.

v1.3.9

Changelog

  • 0eb2e245233f91f6b0ceab2f08b68079a736e957 Drop go 1.20, add go 1.22 in GH actions (#1015)
  • bedce659ca558b797148b21953e12131be735867 Fix goreleaser (#1014)
  • 9ec5e553e9be5cbf9efd3950d789dbd767137ea0 Update goreleaser version to 1.22 (#1016)
Commits

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated multiple dependencies to their latest versions, ensuring improved performance, security, and new features across the application.
    • Routine maintenance to enhance compatibility with third-party libraries.

Bumps [github.com/mgechev/revive](https://github.com/mgechev/revive) from 1.3.7 to 1.3.9.
- [Release notes](https://github.com/mgechev/revive/releases)
- [Changelog](https://github.com/mgechev/revive/blob/master/.goreleaser.yml)
- [Commits](mgechev/revive@v1.3.7...v1.3.9)

---
updated-dependencies:
- dependency-name: github.com/mgechev/revive
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Contributor

coderabbitai bot commented Jul 25, 2024

Warning

Rate limit exceeded

@gsk967 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 11 minutes and 41 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Commits

Files that changed from the base of the PR and between 72a98f0 and 67bd364.

Walkthrough

The recent updates to the go.mod file involve upgrading several dependencies to their latest versions. These changes enhance the project's stability, security, and performance by incorporating improvements and bug fixes from third-party libraries. This routine maintenance effort is essential for maintaining compatibility and leveraging new features available in these dependencies.

Changes

File/Dependency Change Summary
github.com/mgechev/revive Upgraded from v1.3.7 to v1.3.9
github.com/BurntSushi/toml Upgraded from v1.3.2 to v1.4.0
github.com/fatih/color Upgraded from v1.16.0 to v1.17.0
github.com/hashicorp/go-version Upgraded from v1.6.0 to v1.7.0
golang.org/x/crypto Upgraded from v0.23.0 to v0.25.0
golang.org/x/mod Upgraded from v0.14.0 to v0.19.0
golang.org/x/net Upgraded from v0.25.0 to v0.27.0
golang.org/x/sys Upgraded from v0.20.0 to v0.22.0
golang.org/x/term Upgraded from v0.20.0 to v0.22.0
golang.org/x/text Upgraded from v0.15.0 to v0.16.0
golang.org/x/tools Upgraded from v0.17.0 to v0.23.0

Poem

🐇 In the garden, code does bloom,
With upgrades bright, we chase the gloom.
Dependencies fresh, like morning dew,
Bugs and woes, we bid adieu!
A rabbit hops, with joy in sight,
For every change, a leap of delight! 🌼✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@gsk967 gsk967 enabled auto-merge August 7, 2024 14:30
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 2acc4a7 and ea6805b.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (1)
  • go.mod (5 hunks)
Additional comments not posted (11)
go.mod (11)

24-24: Verify compatibility with Go 1.22.

The update to github.com/mgechev/revive from v1.3.7 to v1.3.9 includes dropping support for Go 1.20 and adding support for Go 1.22. Ensure that the project is compatible with Go 1.22.

Verification successful

Verified compatibility with Go 1.22.

The project is using Go version 1.22.2, which is compatible with the updated dependency github.com/mgechev/revive version 1.3.9. No issues found.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that the project is compatible with Go 1.22.

# Test: Check the Go version used in the project.
grep -r "go 1.22" go.mod

Length of output: 36


213-213: Verify compatibility with golang.org/x/term v0.22.0.

Ensure that the update from v0.20.0 to v0.22.0 does not introduce any breaking changes and aligns with the project's requirements.


212-212: Verify compatibility with golang.org/x/sys v0.22.0.

Ensure that the update from v0.20.0 to v0.22.0 does not introduce any breaking changes and aligns with the project's requirements.


207-207: Verify compatibility with golang.org/x/crypto v0.25.0.

Ensure that the update from v0.23.0 to v0.25.0 does not introduce any breaking changes and aligns with the project's requirements.


208-208: Verify compatibility with golang.org/x/mod v0.19.0.

Ensure that the update from v0.14.0 to v0.19.0 does not introduce any breaking changes and aligns with the project's requirements.


98-98: Verify compatibility with github.com/fatih/color v1.17.0.

Ensure that the update from v1.16.0 to v1.17.0 does not introduce any breaking changes and aligns with the project's requirements.


54-54: Verify compatibility with github.com/BurntSushi/toml v1.4.0.

Ensure that the update from v1.3.2 to v1.4.0 does not introduce any breaking changes and aligns with the project's requirements.


209-209: Verify compatibility with golang.org/x/net v0.27.0.

Ensure that the update from v0.25.0 to v0.27.0 does not introduce any breaking changes and aligns with the project's requirements.

Verification successful

Verified compatibility with golang.org/x/net v0.27.0.

The update from v0.25.0 to v0.27.0 does not introduce any breaking changes. The package is listed as an indirect dependency, and no direct imports were found in the project's codebase.

  • go.mod: golang.org/x/net v0.27.0 // indirect
  • go.sum: Multiple entries for golang.org/x/net
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility with `golang.org/x/net` v0.27.0.

# Test: Check for usage of `golang.org/x/net` in the project.
rg --type go "golang.org/x/net"

Length of output: 31


Script:

#!/bin/bash
# Description: Verify indirect usage of `golang.org/x/net` in the project.

# Test: Check for `golang.org/x/net` in go.mod and go.sum files.
rg "golang.org/x/net" go.mod go.sum

# Test: Check for import statements in Go files that might indirectly reference `golang.org/x/net`.
rg --type go "import .*golang.org/x/net"

Length of output: 7102


214-214: Verify compatibility with golang.org/x/text v0.16.0.

Ensure that the update from v0.15.0 to v0.16.0 does not introduce any breaking changes and aligns with the project's requirements.

Verification successful

Verify compatibility with golang.org/x/text v0.16.0.

The dependency golang.org/x/text is listed as an indirect dependency and no direct usage was found in the codebase. The update from v0.15.0 to v0.16.0 should not directly affect the project. However, it is recommended to run the project's tests to ensure there are no issues.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility with `golang.org/x/text` v0.16.0.

# Test: Check for usage of `golang.org/x/text` in the project.
rg --type go "golang.org/x/text"

Length of output: 32


Script:

#!/bin/bash
# Description: Verify compatibility with `golang.org/x/text` v0.16.0.

# Test 1: Check for any references to `golang.org/x/text` in all Go files.
rg "golang.org/x/text" --type go -A 5

# Test 2: Check the `go.mod` file for any related dependencies or changes.
cat go.mod

# Test 3: Check the `go.sum` file for any related dependencies or changes.
cat go.sum

Length of output: 178246


216-216: Verify compatibility with golang.org/x/tools v0.23.0.

Ensure that the update from v0.17.0 to v0.23.0 does not introduce any breaking changes and aligns with the project's requirements.

Verification successful

The golang.org/x/tools dependency is an indirect dependency and does not appear to be actively used in the codebase. No further action is required.

  • The dependency is listed in go.mod and go.sum files but not referenced in the source files.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility with `golang.org/x/tools` v0.23.0.

# Test: Check for usage of `golang.org/x/tools` in the project.
rg --type go "golang.org/x/tools"

Length of output: 33


Script:

#!/bin/bash
# Description: Verify compatibility with `golang.org/x/tools` v0.23.0.

# Test 1: Check for usage of `golang.org/x/tools` in the go.sum file.
rg "golang.org/x/tools" go.sum

# Test 2: Perform a comprehensive search for `golang.org/x/tools` references in the codebase.
rg "golang.org/x/tools" --type go

Length of output: 6211


Script:

#!/bin/bash
# Description: Verify compatibility with `golang.org/x/tools` v0.23.0.

# Test: Search for common packages that might use `golang.org/x/tools` indirectly.
rg "golang.org/x/tools" --type go

# Check for common packages that depend on `golang.org/x/tools`.
rg "golang.org/x/lint" --type go
rg "golang.org/x/tools/go" --type go
rg "golang.org/x/tools/cmd" --type go

Length of output: 141


Script:

#!/bin/bash
# Description: Verify compatibility with `golang.org/x/tools` v0.23.0.

# List all dependencies in the go.mod file.
cat go.mod

# Check for any dependencies that might depend on `golang.org/x/tools`.
rg "require" go.mod | grep -E "golang.org/x/tools|golang.org/x/lint|golang.org/x/tools/go|golang.org/x/tools/cmd"

Length of output: 11738


134-134: Verify compatibility with github.com/hashicorp/go-version v1.7.0.

Ensure that the update from v1.6.0 to v1.7.0 does not introduce any breaking changes and aligns with the project's requirements.

Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.55%. Comparing base (7f05ad4) to head (72a98f0).
Report is 521 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2576       +/-   ##
===========================================
- Coverage   75.38%   62.55%   -12.84%     
===========================================
  Files         100      275      +175     
  Lines        8025    16035     +8010     
===========================================
+ Hits         6050    10031     +3981     
- Misses       1589     5231     +3642     
- Partials      386      773      +387     

see 239 files with indirect coverage changes

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between ea6805b and 72a98f0.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (1)
  • go.mod (5 hunks)
Additional comments not posted (11)
go.mod (11)

24-24: LGTM! Verify compatibility with Go 1.22.

The update to github.com/mgechev/revive from version 1.3.7 to 1.3.9 is approved. Ensure compatibility with Go 1.22, as support for Go 1.20 has been dropped.

Verification successful

Compatibility with Go 1.22 verified for github.com/mgechev/revive update

The update to github.com/mgechev/revive from version 1.3.7 to 1.3.9 does not introduce any compatibility issues with Go 1.22, as its usage is limited to linting configurations. No deprecated features or APIs are in use.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility of `github.com/mgechev/revive` with Go 1.22.

# Test: Check for any usage of deprecated features or APIs in the codebase.
rg --type go 'revive' -A 5

Length of output: 862


207-207: LGTM! Verify for breaking changes.

The update to golang.org/x/mod from version 0.14.0 to 0.19.0 is approved. Check for any breaking changes in the updated version.


54-54: LGTM! Verify for breaking changes.

The update to github.com/BurntSushi/toml from version 1.3.2 to 1.4.0 is approved. Check for any breaking changes in the updated version.

Verification successful

No breaking changes found for github.com/BurntSushi/toml update.

The search did not reveal any direct usage of the github.com/BurntSushi/toml package in the codebase. Therefore, the update to version 1.4.0 should not introduce any breaking changes.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify for breaking changes in `github.com/BurntSushi/toml` update.

# Test: Search for any deprecated or changed APIs in the codebase.
rg --type go 'toml' -A 5

Length of output: 4668


134-134: LGTM! Verify for breaking changes.

The update to github.com/hashicorp/go-version from version 1.6.0 to 1.7.0 is approved. Check for any breaking changes in the updated version.

Verification successful

No breaking changes detected for github.com/hashicorp/go-version update.

The update to github.com/hashicorp/go-version from version 1.6.0 to 1.7.0 does not appear to introduce any breaking changes, as there is no direct usage of the package in the codebase. The update is safe to proceed.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify for breaking changes in `github.com/hashicorp/go-version` update.

# Test: Search for any deprecated or changed APIs in the codebase.
rg --type go 'go-version' -A 5

Length of output: 30


Script:

#!/bin/bash
# Description: Verify for breaking changes by searching for import statements and function calls related to `github.com/hashicorp/go-version`.

# Search for import statements of `github.com/hashicorp/go-version`.
rg --type go 'import.*"github.com/hashicorp/go-version"' -A 5

# Search for function calls from the `go-version` package.
rg --type go 'version\.' -A 5

Length of output: 679


212-212: LGTM! Verify for breaking changes.

The update to golang.org/x/term from version 0.20.0 to 0.22.0 is approved. Ensure there are no breaking changes in the updated version.

Verification successful

No direct usage of golang.org/x/term found.

The golang.org/x/term package is not directly imported in the codebase, indicating that it is likely a transitive dependency. As such, the update to version 0.22.0 should not introduce direct breaking changes to the codebase.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify for breaking changes in `golang.org/x/term` update.

# Test: Search for any deprecated or changed APIs in the codebase.
rg --type go 'x/term' -A 5

Length of output: 26


Script:

#!/bin/bash
# Description: Check for any direct or indirect usage of `golang.org/x/term` in the codebase.

# Search for any import statements or references to `golang.org/x/term`.
rg 'import.*"golang.org/x/term"' --type go -A 3

Length of output: 49


211-211: LGTM! Verify for breaking changes.

The update to golang.org/x/sys from version 0.20.0 to 0.22.0 is approved. Ensure there are no breaking changes in the updated version.


208-208: LGTM! Verify for breaking changes.

The update to golang.org/x/net from version 0.25.0 to 0.27.0 is approved. Ensure there are no breaking changes in the updated version.


215-215: LGTM! Verify for breaking changes.

The update to golang.org/x/tools from version 0.17.0 to 0.23.0 is approved. Ensure there are no breaking changes in the updated version.


206-206: LGTM! Verify for breaking changes.

The update to golang.org/x/crypto from version 0.23.0 to 0.25.0 is approved. Ensure there are no breaking changes in the updated version.

Verification successful

No direct impact from golang.org/x/crypto update.

The update to golang.org/x/crypto from version 0.23.0 to 0.25.0 does not directly impact the codebase as there are no direct imports found. It is marked as an indirect dependency, suggesting it is used by other packages. Ensure to verify with maintainers of any packages that might rely on this dependency for potential indirect impacts.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify for breaking changes in `golang.org/x/crypto` update.

# Test: Search for any deprecated or changed APIs in the codebase.
rg --type go 'x/crypto' -A 5

Length of output: 28


Script:

#!/bin/bash
# Description: Check for direct imports of `golang.org/x/crypto` in the codebase.

# Search for files importing `golang.org/x/crypto`
rg 'import\s+"golang.org/x/crypto' --type go

Length of output: 46


98-98: LGTM! Verify for breaking changes.

The update to github.com/fatih/color from version 1.16.0 to 1.17.0 is approved. Ensure there are no breaking changes in the updated version.

Verification successful

No direct usage of github.com/fatih/color found in the codebase.

The package is listed as an indirect dependency, and there are no indications of breaking changes affecting the current code. The update to version v1.17.0 should not impact the codebase directly.

  • go.mod lists github.com/fatih/color as an indirect dependency.
  • go.sum includes checksums for version v1.17.0.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify for breaking changes in `github.com/fatih/color` update.

# Test: Search for any deprecated or changed APIs in the codebase.
rg --type go 'color' -A 5

Length of output: 2928


Script:

#!/bin/bash
# Description: Search for direct usage of `github.com/fatih/color` in the codebase.

# Test: Search for any usage of the `github.com/fatih/color` package.
rg --type go 'github.com/fatih/color' -A 5

Length of output: 42


Script:

#!/bin/bash
# Description: Search for references to `github.com/fatih/color` in build or dependency management files.

# Test: Search for any references to the `github.com/fatih/color` package in go.mod or go.sum files.
rg 'github.com/fatih/color' go.mod go.sum

Length of output: 363


213-213: LGTM! Verify for breaking changes.

The update to golang.org/x/text from version 0.15.0 to 0.16.0 is approved. Ensure there are no breaking changes in the updated version.

@gsk967 gsk967 disabled auto-merge August 18, 2024 14:11
@gsk967 gsk967 merged commit c297c61 into main Aug 18, 2024
18 of 20 checks passed
@gsk967 gsk967 deleted the dependabot/go_modules/github.com/mgechev/revive-1.3.9 branch August 18, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant