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 3 updates #50

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 6, 2025

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

Updates github.com/go-git/go-git/v5 from 5.12.0 to 5.13.1

Release notes

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

v5.13.1

What's Changed

Full Changelog: go-git/go-git@v5.13.0...v5.13.1

v5.13.0

What's Changed

... (truncated)

Commits
  • b6bc0c0 Merge pull request #1346 from go-git/revert-1157-ja/knownHostsDb
  • 42f9d6b Revert "plumbing: transport/ssh, Add support for SSH @​cert-authority."
  • 88c7471 Merge pull request #1340 from go-git/dependabot/go_modules/github.com/elazarl...
  • 2fae180 build: bump github.com/elazarl/goproxy from 1.2.2 to 1.2.3
  • a0dfb09 Merge pull request #1329 from go-git/dependabot/go_modules/github.com/elazarl...
  • 05ae621 Merge pull request #1327 from go-git/dependabot/go_modules/github.com/go-git/...
  • b0d72b3 build: bump github.com/elazarl/goproxy from 1.2.1 to 1.2.2
  • b77b83a build: bump github.com/go-git/go-billy/v5 from 5.6.0 to 5.6.1
  • 94bd4af Merge pull request #1261 from BeChris/issue680
  • 8b7f5ba Merge pull request #1262 from go-git/dependabot/go_modules/github.com/elazarl...
  • Additional commits viewable in compare view

Updates golang.org/x/crypto from 0.29.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
  • See full diff in compare view

Updates golang.org/x/net from 0.31.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

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

Build:

  • Update go modules

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


Updates `github.com/go-git/go-git/v5` from 5.12.0 to 5.13.1
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](go-git/go-git@v5.12.0...v5.13.1)

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

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

---
updated-dependencies:
- 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: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 6, 2025
Copy link

coderabbitai bot commented Jan 6, 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.


🪧 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

sourcery-ai bot commented Jan 6, 2025

Reviewer's Guide by Sourcery

This PR bumps the following dependencies:\n- github.com/go-git/go-git/v5 from 5.12.0 to 5.13.1\n- golang.org/x/crypto from 0.29.0 to 0.31.0\n- golang.org/x/net from 0.31.0 to 0.33.0

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated github.com/go-git/go-git/v5
  • Bumped github.com/go-git/go-git/v5 from 5.12.0 to 5.13.1
  • Bumped github.com/go-git/go-billy/v5 from 5.6.0 to 5.6.1
  • Bumped github.com/skeema/knownhosts from 1.2.2 to 1.3.0
go.mod
go.sum
Updated golang.org/x/crypto
  • Bumped golang.org/x/crypto from 0.29.0 to 0.31.0
  • Bumped github.com/ProtonMail/go-crypto from 1.1.0-alpha.2 to 1.1.3
go.mod
go.sum
Updated golang.org/x/net
  • Bumped golang.org/x/net from 0.31.0 to 0.33.0
  • Bumped golang.org/x/term from 0.26.0 to 0.27.0
  • Bumped golang.org/x/sync from 0.9.0 to 0.10.0
  • Bumped golang.org/x/sys from 0.27.0 to 0.28.0
  • Bumped golang.org/x/text from 0.20.0 to 0.21.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.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a 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. You can also use
    this command to specify where the summary should be inserted.

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

@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

codiumai-pr-agent-free bot commented Jan 6, 2025

CI Failure Feedback 🧐

(Checks updated until commit 86dc5b8)

Action: Lint and Autofix

Failed stage: Run golangci-lint with autofix [❌]

Failure summary:

The golangci-lint check failed due to multiple type mismatch errors in the code:

  • In task.go, there are type conversion errors where string variables (*env.Name and *env.Value)
    cannot be used as StringValue type
  • In task.go, IntValue types cannot be used where StringValue is expected for CPU and memory fields
  • Several undefined references were found:
    - options.ScannerWithRegoOnly
    -
    options.ScannerWithFrameworks
    - rule.Evaluate method is missing in RegisteredRule type

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    189:  Downloading binary https://github.com/golangci/golangci-lint/releases/download/v1.61.0/golangci-lint-1.61.0-linux-amd64.tar.gz ...
    190:  [command]/usr/bin/tar xz --overwrite --warning=no-unknown-keyword --overwrite -C /home/runner -f /home/runner/work/_temp/c348f96a-9184-4317-ba8a-7053dfc9835a
    191:  Installed golangci-lint into /home/runner/golangci-lint-1.61.0-linux-amd64/golangci-lint in 478ms
    192:  Prepared env in 479ms
    193:  ##[endgroup]
    194:  ##[group]run golangci-lint
    195:  Running [/home/runner/golangci-lint-1.61.0-linux-amd64/golangci-lint run  --fix --timeout 10m --verbose] in [/home/runner/work/tunnel-aws/tunnel-aws] ...
    196:  internal/adapters/cloud/aws/ecs/adapt.go:1: : # github.com/khulnasoft/tunnel-aws/internal/adapters/cloud/aws/ecs
    197:  ##[error]internal/adapters/cloud/aws/ecs/task.go:85:12: cannot use *env.Name (variable of type string) as "github.com/khulnasoft/tunnel/pkg/iac/types".StringValue value in struct literal
    198:  ##[error]internal/adapters/cloud/aws/ecs/task.go:86:12: cannot use *env.Value (variable of type string) as "github.com/khulnasoft/tunnel/pkg/iac/types".StringValue value in struct literal
    199:  ##[error]internal/adapters/cloud/aws/ecs/task.go:94:18: cannot use tunnelTypes.Int(cpu, metadata) (value of type "github.com/khulnasoft/tunnel/pkg/iac/types".IntValue) as "github.com/khulnasoft/tunnel/pkg/iac/types".StringValue value in struct literal
    200:  ##[error]internal/adapters/cloud/aws/ecs/task.go:95:18: cannot use tunnelTypes.Int(memory, metadata) (value of type "github.com/khulnasoft/tunnel/pkg/iac/types".IntValue) as "github.com/khulnasoft/tunnel/pkg/iac/types".StringValue value in struct literal (typecheck)
    201:  package ecs
    202:  ##[error]internal/adapters/cloud/aws_services.go:15:4: could not import github.com/khulnasoft/tunnel-aws/internal/adapters/cloud/aws/ecs (-: # github.com/khulnasoft/tunnel-aws/internal/adapters/cloud/aws/ecs
    203:  ##[error]internal/adapters/cloud/aws/ecs/task.go:85:12: cannot use *env.Name (variable of type string) as "github.com/khulnasoft/tunnel/pkg/iac/types".StringValue value in struct literal
    204:  ##[error]internal/adapters/cloud/aws/ecs/task.go:86:12: cannot use *env.Value (variable of type string) as "github.com/khulnasoft/tunnel/pkg/iac/types".StringValue value in struct literal
    205:  ##[error]internal/adapters/cloud/aws/ecs/task.go:94:18: cannot use tunnelTypes.Int(cpu, metadata) (value of type "github.com/khulnasoft/tunnel/pkg/iac/types".IntValue) as "github.com/khulnasoft/tunnel/pkg/iac/types".StringValue value in struct literal
    206:  ##[error]internal/adapters/cloud/aws/ecs/task.go:95:18: cannot use tunnelTypes.Int(memory, metadata) (value of type "github.com/khulnasoft/tunnel/pkg/iac/types".IntValue) as "github.com/khulnasoft/tunnel/pkg/iac/types".StringValue value in struct literal) (typecheck)
    207:  _ "github.com/khulnasoft/tunnel-aws/internal/adapters/cloud/aws/ecs"
    208:  ^
    209:  ##[error]pkg/scanner/aws.go:36:11: undefined: options.ScannerWithRegoOnly (typecheck)
    210:  options.ScannerWithRegoOnly(true),
    211:  ^
    212:  ##[error]pkg/scanner/aws.go:114:45: undefined: options.ScannerWithFrameworks (typecheck)
    213:  scannerOpts = append(scannerOpts, options.ScannerWithFrameworks(
    214:  ^
    215:  ##[error]pkg/scanner/scanner.go:147:24: rule.Evaluate undefined (type "github.com/khulnasoft/tunnel/pkg/iac/types/rules".RegisteredRule has no field or method Evaluate) (typecheck)
    216:  ruleResults := rule.Evaluate(cloudState)
    217:  ^
    218:  ##[error]pkg/scanner/scanner_test.go:541:46: undefined: options.ScannerWithRegoOnly (typecheck)
    219:  scannerOpts = append(scannerOpts, options.ScannerWithRegoOnly(true))
    220:  ^
    221:  level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z"
    222:  level=info msg="[config_reader] Config search paths: [./ /home/runner/work/tunnel-aws/tunnel-aws /home/runner/work/tunnel-aws /home/runner/work /home/runner /home /]"
    223:  level=info msg="[config_reader] Used config file .golangci.yml"
    224:  level=warning msg="The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar."
    225:  level=info msg="[lintersdb] Active 16 linters: [bodyclose cyclop durationcheck errcheck errname errorlint exportloopref gci gocritic goimports gosec gosimple govet ineffassign staticcheck unused]"
    ...
    
    229:  level=info msg="[runner] fixer took 0s with no stages"
    230:  level=info msg="[runner] Issues before processing: 952, after processing: 6"
    231:  level=info msg="[runner] Processors filtering stat (in/out): source_code: 6/6, fixer: 6/6, sort_results: 6/6, path_prettifier: 948/948, skip_files: 948/948, autogenerated_exclude: 948/948, exclude-rules: 948/948, max_from_linter: 6/6, cgo: 952/952, invalid_issue: 952/948, diff: 6/6, filename_unadjuster: 952/952, exclude: 948/948, nolint: 948/948, uniq_by_line: 948/6, severity-rules: 6/6, path_prefixer: 6/6, skip_dirs: 948/948, identifier_marker: 948/948, max_per_file_from_linter: 6/6, max_same_issues: 6/6, path_shortener: 6/6"
    232:  level=info msg="[runner] processing took 59.728413ms with stages: identifier_marker: 58.928349ms, path_prettifier: 462.984µs, source_code: 116.938µs, nolint: 28.012µs, uniq_by_line: 27.782µs, fixer: 27.441µs, filename_unadjuster: 21.65µs, cgo: 21.63µs, exclude-rules: 21.61µs, invalid_issue: 19.867µs, skip_dirs: 19.476µs, autogenerated_exclude: 19.016µs, path_shortener: 5.29µs, max_same_issues: 4.72µs, max_per_file_from_linter: 1.192µs, max_from_linter: 912ns, sort_results: 491ns, exclude: 422ns, diff: 240ns, skip_files: 211ns, path_prefixer: 100ns, severity-rules: 80ns"
    233:  level=info msg="[runner] linters took 1m8.980883218s with stages: goanalysis_metalinter: 1m8.921079666s"
    234:  level=info msg="File cache stats: 5 entries of total size 26.3KiB"
    235:  level=info msg="Memory: 2757 samples, avg is 486.6MB, max is 5335.3MB"
    236:  level=info msg="Execution took 4m53.389560473s"
    237:  ##[error]issues found
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    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 go Pull requests that update Go code
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants