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 github.com/google/go-containerregistry from 0.7.1-0.20211214010025-a65b7844a475 to 0.20.3 #8

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

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps github.com/google/go-containerregistry from 0.7.1-0.20211214010025-a65b7844a475 to 0.20.3.

Release notes

Sourced from github.com/google/go-containerregistry's releases.

v0.20.3

What's Changed

New Contributors

Full Changelog: google/go-containerregistry@v0.20.2...v0.20.3

v0.20.2

What's Changed

Full Changelog: google/go-containerregistry@v0.20.1...v0.20.2

v0.20.1

What's Changed

Full Changelog: google/go-containerregistry@v0.20.0...v0.20.1

v0.20.0

What's Changed

New Contributors

Full Changelog: google/go-containerregistry@v0.19.2...v0.20.0

v0.19.2

What's Changed

... (truncated)

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 Sourcery

Build:

  • Update several dependencies in go.mod and go.sum.

Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.7.1-0.20211214010025-a65b7844a475 to 0.20.3.
- [Release notes](https://github.com/google/go-containerregistry/releases)
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml)
- [Commits](https://github.com/google/go-containerregistry/commits/v0.20.3)

---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 20, 2025
Copy link

sourcery-ai bot commented Jan 20, 2025

Reviewer's Guide by Sourcery

This pull request bumps the github.com/google/go-containerregistry dependency from version 0.7.1-0.20211214010025-a65b7844a475 to 0.20.3. This update includes several bug fixes and new features, such as improved handling of the referrers API, better support for zstd compression, and a fix for URL redaction.

Sequence diagram for improved bearer transport handling

sequenceDiagram
    participant C as Client
    participant BT as BearerTransport
    participant R as Registry

    Note over BT: Now thread-safe
    C->>BT: Request authentication
    activate BT
    BT->>R: Get token
    R-->>BT: Return token
    BT-->>C: Provide token
    deactivate BT

    Note over C,R: Multiple goroutines can now safely use the same transport
Loading

Class diagram showing updated dependencies

classDiagram
    class GoContainerRegistry {
        +version: 0.20.3
        +BearerTransport: thread-safe
        +URL: redacted_auth
        +Compare: exposed
        +Annotations: defensive_copy
        +ZstdSupport: improved
    }

    class Dependencies {
        +docker/docker: v27.5.0
        +docker/go-connections: v0.5.0
        +opencontainers/image-spec: v1.1.0
        +stretchr/testify: v1.9.0
    }

    GoContainerRegistry --> Dependencies: uses
Loading

File-Level Changes

Change Details Files
Bumped the github.com/google/go-containerregistry dependency.
  • Updated the github.com/google/go-containerregistry dependency from version 0.7.1-0.20211214010025-a65b7844a475 to 0.20.3 in go.mod.
  • Updated the github.com/google/go-containerregistry checksum in go.sum.
go.mod
go.sum
Updated indirect dependencies.
  • Updated github.com/BurntSushi/toml from v1.1.0 to v1.3.2.
  • Updated github.com/docker/docker from v20.10.16+incompatible to v27.5.0+incompatible.
  • Updated github.com/docker/go-connections from v0.4.0 to v0.5.0.
  • Updated github.com/opencontainers/image-spec from v1.0.3-0.20220303224323-02efb9a75ee1 to v1.1.0.
  • Updated github.com/stretchr/testify from v1.7.2 to v1.9.0.
  • Updated golang.org/x/crypto from v0.0.0-20220513210258-46612604a0f9 to v0.32.0.
  • Updated golang.org/x/mod from v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 to v0.22.0.
  • Updated golang.org/x/net from v0.0.0-20220516133312-45b265872317 to v0.34.0.
  • Updated golang.org/x/sync from v0.0.0-20220513210516-0976fa681c29 to v0.10.0.
  • Updated golang.org/x/sys from v0.0.0-20220517195934-5e4e11fc645e to v0.29.0.
  • Updated github.com/Microsoft/go-winio from v0.5.2 to v0.6.2.
  • Updated github.com/containerd/stargz-snapshotter/estargz from v0.11.4 to v0.16.3.
  • Updated github.com/cpuguy83/go-md2man/v2 from v2.0.1 to v2.0.6.
  • Updated github.com/docker/cli from v20.10.16+incompatible to v27.5.0+incompatible.
  • Updated github.com/docker/distribution from v2.8.1+incompatible to v2.8.3+incompatible.
  • Updated github.com/docker/docker-credential-helpers from v0.6.4 to v0.8.2.
  • Updated github.com/docker/go-units from v0.4.0 to v0.5.0.
  • Updated github.com/fatih/color from v1.13.0 to v1.15.0.
  • Updated github.com/go-logr/logr from v1.2.3 to v1.4.2.
  • Updated github.com/klauspost/compress from v1.15.1 to v1.17.11.
  • Updated github.com/inconshreveable/mousetrap from v1.0.0 to v1.1.0.
  • Updated github.com/moby/term from v0.0.0-20210619224110-3f7ff695adc6 to v0.0.0-20221205130635-1aeaba878587.
  • Updated github.com/sirupsen/logrus from v1.8.1 to v1.9.3.
  • Updated github.com/spf13/cobra from v1.4.0 to v1.8.1.
  • Updated github.com/urfave/cli from v1.22.9 to v1.22.15.
  • Updated github.com/vbatts/tar-split from v0.11.2 to v0.11.6.
  • Updated golang.org/x/oauth2 from v0.0.0-20211104180415-d3ed0bb246c8 to v0.25.0.
  • Updated golang.org/x/term from v0.0.0-20220411215600-e5f449aeb171 to v0.28.0.
  • Updated golang.org/x/text from v0.3.7 to v0.21.0.
  • Updated golang.org/x/tools from v0.1.10-0.20220218145154-897bd77cd717 to v0.29.0.
  • Updated google.golang.org/protobuf from v1.28.0 to v1.36.3.
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

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

@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 20, 2025

CI Feedback 🧐

(Feedback updated until commit e7e1bf7)

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

Action: Lint

Failed stage: Setup golangci-lint [❌]

Failed test name: golangci-lint

Failure summary:

The golangci-lint check failed due to type compatibility issues in the code. Specifically:

  • The daemonImage type does not implement the required ConfigFile method from the
    github.com/khulnasoft/fanal/types.Image interface
  • Multiple instances where daemonImage type is being used where either types.Image or
    go-containerregistry/pkg/v1.Image interface is expected
  • The linter found 5 issues after processing that could not be resolved

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    597:  [command]/usr/bin/tar -z -xf /home/runner/work/_temp/2e978199-3892-4797-b7d2-316fce6389c4/cache.tgz -P -C /home/runner/work/fanal/fanal
    598:  Cache restored successfully
    599:  ##[warning]The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
    600:  Restored cache for golangci-lint from key 'golangci-lint.cache-2872-14caee401e99a66446fbc2ccca0108676bab5b1c' in 28239ms
    601:  Prepared env in 28240ms
    602:  ##[endgroup]
    603:  ##[group]run golangci-lint
    604:  Running [/home/runner/golangci-lint-1.45.2-linux-amd64/golangci-lint run --out-format=github-actions --verbose] in [] ...
    605:  ##[error]cannot use (daemonImage literal) (value of type daemonImage) as "github.com/khulnasoft/fanal/types".Image value in return statement: daemonImage does not implement "github.com/khulnasoft/fanal/types".Image (missing method ConfigFile) (typecheck)
    606:  ##[error]cannot use (daemonImage literal) (value of type daemonImage) as "github.com/khulnasoft/fanal/types".Image value in return statement: daemonImage does not implement "github.com/khulnasoft/fanal/types".Image (missing method ConfigFile) (typecheck)
    607:  ##[error]cannot use (daemonImage literal) (value of type daemonImage) as "github.com/khulnasoft/fanal/types".Image value in return statement: daemonImage does not implement "github.com/khulnasoft/fanal/types".Image (missing method ConfigFile) (typecheck)
    608:  ##[error]cannot use d (variable of type daemonImage) as "github.com/google/go-containerregistry/pkg/v1".Image value in argument to ID: daemonImage does not implement "github.com/google/go-containerregistry/pkg/v1".Image (missing method ConfigFile) (typecheck)
    609:  ##[error]cannot use d (variable of type daemonImage) as "github.com/google/go-containerregistry/pkg/v1".Image value in argument to LayerIDs: daemonImage does not implement "github.com/google/go-containerregistry/pkg/v1".Image (missing method ConfigFile) (typecheck)
    ...
    
    615:  level=info msg="[linters context/goanalysis] analyzers took 508.292424ms with top 10 stages: gofmt: 430.526106ms, deadcode: 43.060351ms, varcheck: 33.932073ms, typecheck: 773.894µs"
    616:  level=info msg="[runner] Issues before processing: 20, after processing: 5"
    617:  level=info msg="[runner] Processors filtering stat (out/in): skip_files: 20/20, autogenerated_exclude: 20/20, exclude-rules: 20/20, path_prettifier: 20/20, exclude: 20/20, nolint: 20/20, max_same_issues: 5/5, max_from_linter: 5/5, cgo: 20/20, skip_dirs: 20/20, identifier_marker: 20/20, max_per_file_from_linter: 5/5, severity-rules: 5/5, filename_unadjuster: 20/20, diff: 5/5, source_code: 5/5, path_shortener: 5/5, path_prefixer: 5/5, sort_results: 5/5, uniq_by_line: 5/20"
    618:  level=info msg="[runner] processing took 3.222558ms with stages: exclude-rules: 2.374459ms, identifier_marker: 686.077µs, nolint: 91.67µs, path_prettifier: 30.396µs, source_code: 15.72µs, skip_dirs: 8.816µs, max_same_issues: 3.115µs, uniq_by_line: 2.255µs, max_per_file_from_linter: 1.914µs, path_shortener: 1.903µs, cgo: 1.694µs, autogenerated_exclude: 1.383µs, filename_unadjuster: 1.192µs, max_from_linter: 952ns, skip_files: 241ns, exclude: 209ns, diff: 200ns, sort_results: 142ns, severity-rules: 120ns, path_prefixer: 100ns"
    619:  level=info msg="[runner] linters took 1.352695688s with stages: goanalysis_metalinter: 1.349404143s"
    620:  level=info msg="File cache stats: 1 entries of total size 1.1KiB"
    621:  level=info msg="Memory: 574 samples, avg is 48.1MB, max is 301.1MB"
    622:  level=info msg="Execution took 57.25136664s"
    623:  ##[error]issues found
    

    @dependabot dependabot bot changed the base branch from main to master January 31, 2025 11:46
    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