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

Bump the go_modules group with 4 updates #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 21, 2025

Bumps the go_modules group with 4 updates: golang.org/x/net, github.com/go-git/go-git/v5, golang.org/x/crypto and google.golang.org/protobuf.

Updates golang.org/x/net from 0.20.0 to 0.33.0

Commits
  • dfc720d go.mod: update golang.org/x dependencies
  • 8e66b04 html: use strings.EqualFold instead of lowering ourselves
  • b935f7b html: avoid endless loop on error token
  • 9af49ef route: remove unused sizeof* consts
  • 6705db9 quic: clean up crypto streams when dropping packet protection keys
  • 4ef7588 quic: handle ACK frame in packet which drops number space
  • 552d8ac Revert "route: change from syscall to x/sys/unix"
  • 13a7c01 Revert "route: remove unused sizeof* consts on freebsd"
  • 285e1cf go.mod: update golang.org/x dependencies
  • d0a1049 route: remove unused sizeof* consts on freebsd
  • Additional commits viewable in compare view

Updates github.com/go-git/go-git/v5 from 5.11.0 to 5.13.0

Release notes

Sourced from github.com/go-git/go-git/v5's releases.

v5.13.0

What's Changed

... (truncated)

Commits
  • 94bd4af Merge pull request #1261 from BeChris/issue680
  • 8b7f5ba Merge pull request #1262 from go-git/dependabot/go_modules/github.com/elazarl...
  • 41d80a0 build: bump github.com/elazarl/goproxy
  • 4998140 git: worktree_commit, sanitize author and commiter name and email before crea...
  • 9049625 Merge pull request #1260 from go-git/dependabot/github_actions/github/codeql-...
  • dae48b4 build: bump github/codeql-action from 3.27.9 to 3.28.0
  • 7d6fbc2 Merge pull request #1220 from BeChris/accept_uppercase_hexa_in_pktline_length
  • 62a77b7 plumbing: Fix invalid reference name error while cloning branches containing ...
  • 5e11196 plumbing: format/pktline, accept upercase hexadecimal value as pktline length...
  • 65f5e1a Merge pull request #1256 from go-git/dependabot/go_modules/golang-org-232a611e2d
  • Additional commits viewable in compare view

Updates golang.org/x/crypto from 0.18.0 to 0.31.0

Commits
  • b4f1988 ssh: make the public key cache a 1-entry FIFO cache
  • 7042ebc openpgp/clearsign: just use rand.Reader in tests
  • 3e90321 go.mod: update golang.org/x dependencies
  • 8c4e668 x509roots/fallback: update bundle
  • 6018723 go.mod: update golang.org/x dependencies
  • 71ed71b README: don't recommend go get
  • 750a45f sha3: add MarshalBinary, AppendBinary, and UnmarshalBinary
  • 36b1725 sha3: avoid trailing permutation
  • 80ea76e sha3: fix padding for long cSHAKE parameters
  • c17aa50 sha3: avoid buffer copy
  • Additional commits viewable in compare view

Updates google.golang.org/protobuf from 1.31.0 to 1.33.0

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
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by Sourcery

Bump go modules to pick up new features and bug fixes.

Enhancements:

  • Update testify to v1.10.0.
  • Update go-crypto to v1.1.3.

Build:

  • Update go-git/go-git/v5 to v5.13.0, which includes several fixes and improvements, such as SSH certificate authority support, fixes for file handling, and updates to dependencies.
  • Update golang.org/x/net to v0.33.0, which includes fixes for HTML parsing and QUIC, and updates to dependencies.
  • Update golang.org/x/crypto to v0.31.0, which includes improvements to SSH key caching and SHA3 hashing.
  • Update google.golang.org/protobuf to v1.33.0.

Bumps the go_modules group with 4 updates: [golang.org/x/net](https://github.com/golang/net), [github.com/go-git/go-git/v5](https://github.com/go-git/go-git), [golang.org/x/crypto](https://github.com/golang/crypto) and google.golang.org/protobuf.


Updates `golang.org/x/net` from 0.20.0 to 0.33.0
- [Commits](golang/net@v0.20.0...v0.33.0)

Updates `github.com/go-git/go-git/v5` from 5.11.0 to 5.13.0
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](go-git/go-git@v5.11.0...v5.13.0)

Updates `golang.org/x/crypto` from 0.18.0 to 0.31.0
- [Commits](golang/crypto@v0.18.0...v0.31.0)

Updates `google.golang.org/protobuf` from 1.31.0 to 1.33.0

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/go-git/go-git/v5
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from khulnasoft-bot as a code owner February 21, 2025 17:56
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 21, 2025
Copy link

sourcery-ai bot commented Feb 21, 2025

Reviewer's Guide by Sourcery

This pull request bumps several Go modules, including golang.org/x/net, github.com/go-git/go-git/v5, golang.org/x/crypto, and google.golang.org/protobuf. The updates include various bug fixes, performance improvements, and new features. The go.mod and go.sum files were updated to reflect the new versions.

Updated class diagram for go.mod dependencies

classDiagram
  class go_mod {
    -github.com/open-policy-agent/opa v0.60.0
    -github.com/owenrumney/squealer v1.2.1
    -github.com/spf13/cobra v1.8.0
    -github.com/stretchr/testify v1.8.4
    +github.com/stretchr/testify v1.10.0
    -github.com/zclconf/go-cty v1.13.0
    -golang.org/x/net v0.20.0
    +golang.org/x/net v0.33.0
    -golang.org/x/sync v0.6.0
    +golang.org/x/sync v0.10.0
    -golang.org/x/text v0.14.0
    +golang.org/x/text v0.21.0
    -gopkg.in/yaml.v3 v3.0.1
    -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371
    +github.com/ProtonMail/go-crypto v1.1.3
    -github.com/cyphar/filepath-securejoin v0.2.4
    +github.com/cyphar/filepath-securejoin v0.2.5
    -github.com/go-git/go-billy/v5 v5.5.0
    +github.com/go-git/go-billy/v5 v5.6.0
    -github.com/go-git/go-git/v5 v5.11.0
    +github.com/go-git/go-git/v5 v5.13.0
    -github.com/sergi/go-diff v1.3.1
    +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3
    -github.com/skeema/knownhosts v1.2.1
    +github.com/skeema/knownhosts v1.3.0
    -golang.org/x/crypto v0.18.0
    +golang.org/x/crypto v0.31.0
    -golang.org/x/mod v0.13.0
    +golang.org/x/mod v0.17.0
    -golang.org/x/sys v0.16.0
    +golang.org/x/sys v0.28.0
    -golang.org/x/tools v0.13.0
    +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d
    -google.golang.org/protobuf v1.31.0
    +google.golang.org/protobuf v1.33.0
  }
  note for go_mod "This class diagram shows the updated dependencies in the go.mod file."
Loading

File-Level Changes

Change Details Files
Updated the golang.org/x/net module to v0.33.0.
  • Updated the module from v0.20.0 to v0.33.0.
go.mod
go.sum
Updated the github.com/go-git/go-git/v5 module to v5.13.0.
  • Updated the module from v5.11.0 to v5.13.0.
  • This includes fixes for concurrent reference updates, improved error handling for HTTP transports, and fixes for file status reporting in worktrees.
go.mod
go.sum
Updated the golang.org/x/crypto module to v0.31.0.
  • Updated the module from v0.18.0 to v0.31.0.
  • This includes updates to the public key cache in SSH, SHA3 enhancements, and other dependency updates.
go.mod
go.sum
Updated the google.golang.org/protobuf module to v1.33.0.
  • Updated the module from v1.31.0 to v1.33.0.
go.mod
go.sum
Updated github.com/stretchr/testify to v1.10.0
  • Updated the module from v1.8.4 to v1.10.0.
go.mod
go.sum
Updated golang.org/x/sync to v0.10.0
  • Updated the module from v0.6.0 to v0.10.0.
go.mod
go.sum
Updated golang.org/x/text to v0.21.0
  • Updated the module from v0.14.0 to v0.21.0.
go.mod
go.sum
Updated github.com/ProtonMail/go-crypto to v1.1.3
  • Updated the module from v0.0.0-20230828082145-3c4c8a2d2371 to v1.1.3.
go.mod
go.sum
Updated github.com/cyphar/filepath-securejoin to v0.2.5
  • Updated the module from v0.2.4 to v0.2.5.
go.mod
go.sum
Updated github.com/go-git/go-billy/v5 to v5.6.0
  • Updated the module from v5.5.0 to v5.6.0.
go.mod
go.sum
Updated github.com/sergi/go-diff to v1.3.2-0.20230802210424-5b0b94c5c0d3
  • Updated the module from v1.3.1 to v1.3.2-0.20230802210424-5b0b94c5c0d3.
go.mod
go.sum
Updated github.com/skeema/knownhosts to v1.3.0
  • Updated the module from v1.2.1 to v1.3.0.
go.mod
go.sum
Updated golang.org/x/sys to v0.28.0
  • Updated the module from v0.16.0 to v0.28.0.
go.mod
go.sum
Updated golang.org/x/tools to v0.21.1-0.20240508182429-e35e4ccd0d2d
  • Updated the module from v0.13.0 to v0.21.1-0.20240508182429-e35e4ccd0d2d.
go.mod
go.sum
Updated golang.org/x/mod to v0.17.0
  • Updated the module from v0.13.0 to v0.17.0.
go.mod
go.sum

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

coderabbitai bot commented Feb 21, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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 using 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 generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

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.

Copy link

gitstream-cm bot commented Feb 21, 2025

🚨 gitStream Monthly Automation Limit Reached 🚨

Your organization has exceeded the number of pull requests allowed for automation with gitStream.
Monthly PRs automated: 318/250

To continue automating your PR workflows and unlock additional features, please contact LinearB.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Copy link

qodo-merge-pro-for-open-source bot commented Feb 21, 2025

CI Feedback 🧐

(Feedback updated until commit e07e8f9)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: building misscan (ubuntu-latest)

Failed stage: Run full tests [❌]

Failure summary:

The action failed during Go package compilation due to:

  • An undefined min function in the go-git dependency at
    github.com/go-git/go-git/v5/plumbing/format/packfile/patch_delta.go:254
  • Multiple package build failures in the misscan project:
    -
    github.com/khulnasoft-lab/misscan/internal/rules
    - github.com/khulnasoft-lab/misscan/pkg/rego
    -
    github.com/khulnasoft-lab/misscan/pkg/scan
    - github.com/khulnasoft-lab/misscan/pkg/state
    The build
    errors caused the tests to fail, resulting in a make test failure with exit code 2.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    583:  go: downloading github.com/kevinburke/ssh_config v1.2.0
    584:  go: downloading github.com/skeema/knownhosts v1.3.0
    585:  go: downloading github.com/xanzy/ssh-agent v0.3.3
    586:  go: downloading github.com/go-logr/logr v1.3.0
    587:  go: downloading go.opentelemetry.io/otel/metric v1.21.0
    588:  go: downloading github.com/go-logr/stdr v1.2.2
    589:  go: downloading github.com/golang/protobuf v1.5.3
    590:  # github.com/go-git/go-git/v5/plumbing/format/packfile
    591:  ##[error]../../../go/pkg/mod/github.com/go-git/go-git/[email protected]/plumbing/format/packfile/patch_delta.go:254:12: undefined: min
    ...
    
    614:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/aws/elasticsearch	[no test files]
    615:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/aws/elb	[no test files]
    616:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/aws/emr	[no test files]
    617:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/aws/iam	[no test files]
    618:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/aws/kinesis	[no test files]
    619:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/aws/kms	[no test files]
    620:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/aws/lambda	[no test files]
    621:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/aws/mq	[no test files]
    622:  FAIL	github.com/khulnasoft-lab/misscan/internal/rules [build failed]
    ...
    
    665:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/nifcloud/computing	[no test files]
    666:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/nifcloud/dns	[no test files]
    667:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/nifcloud/nas	[no test files]
    668:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/nifcloud/network	[no test files]
    669:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/nifcloud/rdb	[no test files]
    670:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/nifcloud/sslcertificate	[no test files]
    671:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/openstack	[no test files]
    672:  ?   	github.com/khulnasoft-lab/misscan/pkg/providers/oracle	[no test files]
    673:  FAIL	github.com/khulnasoft-lab/misscan/pkg/rego [build failed]
    674:  ?   	github.com/khulnasoft-lab/misscan/pkg/scanners/options	[no test files]
    675:  ?   	github.com/khulnasoft-lab/misscan/pkg/severity	[no test files]
    676:  ok  	github.com/khulnasoft-lab/misscan/pkg/rego/convert	0.031s
    677:  FAIL	github.com/khulnasoft-lab/misscan/pkg/scan [build failed]
    678:  FAIL	github.com/khulnasoft-lab/misscan/pkg/state [build failed]
    679:  ok  	github.com/khulnasoft-lab/misscan/pkg/terraform	0.034s
    680:  ok  	github.com/khulnasoft-lab/misscan/pkg/terraform/context	0.023s
    681:  ok  	github.com/khulnasoft-lab/misscan/pkg/types	0.034s
    682:  FAIL
    683:  make: *** [Makefile:3: test] Error 1
    684:  ##[error]Process completed with exit code 2.
    

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    dependencies Pull requests that update a dependency file
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants