chore(deps): update module github.com/containers/image to v5 (main) #161

Manually merged
renovate-bot merged 1 commits from renovate/main-github.com-containers-image-5.x into main 2022-02-22 09:52:21 +00:00
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/containers/image require major v3.0.2+incompatible -> v5.19.1

Release Notes

containers/image

v5.19.1

Compare Source

  • build(deps): bump github.com/klauspost/compress from 1.14.1 to 1.14.2
  • build(deps): bump github.com/containers/storage from 1.38.0 to 1.38.1
  • build(deps): bump github.com/containers/storage from 1.38.1 to 1.38.2

v5.19.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/containers/image/compare/v5.18.0...v5.19.0

v5.18.0

Compare Source

  • Add copy.Options.PreserveDigests
  • Link the two variants of cannotModifyManifest*Reason together.
  • shortnames: mechanism to enforce resolving to Docker Hub
  • manifest.GuessMIMEType(): recognize self-described OCI manifests
  • Add a comment about only looking up credential helpers by registry
  • Reorganize the success case in getCredentialsWithHomeDir
  • Introduce a string key in getCredentialsWithHomeDir
  • Modify findAuthentication to use a string key instead of a reference.Named
  • Allow using namespaced keys in GetCredentials and GetAuthentication
  • Rename useLegacyAPI to useLegacyFormat
  • Fix GetAllCredentials
  • Reject invalid keys in GetCredentials/GetAuthentication
  • Make validateKey a bit more strict
  • Don't include full manifest contents in error messages
  • Log if a manifest upload doesn't contain a Docker-Content-Digest header
  • docker/config: handle credentials not found errors
  • docker: less bears :(
  • Remove unused filler argument to customPartialBlobCounter
  • Inline decor.Any into the caller
  • Inline sstyle into the only user
  • Simplify a check for missing credentials
  • Fix handling of missing data in GetAllCredentials
  • Fix the pseudo-version of github.com/opencontainers/image-spec
  • Update golang.org/x/crypto, and silence warnings about openpgp

v5.17.0

Compare Source

Includes a fix for CVE-2021-41190 / GHSA-77vh-xpmg-72qh .

  • [CI:DOCS] Misc manpage fixups
  • Log credentials helper path if available
  • Record locations of blobs discovered by PutBlob but not TryReusingBlob
  • Fix possible out-of-bounds accesses in string indexing
  • Precompute digests option prior to registry upload
  • Add simple documentation how to use c/image with podman's rootless mode
  • Fix c/image fails to pull OCI image with non-http(s):// urls
  • Reject ambiguous manifest formats

v5.16.1

Compare Source

  • Don't read response body twice on putSignaturesToAPIExtension failure
  • build(deps): bump github.com/vbauerster/mpb/v7 from 7.1.3 to 7.1.4
    ... fixing a fairly frequent hang on image copies
  • Fix documentation of oci: and oci-archive:

v5.16.0

Compare Source

  • Don't cancel a mpb.Progress using a context
  • Don't recompress non-gzip data without an explicit request
  • accept identity tokens from credential helpers
  • Add codespell fixes
  • Don't initialize a digest.Canonical.Digester if it is not necessary
  • Don't compute the (compressed) digest in PutBlob if the caller provides it
  • Don't call digest.Digester.Hash() on every digeringReader.Read()
  • Pass OriginalDigest and UncompressedDigest to c/storage.Store.PutLayer
  • Document that PutBlob callers must only provide validated digests
  • Consistently compare docker.Digest with "" without Digest.String()
  • Don't unnecessarily compute the blob digest in PutBlob
  • copy.Options: semaphore to limit parallel pulls globally

v5.15.2

Compare Source

  • Bump c/storage to v1.34.1

v5.15.1

Compare Source

  • [release-5.15] v5.15.1
  • [release-5.15] Bump to v5.15.2-dev

v5.15.0

Compare Source

  • copy: move error message to debug
  • copy: drop FetchPartialBlobs option
  • Use http.Method* constants instead of hard-coded strings
  • Use http.NewRequestWithContext() instead of http.NewRequest().WithContext()
  • Note that this module requires Go 1.13
  • Don't unnecessarily strip schema:// and /path from registry on search
  • Don't build a map just to access one element
  • Prevent simultaneous compression and decompression
  • refactoring per PR comments
  • Add support for decompressing while copying to dir://
  • build(deps): bump github.com/containers/storage from 1.32.6 to 1.33.0
  • Return an actual error instead of nil when registry returns bad status code
  • Reduce the dependency of pkg/compression on c/storage/pkg/chunked
  • Update c/storage to v1.33.0
  • Use pkg/compression/types where possible
  • Add pkg/compression/types.*AlgorithmName constants
  • Don't change InternalUnstableUndocumentedMIMEQuestionMark of Xz
  • Fold the algorithm initializers
  • Refer to compression.Gzip instead of looking it up by name
  • Fix unpredictable outcome of compression.DetectCompression*
  • Use quay.io in docker unit tests instead of docker.io
  • Cirrus: Sync. skopeo test to skopeo repo.
  • Remove GetCredentials deprecation

v5.14.0

Compare Source

Add a case to TestNormalizedMIMEType
Add support for registry paths in auth.json
Add tests for copier.determineListConversion
Change all references to docker registry to container registry
Cirrus: Grab skopeo from main branch
Consolidate deleting a partial c/storage image on Commit failure
Disable registry fallback for repository credentials
Do not prepend Error on each wrapped error message.
Document the unparsedToplevel parameter to Commit
Error on namespaced registries for credential helpers
Fix V2RegistriesConf.Nonempty and add tests
Fix a crash on test failure
Fix documentation of SetCredentials
Fix “empty config file” detection
Implement "non-empty configuration" using reflect.DeepEqual
Improve directory.TestGetPutSignatures
Log, as an error, if we are deleting an image during commit
Make compressionGoroutine panic-safe again
Manifest list support nits
Microoptimize storageTransport.GetStoreImage
Only compute manifest digest once
Only save the top-level manifest if it is not the primary manifest
RFC: Consolidate deleting a partial c/storage image on Commit failure
RFC: Simplify digest references to manifest lists in c/storage
Remove a redundant check
Remove an unnecessary variable
Remove an unused return value of copyMultipleImages
Rename compression.Algorithm.MIME
Rename imageStreamName to imageStreamImageName
Simplify storageImageDestination.PutSignatures a bit
Support updating registry credentials scoped to namespaces/repos
Use orderedSet in copier.determineListConversion
Use the _ identifier for conformance checks
build(deps): bump github.com/containers/ocicrypt from 1.1.1 to 1.1.2
build(deps): bump github.com/containers/storage from 1.32.2 to 1.32.6
build(deps): bump github.com/vbauerster/mpb/v7 from 7.0.2 to 7.0.3
compression: change return type for zstdWriterWithLevel
compression: let algorithms register a MIME type
compression: support generating compressor metadata
copy: do not ignore errors on Close
copy: provide progress bar for partial blobs
copy: use partial blob retrieval if possible
docker: remove duplicate debug log
docker: support partial blob retrieval
docs: containers-registries.conf.5.md
docs: fix indentation in registries.conf
pkg/cli/environment: UpdateRegistriesConf
pkg/compression: new zstd variant zstd:chunked
search: catalog: return full match as first item
storage: support partial storage with zstd:chunked
types: add interface for partial blob retrieval
types: add interface for storing partial blob

v5.13.2

Compare Source

storage: PutBlobWithOptions: fix EmptyLayer logic

v5.13.1

Compare Source

Fix broken tag link on previous release.

v5.13.0

Compare Source

Add SetCredentials which returns human-readable path for configured auth
Beautify SetCredentials
Bump github.com/containers/ocicrypt from 1.1.0 to 1.1.1
Bump github.com/containers/storage from 1.30.1 to 1.32.2
Bump github.com/imdario/mergo from 0.3.11 to 0.3.12
Bump github.com/vbauerster/mpb/v6 from 6.0.3 to 6.0.4
Cirrus: Support [CI:DOCS] mode
Cirrus: Updates due to master->main rename
Document the return value of SetCredentials
Don't return the path from modifyJSON on error cases
Fix (make)
Fix build on non-Linux
Fix docs links due to branch rename
Fix missing gofmt and validate runtime environment
Fix unformatted source files
SetCredentials nits
Update (make .gitvalidation) for the master->main rename
Use more specific nolint comments for unused code
[CI:DOCS] Fix docs links due to branch rename
build(deps): bump github.com/containers/storage from 1.32.1 to
build(deps): bump github.com/klauspost/compress from 1.12.3 to 1.13.1
build(deps): bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2
build(deps): bump go.etcd.io/bbolt from 1.3.5 to 1.3.6
copy: re-enable early commits
storage: set image names last
update mpb to v7.0.2

v5.12.0

Compare Source

  • Update F34beta -> F34 and U2010 -> U2104
  • Bump github.com/containers/storage from 1.30.0 to 1.30.1
  • Skip pulling layers reusable from additional layer store
  • Bump github.com/containers/storage from 1.29.0 to 1.30.0
  • Cirrus: Improve test synchronization with c/skopeo

v5.11.1

Compare Source

  • copy: temporarily disable early commits
  • oci/layout: remove debug log

v5.11.0

Compare Source

  • Enable subdomain matching in registries.conf
  • registries.conf: configure credential helpers
  • Bump github.com/containers/storage from 1.28.0 to 1.28.1
  • Bump github.com/klauspost/compress from 1.11.12 to 1.11.13
  • Bump github.com/vbauerster/mpb/v6 from 6.0.2 to 6.0.3
  • storage destination: improve doc comments re: concurrency
  • Spelling
  • Bump github.com/containers/storage from 1.27.0 to 1.28.0
  • manifest: GuessMIMEType: support OCI artifacts
  • copy: early commit of storage blobs
  • fix docker.GetDigest docker.makeRequestToResolvedURL docker.getExternalBlob socket leak
  • fix typo in docs/containers-registries.conf.d.5.md
  • fix GetBlob socket leak Closes #​1177
  • platform matcher: use compat matrix
  • Cirrus: Migrate from Travis CI
  • add option to download foreign layers contents
  • Bump github.com/klauspost/compress from 1.11.9 to 1.11.12
  • storageImageSource.LayerInfosForCopy(): return uncompressed MediaTypes
  • storage: GetBlob: write to a local tempfile
  • Bump github.com/klauspost/compress from 1.11.7 to 1.11.9
  • Bump github.com/ulikunitz/xz from 0.5.9 to 0.5.10
  • Bump github.com/containers/storage from 1.26.0 to 1.27.0
  • shortnames: correctly determine cache directory for rootless
  • README: godoc: point to v5
  • Check destination image exists copy optimization
  • copy: compute blob compression on reused blobs based on source MediaType
  • copy: provide compression info about copied blobs
  • shortnames: resolution error: point to manpage if config is absent
  • bump to v5.11.0-dev
  • short-name-aliases.conf: use cache folders instead of $HOME
  • update progress-bar lib mpb to v6
  • Bump github.com/containers/storage from 1.24.5 to 1.25.0
  • Bump github.com/containers/ocicrypt from 1.0.3 to 1.1.0
  • Update containers-registries.conf.5.md
  • Fix writing signatures for updated multi-arch image components
  • Beautify copyBlobStream a bit
  • move to v5.10.2-dev

v5.10.6

Compare Source

v5.10.5

Compare Source

  • storageImageSource.LayerInfosForCopy(): return uncompressed MediaTypes

v5.10.4

Compare Source

  • copy: compute blob compression on reused blobs based on source MediaType
  • copy: provide compression info about copied blobs

v5.10.3

Compare Source

  • place shortnames in ~/.cache not ~/.config/.cache

v5.10.2

Compare Source

  • short-name-aliases.conf: use cache folders instead of $HOME

Note: the v5.10.x series is now cut from the release-v5.10 branch.

v5.10.1

Compare Source

Fix segfault if sys is not defined.

v5.10.0

Compare Source

  • tarball: fix example code
  • Bump github.com/ulikunitz/xz from 0.5.8 to 0.5.9
  • Bump github.com/opencontainers/selinux from 1.6.0 to 1.8.0
  • Bump github.com/vbauerster/mpb/v5 from 5.3.0 to 5.4.0
  • Add DockerLogMirrirChoice to ctx for log
  • Rename variables in pkg/docker/config tests
  • Fix pkg/docker/config tests on non-Linux systems
  • Add macOS test cases to GetPathToAuth
  • Fix docker tests with recent c/storage
  • Fix signature tests with recent c/storage
  • Fix sysregistriesv2 tests with recent c/storage
  • Fix pkg/docker/config tests with recent c/storage
  • Bump github.com/containers/storage from 1.23.7 to 1.24.5
  • Bump github.com/klauspost/compress from 1.11.3 to 1.11.6
  • Enable subdomain matching in policy.json
  • Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
  • Bump github.com/klauspost/compress from 1.11.6 to 1.11.7
  • ostree.TestReferenceSignaturePath: fix a compiler warning in a test
  • manifest: add a test for UpdatedMIMEType
  • blobinfocache: track compression types for locations
  • Actually make a copy of ctx as the comment claims
  • Actually use the SystemContext copy in the one place that matters
  • Update golangci-lint
  • Clarify the canModifyBlob condition in copyBlobFromStream
  • Cleanup description of shortname expansion
  • Allow callers to set the MaxParallelDownloads field
  • Fix up errors linter is complaining about
  • Set a default User-Agent if unset

v5.9.0

Compare Source

  • copy: check our assumptions about compression
  • Add a signedIdentity choice "type": "remapIdentity"
  • shortnames: error if there's no alias and no search registries

v5.8.1

Compare Source

Use storage/pkg/homedir rather then docker version

v5.8.0

Compare Source

  • pkg/shortnames
  • Finally, split configuration loading and merging
  • Reorder merging code in loadConfig to match field order in V2RegistriesConf
  • Remove "TODO: separate upper format from internal data below:"
  • Move shortNameMode from V2RegistriesConf to parsedConfig
  • Behavior change: Move unqualifiedSearchRegistriesOrigin to parsedConfig
  • Deprecate TryUpdatingCache return value, warn about parsedConfig.v2
  • Some progress: Move aliasCache out of V2RegistriesConf to parsedConfig
  • Add a parsedConfig return value to loadConfigFile
  • Split shortNameAliasCache.updateWithConfigurationFrom from loadConfig
  • Move the creation of shortNameAliasCache to loadConfigFile
  • Rename shortNameAliasConf.parseAndValidate to newShortNameAliasCache
  • Move the allocation of an empty alias map to editShortNameAlias
  • Bump github.com/klauspost/compress from 1.11.1 to 1.11.2
  • Split shortNameAliasCache from shortNameAliasConf
  • Split the error and success return paths of shortNameAliasConf.parseAndValidate
  • Sort Registries in V2RegistriesConf.postProcess
  • Make it clearer that .postProcessRegistries() is called on the V2RegistriesConf data
  • Make tomlConfig private
  • Split loadConfigFile from loadConfig
  • Make loadConfig a method on parsedConfig instead of tomlConfig
  • Introduce sysregistriesv2.parsedConfig, use it for configCache
  • Don't hard-code cache implementation details in tests
  • Add a test for correctly merging unqualified-search-registries
  • sysregistriesv2: short-name aliasing
  • Add GetDigest method to retrieve digest from manifest HEAD request
  • Fix misleading network error
  • Bump github.com/containers/storage from 1.23.6 to 1.23.7
  • docs: update reference to containers-registeries.d.md

v5.7.0

Compare Source

This Release now:
Searches for credentials under XDG_CONFIG_HOME
Usese $DOCKER_CONFIG/config.json to match the docker CLI.
Sets a default rootless sigstore.
Updates copier/imagecopier to fix race condition.

v5.6.0

Compare Source

  • When we can't store signatures, point the user at the destination.
  • Update for containers/skopeo#​932
  • Refactor configPath API
  • Load the rootless registries.conf.d for override
  • docker config: clean up after test
  • blobinfocache: clean up after test
  • enable search using pagination
  • pkg/docker/config: correct default file mode when create auth.json file
  • Update to Go 1.13
  • Coverity found potential nil dereference
  • Look for normalized paths in tarfile.
  • Move docker/tarfile.Destination to docker/internal/tarfile.Destination
  • Use the docker/internal/tarfile.Destination from docker/daemon and docker/archive
  • Remove deprecated non-SystemContext functions from docker/internal.tarfile
  • Introduce Destination.configPath and Destination.physicalLayerPath
  • Split docker/internal.tarfile.Writer from Destination
  • Move createRepositoriesFile to a bit better place
  • Split Writer.createManifest from Destination.PutManifest
  • Reorganize docker/internal/tarfile.Writer.createManifest a bit
  • Move the computation of layerPaths in docker-archive
  • Implement writing multiple images in the modern format.
  • Split createSingleLegacyLayer from writeLegacyLayerMetadata
  • Move legacy layer ID computation to a bit later
  • Merge writeLegacyMetadata and createRepositoriesFile
  • Implement writing multiple images in the legacy format
  • Separate tarfile.Writer creation from Destination creation
  • Lock docker/internal/tarfile.Writer to support concurrent uses
  • Split openArchiveForWriting from docker/archive/newImageDestination
  • Finally, introduce docker/archive.Writer
  • use container/storage/pkg/homedir
  • Fix an error message on docker-archive:path:name@sha256:$digest
  • Move docker/tarfile.Source to docker/internal/tarfile.Source
  • Use the docker/internal/tarfile.Source from docker/daemon and docker/archive
  • Remove deprecated non-SystemContext functions from docker/internal/tarfile
  • Split docker/internal/tarfile.Reader from Source
  • Separate tarfile.Reader creation from Source creation
  • Read the tarfile manifest already when initializing tarfile.Reader
  • Turn tarfile.Source.LoadTarManifest into a TarManifest
  • Allow choosing an image from tarfile.Reader by reference
  • Introduce docker-archive:path:@​Index syntax for reading untagged images
  • Introduce docker/archive.Reader
  • Finally, share a tarfile.Reader across archiveSource objects
  • Add docker/archive.NewReaderForReference
  • Add docker/archive.Reader.ManifestTagsForReference
  • Support per user registries.d
  • Move TestInvalidPolicyFormatError
  • Reduce duplication in policy_config_test.go
  • Eliminate more duplication in signature/policy_config_tests.go
  • Return error body if UnexpectedHTTPResponseError
  • Set NoLchown to true in untar opts

v5.5.4

Compare Source

Backports support for DockerLogMirrorChoice.

v5.5.3

Compare Source

v5.5.2

Compare Source

Enable search registry uses the pagination until the search result reaches the limit, instead of returning default 100 limit from registry API.
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1866153

v5.5.1

Compare Source

... because the Go proxy caches an old version of the 5.5.0 tag, making it difficult to use 5.5.0.

v5.5.0

Compare Source

  • Add Security Policy
  • Bump to v5.5.0-dev again
  • Bump github.com/containers/storage from 1.19.1 to 1.19.2
  • Add debug line to get Content-Type from manifests
  • Add defaults for using the rootless policy path
  • Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0
  • Bump github.com/klauspost/pgzip from 1.2.3 to 1.2.4
  • pkg/docker/config/ModifyJSON: fix MkdirAll usage
  • Bump github.com/vbauerster/mpb/v5 from 5.0.4 to 5.2.1
  • Bump github.com/containers/storage from 1.19.2 to 1.20.1
  • Bump github.com/klauspost/compress from 1.10.5 to 1.10.6
  • Bump github.com/vbauerster/mpb/v5 from 5.2.1 to 5.2.2
  • Go module noise
  • Fix crash on inspecting an OCI image with no config
  • Bump github.com/opencontainers/selinux from 1.5.1 to 1.5.2
  • Add hardcode Authfile for windows and mac
  • docker/config: initialize dockerConfigFile
  • docker/config: add GetAllCredentials
  • Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
  • Bump github.com/klauspost/compress from 1.10.6 to 1.10.7
  • Bump github.com/containers/storage from 1.20.1 to 1.20.2
  • Add documentation for credHelper
  • Fix error messages on !canModifyManifest
  • Add support for ProgressEventSkipped
  • Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
  • Bump github.com/klauspost/compress from 1.10.7 to 1.10.8
  • oci: don't overwrite tags pointing at the same manifest
  • oci test: simplify length calculation

v5.4.4

Compare Source

  • Bump github.com/klauspost/compress from 1.10.3 to 1.10.4
  • Add User-Agent to oauth
  • Make the variant in TestChooseInstance data-controlled
  • Fix the docstring of WantedPlatforms
  • Introduce a variantOrder variable
  • Simplify the WantedPlatforms main loop
  • Simplify variant list preparation.
  • Simplify further
  • Simplify WantedPlatforms tests
  • Use quotes around variant name in errors
  • Bump github.com/containers/storage from 1.18.2 to 1.19.0
  • Bump github.com/klauspost/compress from 1.10.4 to 1.10.5
  • Bump github.com/vbauerster/mpb/v5 from 5.0.3 to 5.0.4
  • registries.conf: remove references on v1
  • Fix use of progressPool after it is closed.
  • OCI: Don't crash if OCI1Index.Manifests[].Platform is nil
  • Move format-indepenent private utilities to manifest/common.go
  • Split updatedSchema2MIMEType / updatedOCI1MIMEType from UpdatedLayerInfos
  • Factor out the common parts of MIME type update error messages
  • Make MIME type conversions table-driven
  • Factor out updatedMIMEType out of updatedSchema2MIMEType / updatedOCI1MIMEType
  • Inline updatedSchema2MIMEType and updatedOCI1MIMEType back into callers
  • Add internal/uploadreader.UploadReader
  • Use an UploadReader for layer upload.
  • Detect and report errors reported by the server on blob upload.
  • Fix debug logging on HTTP request error
  • Combine the two TestWantedPlatforms* tests
  • Improve handling of Variant: ""
  • Simplify and document MatchesPlatform
  • Recognize v8 as a valid ARM variant
  • Use the correct instance digest when uploading signatures using X-R-S-S
  • Use a by-value manifestDigest for the docker PutSignatures implementations
  • Remove registries.conf VERSION 2 references from man page
  • Bump github.com/sirupsen/logrus from 1.4.2 to 1.6.0
  • Bump github.com/containers/storage from 1.19.0 to 1.19.1
  • Don't change dockerImageSource.Reference() if a mirror is used
  • Commit Go-created go.mod updates

v5.4.3

Compare Source

  • copy: avoid unnecessary re-encoding of source lists
    • set client_id
    • Update containers-registries.conf.5.md
    • Bump github.com/opencontainers/selinux from 1.5.0 to 1.5.1

v5.4.2

Compare Source

  • use c/storage/pkg/homedir
  • Bump github.com/containers/ocicrypt from 1.0.1 to 1.0.2
  • Bump github.com/opencontainers/selinux from 1.4.0 to 1.5.0

v5.4.1

Compare Source

  • getCPUVariantWindows uses arch provided to getCPUVariant
  • Downgrade siruspen/logrus from 1.5 to 1.4.2

v5.4.0

Compare Source

  • Expose image variant
  • A set of dependency updates

v5.3.1

Compare Source

  • Bump github.com/klauspost/pgzip from 1.2.2 to 1.2.3
    • Update import path for bbolt
    • Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0
    • Bump go.etcd.io/bbolt from 1.3.3 to 1.3.4
    • Bump github.com/containers/storage from 1.16.5 to 1.16.6
    • Move architecture+variant logic together, separate from wantedOS
    • Only auto-detect platform variant if we are also auto-detecting the architecture
    • Make restTLSClientConfig in restConfig a public field
    • Add a comment to explain why tests are excluding the config descriptor
    • Fix MIME type in expected results of schema1->schema2 conversion
    • Rename image/fixtures/schema1-to-oci-config.json to schema1-for-oci-config.json
    • Add ManifestUpdateInformation to tests converting from schema1
    • Add tests for conversion between schema1 and OCI
    • Consolidate repeated uses of GzippedEmptyLayerDigest to a single local variable
    • Allow manifestConvertFn to edit ManifestUpdateOptions
    • Modify manifestConvertFn to return a genericManifest instead of Image
    • Convert ManifestUpdateOptions.LayerInfos on conversions from/to schema1

v5.3.0

Compare Source

  • Fixed registries.conf
  • Add Code of Conduct
  • Bubbling up errors returned by copyBlobFromStream
  • Re-order the members of archiveReference to a more logical order
  • Add docker/archive.NewReference
  • Remove tarballReference.transport
  • Add tarball.NewReference
  • Add storage.Transport.GetStoreIfSet
  • Simplify ID value check
  • Add validateImageID
  • Add storage.Transport.NewStoreReference
  • registries.conf.d: add stances for the registries.conf
  • Add $HOME/.config/containers/registries.conf to config path
  • sysregistriesv2: drop "rewrite" debug messages
  • Add $HOME/.config/containers/certs.d to perHostCertDirPath
  • Intial authfile man page
  • Return error when acquire semaphore lock gets error
  • feat(docker): support docker registry token
  • containers-registries.conf.d: refine semantics
  • Updated warning about short names.
  • Make UpdatedImage update after conversion of MIME type
  • Support IdentityToken in registry authn
  • Deprecate SupportsEncryption call in manifest interface
  • oci manifest: do not require whitelist of layer types
  • Fix crash on missing RootFS in docker/tarfile configs
  • copy: try list conversions on list push failures
  • Support architecture variants for multi-arch images and runtime compatibility checks

v5.2.1

Compare Source

  • Bump github.com/mtrmac/gpgme from 0.1.1 to 0.1.2
  • determineListConversion: check forced type
  • copyMultipleImages: re-serialize the list if we changed it

v5.2.0

Compare Source

  • Add tests for internal/iolimits
  • Also use ReadAtMost in docker/tarfile
  • Simplify error checking in iolimits.ReadAtMost
  • restrict sizes of inmem processed blobs
  • copy: relax platform checks
  • Add comment about chmod
  • Windows fixes for dir: destination
  • Bump github.com/opencontainers/selinux from 1.3.0 to 1.3.1
  • Add documentation about rewriting docker.io registries
  • Bump github.com/klauspost/compress from 1.9.7 to 1.9.8
  • Always use SigningMechanism implementations by reference
  • Bump github.com/containers/storage from 1.15.5 to 1.15.7
  • Update to github.com/mtrmac/gpgme@v0.1.1
  • Bump github.com/pkg/errors from 0.9.0 to 0.9.1
  • Bump github.com/pkg/errors from 0.8.1 to 0.9.0
  • Add a log entry after each pullSource access failure
  • Use "Trying to access", not "Trying to pull" in the debug log
  • Report all errors encountered when trying to use mirrors
  • Simplify variable names in newImageSource*
  • Behavior change: Make all errors in newImageSourceAttempt non-fatal
  • Split newImageSourceAttempt from newImageSource
  • Allow for disabling schema1 MIME types for docker destinations
  • Fix up the wording a bit in various places
  • Support canceling the 429 retry loop using context.Context
  • Make parseRetryAfter a top-level function
  • Move the backoff handling parameters to the top of the file
  • Use time.Duration instead of an integer number of seconds in the
    backoff loop
  • Separate an initialDelay constant from the delay loop variable
  • Move the (res, err) variables inside the loop
  • Simplify back-off control flow, part 3
  • Simplify back-off control flow, part 2
  • Simplify back-off control flow, part 1
  • Remove a debugging log entry
  • Rename the "delay" parameter to parseRetryAfter to "fallbackDelay"
  • Remove the min() helper
  • Move the maxDelay enforcement out of the nextDelay helper
  • Re-add some context to unexpected HTTP status errors
  • Bump github.com/klauspost/compress from 1.9.5 to 1.9.7
  • Bump github.com/klauspost/compress from 1.9.4 to 1.9.5
  • Bump github.com/containers/storage from 1.15.4 to 1.15.5
  • Bump github.com/containers/storage from 1.15.3 to 1.15.4
  • Bump github.com/vbauerster/mpb/v4 from 4.11.1 to 4.11.2
  • Add registries warning to registries.conf

v5.1.0

Compare Source

Bump all vendored software
Makefile: split tools installation
internal/pkg/keyctl: drop deprecation warning
keyctl: tests: check errors
storage_test.go: check storage interfaces
Bump github.com/klauspost/compress from 1.9.2 to 1.9.3
Add internal error handling
Fix Error return value is not checked
Handle checking error in dirImageMockWithRef
Add helper for error checking
Reverted newDigestingReader to validate blob during decryption
Cleaner refactoring to determineManifestConversion
Implemented image encryption
Fix destination stream overwrite on progress
Enforce architecture match on MustMatchRuntimeOS
Simplify the OS equivalence check
Improve OS mismatch error message
Redefine ImageDestination.MustMatchRuntimeOS to also include architecture
Added possibility to overwrite default tmp dir for big files
Improve progress reader to report start/end and offset update

v5.0.0

Compare Source

  • Clean up various imports primarily so that imports of packages that aren't in the standard library are all in one section.
  • Update to major version v5
  • return resp error message
  • copy.Image(): select the CopySystemImage image using the source context
  • Add manifest list support
  • docker: handle http 429 status codes
  • allow for .dockercfg files to reside in non-home directories
  • Use the correct module path in (make test-skopeo)

v4.0.1

Compare Source

Actually usable as a v4 Go module.

  • Simplify Makefile a bit
  • Correctly use a c/image/v4 module namespace
  • GuessMIMEType: recognize OCI images with no layers
  • manifest update: consider that storage lies

v4.0.0

Compare Source

Explicitly replace docker/libtrust with containers/libtrust

  • Don't import all of pkg/compression in c/image/types
  • update c/storage to v1.13.4
  • Simplify Makefile a bit
  • Revert "update dependencies"
  • Update to mergo v0.3.5
  • Add tests for parsing OpenShift kubeconfig files
  • add http response to log
  • make container tools work with go+openssl
  • Update test certificates
  • update dependencies
  • make test-skopeo: replace c/image module instead of copying code
  • copy: don't lose annotations of BlobInfo
  • move keyctl to internal & func remove auth from keyring
  • media type checks
  • Makefeile: use official golang proxy
  • update go module
  • Replace vendor.conf by go.mod
  • internal/testing/explicitfilepath-tmpdir: handle unset TMPDIR
  • keyctl: clean up after tests
  • copy: fix options.DestinationCtx nil check
  • fix cross-compilation by vendoring latest c/storage
  • copy: add nil checks
  • copy: compression: default to gzip
  • vendor.conf: update reference for containers/storage
  • compress: define some consts for the compression algos
  • copy: use a bigger buffer for the compression
  • compression: allow to specify the compression format
  • compression: add support for the zstd algorithm

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/containers/image](https://github.com/containers/image) | require | major | `v3.0.2+incompatible` -> `v5.19.1` | --- ### Release Notes <details> <summary>containers/image</summary> ### [`v5.19.1`](https://github.com/containers/image/releases/v5.19.1) [Compare Source](https://github.com/containers/image/compare/v5.19.0...v5.19.1) - build(deps): bump github.com/klauspost/compress from 1.14.1 to 1.14.2 - build(deps): bump github.com/containers/storage from 1.38.0 to 1.38.1 - build(deps): bump github.com/containers/storage from 1.38.1 to 1.38.2 ### [`v5.19.0`](https://github.com/containers/image/releases/v5.19.0) [Compare Source](https://github.com/containers/image/compare/v5.18.0...v5.19.0) #### What's Changed - Release c/image v5.18.0 by [@&#8203;mtrmac](https://github.com/mtrmac) in https://github.com/containers/image/pull/1437 - build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/containers/image/pull/1440 - build(deps): bump github.com/klauspost/compress from 1.13.6 to 1.14.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/containers/image/pull/1441 - Initial sif transport implementation by [@&#8203;mtrmac](https://github.com/mtrmac) in https://github.com/containers/image/pull/1438 - build(deps): bump github.com/sylabs/sif/v2 from 2.3.0 to 2.3.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/containers/image/pull/1443 - build(deps): bump github.com/vbauerster/mpb/v7 from 7.3.0 to 7.3.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/containers/image/pull/1444 - Corrects wrong default path for auth.json in docs by [@&#8203;svdHero](https://github.com/svdHero) in https://github.com/containers/image/pull/1442 - Log every credential path we consult by [@&#8203;mtrmac](https://github.com/mtrmac) in https://github.com/containers/image/pull/1445 - build(deps): bump github.com/containers/storage from 1.37.0 to 1.38.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/containers/image/pull/1447 - Run codespell on code by [@&#8203;rhatdan](https://github.com/rhatdan) in https://github.com/containers/image/pull/1449 - build(deps): bump github.com/vbauerster/mpb/v7 from 7.3.1 to 7.3.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/containers/image/pull/1450 - GPGME: support passphrase for prompt-less signing by [@&#8203;vrothberg](https://github.com/vrothberg) in https://github.com/containers/image/pull/1446 #### New Contributors - [@&#8203;svdHero](https://github.com/svdHero) made their first contribution in https://github.com/containers/image/pull/1442 **Full Changelog**: https://github.com/containers/image/compare/v5.18.0...v5.19.0 ### [`v5.18.0`](https://github.com/containers/image/releases/v5.18.0) [Compare Source](https://github.com/containers/image/compare/v5.17.0...v5.18.0) - Add copy.Options.PreserveDigests - Link the two variants of cannotModifyManifest\*Reason together. - shortnames: mechanism to enforce resolving to Docker Hub - manifest.GuessMIMEType(): recognize self-described OCI manifests - Add a comment about only looking up credential helpers by registry - Reorganize the success case in getCredentialsWithHomeDir - Introduce a string key in getCredentialsWithHomeDir - Modify findAuthentication to use a string key instead of a reference.Named - Allow using namespaced keys in GetCredentials and GetAuthentication - Rename useLegacyAPI to useLegacyFormat - Fix GetAllCredentials - Reject invalid keys in GetCredentials/GetAuthentication - Make validateKey a bit more strict - Don't include full manifest contents in error messages - Log if a manifest upload doesn't contain a Docker-Content-Digest header - docker/config: handle credentials not found errors - docker: less bears :( - Remove unused filler argument to customPartialBlobCounter - Inline decor.Any into the caller - Inline sstyle into the only user - Simplify a check for missing credentials - Fix handling of missing data in GetAllCredentials - Fix the pseudo-version of github.com/opencontainers/image-spec - Update golang.org/x/crypto, and silence warnings about openpgp ### [`v5.17.0`](https://github.com/containers/image/releases/v5.17.0) [Compare Source](https://github.com/containers/image/compare/v5.16.1...v5.17.0) Includes a fix for CVE-2021-41190 / GHSA-77vh-xpmg-72qh . - \[CI:DOCS] Misc manpage fixups - Log credentials helper path if available - Record locations of blobs discovered by PutBlob but not TryReusingBlob - Fix possible out-of-bounds accesses in string indexing - Precompute digests option prior to registry upload - Add simple documentation how to use c/image with podman's rootless mode - Fix c/image fails to pull OCI image with non-`http(s)://` urls - Reject ambiguous manifest formats ### [`v5.16.1`](https://github.com/containers/image/releases/v5.16.1) [Compare Source](https://github.com/containers/image/compare/v5.16.0...v5.16.1) - Don't read response body twice on `putSignaturesToAPIExtension` failure - build(deps): bump github.com/vbauerster/mpb/v7 from 7.1.3 to 7.1.4 ... fixing a fairly frequent hang on image copies - Fix documentation of `oci:` and `oci-archive:` ### [`v5.16.0`](https://github.com/containers/image/releases/v5.16.0) [Compare Source](https://github.com/containers/image/compare/v5.15.2...v5.16.0) - Don't cancel a mpb.Progress using a context - Don't recompress non-gzip data without an explicit request - accept identity tokens from credential helpers - Add codespell fixes - Don't initialize a digest.Canonical.Digester if it is not necessary - Don't compute the (compressed) digest in PutBlob if the caller provides it - Don't call digest.Digester.Hash() on every digeringReader.Read() - Pass OriginalDigest and UncompressedDigest to c/storage.Store.PutLayer - Document that PutBlob callers must only provide validated digests - Consistently compare docker.Digest with "" without Digest.String() - Don't unnecessarily compute the blob digest in PutBlob - copy.Options: semaphore to limit parallel pulls globally ### [`v5.15.2`](https://github.com/containers/image/releases/v5.15.2) [Compare Source](https://github.com/containers/image/compare/v5.15.1...v5.15.2) - Bump c/storage to v1.34.1 ### [`v5.15.1`](https://github.com/containers/image/releases/v5.15.1) [Compare Source](https://github.com/containers/image/compare/v5.15.0...v5.15.1) - \[release-5.15] v5.15.1 - \[release-5.15] Bump to v5.15.2-dev ### [`v5.15.0`](https://github.com/containers/image/releases/v5.15.0) [Compare Source](https://github.com/containers/image/compare/v5.14.0...v5.15.0) - copy: move error message to debug - copy: drop FetchPartialBlobs option - Use http.Method\* constants instead of hard-coded strings - Use http.NewRequestWithContext() instead of http.NewRequest().WithContext() - Note that this module requires Go 1.13 - Don't unnecessarily strip schema:// and /path from registry on search - Don't build a map just to access one element - Prevent simultaneous compression and decompression - refactoring per PR comments - Add support for decompressing while copying to dir:// - build(deps): bump github.com/containers/storage from 1.32.6 to 1.33.0 - Return an actual error instead of nil when registry returns bad status code - Reduce the dependency of pkg/compression on c/storage/pkg/chunked - Update c/storage to v1.33.0 - Use pkg/compression/types where possible - Add pkg/compression/types.\*AlgorithmName constants - Don't change InternalUnstableUndocumentedMIMEQuestionMark of Xz - Fold the algorithm initializers - Refer to compression.Gzip instead of looking it up by name - Fix unpredictable outcome of compression.DetectCompression\* - Use quay.io in docker unit tests instead of docker.io - Cirrus: Sync. skopeo test to skopeo repo. - Remove `GetCredentials` deprecation ### [`v5.14.0`](https://github.com/containers/image/releases/v5.14.0) [Compare Source](https://github.com/containers/image/compare/v5.13.2...v5.14.0) Add a case to TestNormalizedMIMEType Add support for registry paths in auth.json Add tests for copier.determineListConversion Change all references to docker registry to container registry Cirrus: Grab skopeo from main branch Consolidate deleting a partial c/storage image on Commit failure Disable registry fallback for repository credentials Do not prepend Error on each wrapped error message. Document the unparsedToplevel parameter to Commit Error on namespaced registries for credential helpers Fix V2RegistriesConf.Nonempty and add tests Fix a crash on test failure Fix documentation of SetCredentials Fix “empty config file” detection Implement "non-empty configuration" using reflect.DeepEqual Improve directory.TestGetPutSignatures Log, as an error, if we are deleting an image during commit Make compressionGoroutine panic-safe again Manifest list support nits Microoptimize storageTransport.GetStoreImage Only compute manifest digest once Only save the top-level manifest if it is not the primary manifest RFC: Consolidate deleting a partial c/storage image on Commit failure RFC: Simplify digest references to manifest lists in c/storage Remove a redundant check Remove an unnecessary variable Remove an unused return value of copyMultipleImages Rename compression.Algorithm.MIME Rename imageStreamName to imageStreamImageName Simplify storageImageDestination.PutSignatures a bit Support updating registry credentials scoped to namespaces/repos Use orderedSet in copier.determineListConversion Use the \_ identifier for conformance checks build(deps): bump github.com/containers/ocicrypt from 1.1.1 to 1.1.2 build(deps): bump github.com/containers/storage from 1.32.2 to 1.32.6 build(deps): bump github.com/vbauerster/mpb/v7 from 7.0.2 to 7.0.3 compression: change return type for zstdWriterWithLevel compression: let algorithms register a MIME type compression: support generating compressor metadata copy: do not ignore errors on Close copy: provide progress bar for partial blobs copy: use partial blob retrieval if possible docker: remove duplicate debug log docker: support partial blob retrieval docs: containers-registries.conf.5.md docs: fix indentation in registries.conf pkg/cli/environment: UpdateRegistriesConf pkg/compression: new zstd variant zstd:chunked search: catalog: return full match as first item storage: support partial storage with zstd:chunked types: add interface for partial blob retrieval types: add interface for storing partial blob ### [`v5.13.2`](https://github.com/containers/image/releases/v5.13.2) [Compare Source](https://github.com/containers/image/compare/v5.13.1...v5.13.2) storage: PutBlobWithOptions: fix EmptyLayer logic ### [`v5.13.1`](https://github.com/containers/image/releases/v5.13.1) [Compare Source](https://github.com/containers/image/compare/v5.13.0...v5.13.1) Fix broken tag link on previous release. ### [`v5.13.0`](https://github.com/containers/image/releases/v5.13.0) [Compare Source](https://github.com/containers/image/compare/v5.12.0...v5.13.0) Add SetCredentials which returns human-readable path for configured auth Beautify SetCredentials Bump github.com/containers/ocicrypt from 1.1.0 to 1.1.1 Bump github.com/containers/storage from 1.30.1 to 1.32.2 Bump github.com/imdario/mergo from 0.3.11 to 0.3.12 Bump github.com/vbauerster/mpb/v6 from 6.0.3 to 6.0.4 Cirrus: Support \[CI:DOCS] mode Cirrus: Updates due to master->main rename Document the return value of SetCredentials Don't return the path from modifyJSON on error cases Fix (make) Fix build on non-Linux Fix docs links due to branch rename Fix missing gofmt and validate runtime environment Fix unformatted source files SetCredentials nits Update (make .gitvalidation) for the master->main rename Use more specific nolint comments for unused code \[CI:DOCS] Fix docs links due to branch rename build(deps): bump github.com/containers/storage from 1.32.1 to build(deps): bump github.com/klauspost/compress from 1.12.3 to 1.13.1 build(deps): bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2 build(deps): bump go.etcd.io/bbolt from 1.3.5 to 1.3.6 copy: re-enable early commits storage: set image names last update mpb to v7.0.2 ### [`v5.12.0`](https://github.com/containers/image/releases/v5.12.0) [Compare Source](https://github.com/containers/image/compare/v5.11.1...v5.12.0) - Update F34beta -> F34 and U2010 -> U2104 - Bump github.com/containers/storage from 1.30.0 to 1.30.1 - Skip pulling layers reusable from additional layer store - Bump github.com/containers/storage from 1.29.0 to 1.30.0 - Cirrus: Improve test synchronization with c/skopeo ### [`v5.11.1`](https://github.com/containers/image/releases/v5.11.1) [Compare Source](https://github.com/containers/image/compare/v5.11.0...v5.11.1) - copy: temporarily disable early commits - oci/layout: remove debug log ### [`v5.11.0`](https://github.com/containers/image/releases/v5.11.0) [Compare Source](https://github.com/containers/image/compare/v5.10.6...v5.11.0) - Enable subdomain matching in registries.conf - registries.conf: configure credential helpers - Bump github.com/containers/storage from 1.28.0 to 1.28.1 - Bump github.com/klauspost/compress from 1.11.12 to 1.11.13 - Bump github.com/vbauerster/mpb/v6 from 6.0.2 to 6.0.3 - storage destination: improve doc comments re: concurrency - Spelling - Bump github.com/containers/storage from 1.27.0 to 1.28.0 - manifest: GuessMIMEType: support OCI artifacts - copy: early commit of storage blobs - fix docker.GetDigest docker.makeRequestToResolvedURL docker.getExternalBlob socket leak - fix typo in docs/containers-registries.conf.d.5.md - fix GetBlob socket leak Closes [#&#8203;1177](https://github.com/containers/image/issues/1177) - platform matcher: use compat matrix - Cirrus: Migrate from Travis CI - add option to download foreign layers contents - Bump github.com/klauspost/compress from 1.11.9 to 1.11.12 - storageImageSource.LayerInfosForCopy(): return uncompressed MediaTypes - storage: GetBlob: write to a local tempfile - Bump github.com/klauspost/compress from 1.11.7 to 1.11.9 - Bump github.com/ulikunitz/xz from 0.5.9 to 0.5.10 - Bump github.com/containers/storage from 1.26.0 to 1.27.0 - shortnames: correctly determine cache directory for rootless - README: godoc: point to v5 - Check destination image exists copy optimization - copy: compute blob compression on reused blobs based on source MediaType - copy: provide compression info about copied blobs - shortnames: resolution error: point to manpage if config is absent - bump to v5.11.0-dev - short-name-aliases.conf: use cache folders instead of $HOME - update progress-bar lib mpb to v6 - Bump github.com/containers/storage from 1.24.5 to 1.25.0 - Bump github.com/containers/ocicrypt from 1.0.3 to 1.1.0 - Update containers-registries.conf.5.md - Fix writing signatures for updated multi-arch image components - Beautify copyBlobStream a bit - move to v5.10.2-dev ### [`v5.10.6`](https://github.com/containers/image/releases/v5.10.6) [Compare Source](https://github.com/containers/image/compare/v5.10.5...v5.10.6) - fix docker.GetDigest docker.makeRequestToResolvedURL docker.getExternalBlob socket leak (https://bugzilla.redhat.com/show_bug.cgi?id=1953071) ### [`v5.10.5`](https://github.com/containers/image/releases/v5.10.5) [Compare Source](https://github.com/containers/image/compare/v5.10.4...v5.10.5) - storageImageSource.LayerInfosForCopy(): return uncompressed MediaTypes ### [`v5.10.4`](https://github.com/containers/image/releases/v5.10.4) [Compare Source](https://github.com/containers/image/compare/v5.10.3...v5.10.4) - copy: compute blob compression on reused blobs based on source MediaType - copy: provide compression info about copied blobs ### [`v5.10.3`](https://github.com/containers/image/releases/v5.10.3) [Compare Source](https://github.com/containers/image/compare/v5.10.2...v5.10.3) - place shortnames in `~/.cache` not `~/.config/.cache` ### [`v5.10.2`](https://github.com/containers/image/releases/v5.10.2) [Compare Source](https://github.com/containers/image/compare/v5.10.1...v5.10.2) - short-name-aliases.conf: use cache folders instead of $HOME Note: the v5.10.x series is now cut from the `release-v5.10` branch. ### [`v5.10.1`](https://github.com/containers/image/releases/v5.10.1) [Compare Source](https://github.com/containers/image/compare/v5.10.0...v5.10.1) Fix segfault if sys is not defined. ### [`v5.10.0`](https://github.com/containers/image/releases/v5.10.0) [Compare Source](https://github.com/containers/image/compare/v5.9.0...v5.10.0) - tarball: fix example code - Bump github.com/ulikunitz/xz from 0.5.8 to 0.5.9 - Bump github.com/opencontainers/selinux from 1.6.0 to 1.8.0 - Bump github.com/vbauerster/mpb/v5 from 5.3.0 to 5.4.0 - Add DockerLogMirrirChoice to ctx for log - Rename variables in pkg/docker/config tests - Fix pkg/docker/config tests on non-Linux systems - Add macOS test cases to GetPathToAuth - Fix docker tests with recent c/storage - Fix signature tests with recent c/storage - Fix sysregistriesv2 tests with recent c/storage - Fix pkg/docker/config tests with recent c/storage - Bump github.com/containers/storage from 1.23.7 to 1.24.5 - Bump github.com/klauspost/compress from 1.11.3 to 1.11.6 - Enable subdomain matching in policy.json - Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 - Bump github.com/klauspost/compress from 1.11.6 to 1.11.7 - ostree.TestReferenceSignaturePath: fix a compiler warning in a test - manifest: add a test for UpdatedMIMEType - blobinfocache: track compression types for locations - Actually make a copy of ctx as the comment claims - Actually use the SystemContext copy in the one place that matters - Update golangci-lint - Clarify the canModifyBlob condition in copyBlobFromStream - Cleanup description of shortname expansion - Allow callers to set the MaxParallelDownloads field - Fix up errors linter is complaining about - Set a default User-Agent if unset ### [`v5.9.0`](https://github.com/containers/image/releases/v5.9.0) [Compare Source](https://github.com/containers/image/compare/v5.8.1...v5.9.0) - copy: check our assumptions about compression - Add a `signedIdentity` choice `"type": "remapIdentity"` - shortnames: error if there's no alias and no search registries ### [`v5.8.1`](https://github.com/containers/image/releases/v5.8.1) [Compare Source](https://github.com/containers/image/compare/v5.8.0...v5.8.1) Use storage/pkg/homedir rather then docker version ### [`v5.8.0`](https://github.com/containers/image/releases/v5.8.0) [Compare Source](https://github.com/containers/image/compare/v5.7.0...v5.8.0) - pkg/shortnames - Finally, split configuration loading and merging - Reorder merging code in loadConfig to match field order in V2RegistriesConf - Remove "TODO: separate upper format from internal data below:" - Move shortNameMode from V2RegistriesConf to parsedConfig - Behavior change: Move unqualifiedSearchRegistriesOrigin to parsedConfig - Deprecate TryUpdatingCache return value, warn about parsedConfig.v2 - Some progress: Move aliasCache out of V2RegistriesConf to parsedConfig - Add a parsedConfig return value to loadConfigFile - Split shortNameAliasCache.updateWithConfigurationFrom from loadConfig - Move the creation of shortNameAliasCache to loadConfigFile - Rename shortNameAliasConf.parseAndValidate to newShortNameAliasCache - Move the allocation of an empty alias map to editShortNameAlias - Bump github.com/klauspost/compress from 1.11.1 to 1.11.2 - Split shortNameAliasCache from shortNameAliasConf - Split the error and success return paths of shortNameAliasConf.parseAndValidate - Sort Registries in V2RegistriesConf.postProcess - Make it clearer that .postProcessRegistries() is called on the V2RegistriesConf data - Make tomlConfig private - Split loadConfigFile from loadConfig - Make loadConfig a method on parsedConfig instead of tomlConfig - Introduce sysregistriesv2.parsedConfig, use it for configCache - Don't hard-code cache implementation details in tests - Add a test for correctly merging unqualified-search-registries - sysregistriesv2: short-name aliasing - Add GetDigest method to retrieve digest from manifest HEAD request - Fix misleading network error - Bump github.com/containers/storage from 1.23.6 to 1.23.7 - docs: update reference to containers-registeries.d.md ### [`v5.7.0`](https://github.com/containers/image/releases/v5.7.0) [Compare Source](https://github.com/containers/image/compare/v5.6.0...v5.7.0) This Release now: Searches for credentials under XDG_CONFIG_HOME Usese $DOCKER_CONFIG/config.json to match the docker CLI. Sets a default rootless sigstore. Updates copier/imagecopier to fix race condition. ### [`v5.6.0`](https://github.com/containers/image/releases/v5.6.0) [Compare Source](https://github.com/containers/image/compare/v5.5.4...v5.6.0) - When we can't store signatures, point the user at the destination. - Update for [containers/skopeo#&#8203;932](https://github.com/containers/skopeo/issues/932) - Refactor configPath API - Load the rootless registries.conf.d for override - docker config: clean up after test - blobinfocache: clean up after test - enable search using pagination - pkg/docker/config: correct default file mode when create auth.json file - Update to Go 1.13 - Coverity found potential nil dereference - Look for normalized paths in tarfile. - Move docker/tarfile.Destination to docker/internal/tarfile.Destination - Use the docker/internal/tarfile.Destination from docker/daemon and docker/archive - Remove deprecated non-SystemContext functions from docker/internal.tarfile - Introduce Destination.configPath and Destination.physicalLayerPath - Split docker/internal.tarfile.Writer from Destination - Move createRepositoriesFile to a bit better place - Split Writer.createManifest from Destination.PutManifest - Reorganize docker/internal/tarfile.Writer.createManifest a bit - Move the computation of layerPaths in docker-archive - Implement writing multiple images in the modern format. - Split createSingleLegacyLayer from writeLegacyLayerMetadata - Move legacy layer ID computation to a bit later - Merge writeLegacyMetadata and createRepositoriesFile - Implement writing multiple images in the legacy format - Separate tarfile.Writer creation from Destination creation - Lock docker/internal/tarfile.Writer to support concurrent uses - Split openArchiveForWriting from docker/archive/newImageDestination - Finally, introduce docker/archive.Writer - use container/storage/pkg/homedir - Fix an error message on docker-archive:path:name@sha256:$digest - Move docker/tarfile.Source to docker/internal/tarfile.Source - Use the docker/internal/tarfile.Source from docker/daemon and docker/archive - Remove deprecated non-SystemContext functions from docker/internal/tarfile - Split docker/internal/tarfile.Reader from Source - Separate tarfile.Reader creation from Source creation - Read the tarfile manifest already when initializing tarfile.Reader - Turn tarfile.Source.LoadTarManifest into a TarManifest - Allow choosing an image from tarfile.Reader by reference - Introduce docker-archive:path:[@&#8203;Index](https://github.com/Index) syntax for reading untagged images - Introduce docker/archive.Reader - Finally, share a tarfile.Reader across archiveSource objects - Add docker/archive.NewReaderForReference - Add docker/archive.Reader.ManifestTagsForReference - Support per user registries.d - Move TestInvalidPolicyFormatError - Reduce duplication in policy_config_test.go - Eliminate more duplication in signature/policy_config_tests.go - Return error body if UnexpectedHTTPResponseError - Set NoLchown to true in untar opts ### [`v5.5.4`](https://github.com/containers/image/releases/v5.5.4) [Compare Source](https://github.com/containers/image/compare/v5.5.3...v5.5.4) Backports support for `DockerLogMirrorChoice`. ### [`v5.5.3`](https://github.com/containers/image/releases/v5.5.3) [Compare Source](https://github.com/containers/image/compare/v5.5.2...v5.5.3) - fix docker.GetDigest docker.makeRequestToResolvedURL docker.getExternalBlob socket leak (https://bugzilla.redhat.com/show_bug.cgi?id=1953071) ### [`v5.5.2`](https://github.com/containers/image/releases/v5.5.2) [Compare Source](https://github.com/containers/image/compare/v5.5.1...v5.5.2) Enable search registry uses the pagination until the search result reaches the limit, instead of returning default 100 limit from registry API. BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1866153 ### [`v5.5.1`](https://github.com/containers/image/releases/v5.5.1) [Compare Source](https://github.com/containers/image/compare/v5.5.0...v5.5.1) ... because the Go proxy caches an old version of the 5.5.0 tag, making it difficult to use 5.5.0. ### [`v5.5.0`](https://github.com/containers/image/releases/v5.5.0) [Compare Source](https://github.com/containers/image/compare/v5.4.4...v5.5.0) - Add Security Policy - Bump to v5.5.0-dev again - Bump github.com/containers/storage from 1.19.1 to 1.19.2 - Add debug line to get Content-Type from manifests - Add defaults for using the rootless policy path - Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0 - Bump github.com/klauspost/pgzip from 1.2.3 to 1.2.4 - pkg/docker/config/ModifyJSON: fix MkdirAll usage - Bump github.com/vbauerster/mpb/v5 from 5.0.4 to 5.2.1 - Bump github.com/containers/storage from 1.19.2 to 1.20.1 - Bump github.com/klauspost/compress from 1.10.5 to 1.10.6 - Bump github.com/vbauerster/mpb/v5 from 5.2.1 to 5.2.2 - Go module noise - Fix crash on inspecting an OCI image with no config - Bump github.com/opencontainers/selinux from 1.5.1 to 1.5.2 - Add hardcode Authfile for windows and mac - docker/config: initialize dockerConfigFile - docker/config: add `GetAllCredentials` - Bump github.com/stretchr/testify from 1.5.1 to 1.6.0 - Bump github.com/klauspost/compress from 1.10.6 to 1.10.7 - Bump github.com/containers/storage from 1.20.1 to 1.20.2 - Add documentation for credHelper - Fix error messages on !canModifyManifest - Add support for ProgressEventSkipped - Bump github.com/stretchr/testify from 1.6.0 to 1.6.1 - Bump github.com/klauspost/compress from 1.10.7 to 1.10.8 - oci: don't overwrite tags pointing at the same manifest - oci test: simplify length calculation ### [`v5.4.4`](https://github.com/containers/image/releases/v5.4.4) [Compare Source](https://github.com/containers/image/compare/v5.4.3...v5.4.4) - Bump github.com/klauspost/compress from 1.10.3 to 1.10.4 - Add User-Agent to oauth - Make the variant in TestChooseInstance data-controlled - Fix the docstring of WantedPlatforms - Introduce a variantOrder variable - Simplify the WantedPlatforms main loop - Simplify variant list preparation. - Simplify further - Simplify WantedPlatforms tests - Use quotes around variant name in errors - Bump github.com/containers/storage from 1.18.2 to 1.19.0 - Bump github.com/klauspost/compress from 1.10.4 to 1.10.5 - Bump github.com/vbauerster/mpb/v5 from 5.0.3 to 5.0.4 - registries.conf: remove references on v1 - Fix use of progressPool after it is closed. - OCI: Don't crash if OCI1Index.Manifests\[].Platform is nil - Move format-indepenent private utilities to manifest/common.go - Split updatedSchema2MIMEType / updatedOCI1MIMEType from UpdatedLayerInfos - Factor out the common parts of MIME type update error messages - Make MIME type conversions table-driven - Factor out updatedMIMEType out of updatedSchema2MIMEType / updatedOCI1MIMEType - Inline updatedSchema2MIMEType and updatedOCI1MIMEType back into callers - Add internal/uploadreader.UploadReader - Use an UploadReader for layer upload. - Detect and report errors reported by the server on blob upload. - Fix debug logging on HTTP request error - Combine the two TestWantedPlatforms\* tests - Improve handling of Variant: "" - Simplify and document MatchesPlatform - Recognize v8 as a valid ARM variant - Use the correct instance digest when uploading signatures using X-R-S-S - Use a by-value manifestDigest for the docker PutSignatures implementations - Remove registries.conf VERSION 2 references from man page - Bump github.com/sirupsen/logrus from 1.4.2 to 1.6.0 - Bump github.com/containers/storage from 1.19.0 to 1.19.1 - Don't change dockerImageSource.Reference() if a mirror is used - Commit Go-created go.mod updates ### [`v5.4.3`](https://github.com/containers/image/releases/v5.4.3) [Compare Source](https://github.com/containers/image/compare/v5.4.2...v5.4.3) - copy: avoid unnecessary re-encoding of source lists - set client_id - Update containers-registries.conf.5.md - Bump github.com/opencontainers/selinux from 1.5.0 to 1.5.1 ### [`v5.4.2`](https://github.com/containers/image/releases/v5.4.2) [Compare Source](https://github.com/containers/image/compare/v5.4.1...v5.4.2) - use c/storage/pkg/homedir - Bump github.com/containers/ocicrypt from 1.0.1 to 1.0.2 - Bump github.com/opencontainers/selinux from 1.4.0 to 1.5.0 ### [`v5.4.1`](https://github.com/containers/image/releases/v5.4.1) [Compare Source](https://github.com/containers/image/compare/v5.4.0...v5.4.1) - getCPUVariantWindows uses arch provided to getCPUVariant - Downgrade siruspen/logrus from 1.5 to 1.4.2 ### [`v5.4.0`](https://github.com/containers/image/releases/v5.4.0) [Compare Source](https://github.com/containers/image/compare/v5.3.1...v5.4.0) - Expose image variant - A set of dependency updates ### [`v5.3.1`](https://github.com/containers/image/releases/v5.3.1) [Compare Source](https://github.com/containers/image/compare/v5.3.0...v5.3.1) - Bump github.com/klauspost/pgzip from 1.2.2 to 1.2.3 - Update import path for bbolt - Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0 - Bump go.etcd.io/bbolt from 1.3.3 to 1.3.4 - Bump github.com/containers/storage from 1.16.5 to 1.16.6 - Move architecture+variant logic together, separate from wantedOS - Only auto-detect platform variant if we are also auto-detecting the architecture - Make restTLSClientConfig in restConfig a public field - Add a comment to explain why tests are excluding the config descriptor - Fix MIME type in expected results of schema1->schema2 conversion - Rename image/fixtures/schema1-to-oci-config.json to schema1-for-oci-config.json - Add ManifestUpdateInformation to tests converting from schema1 - Add tests for conversion between schema1 and OCI - Consolidate repeated uses of GzippedEmptyLayerDigest to a single local variable - Allow manifestConvertFn to edit ManifestUpdateOptions - Modify manifestConvertFn to return a genericManifest instead of Image - Convert ManifestUpdateOptions.LayerInfos on conversions from/to schema1 ### [`v5.3.0`](https://github.com/containers/image/releases/v5.3.0) [Compare Source](https://github.com/containers/image/compare/v5.2.1...v5.3.0) - Fixed registries.conf - Add Code of Conduct - Bubbling up errors returned by copyBlobFromStream - Re-order the members of archiveReference to a more logical order - Add docker/archive.NewReference - Remove tarballReference.transport - Add tarball.NewReference - Add storage.Transport.GetStoreIfSet - Simplify ID value check - Add validateImageID - Add storage.Transport.NewStoreReference - registries.conf.d: add stances for the registries.conf - Add $HOME/.config/containers/registries.conf to config path - sysregistriesv2: drop "rewrite" debug messages - Add $HOME/.config/containers/certs.d to perHostCertDirPath - Intial authfile man page - Return error when acquire semaphore lock gets error - feat(docker): support docker registry token - containers-registries.conf.d: refine semantics - Updated warning about short names. - Make UpdatedImage update after conversion of MIME type - Support IdentityToken in registry authn - Deprecate SupportsEncryption call in manifest interface - oci manifest: do not require whitelist of layer types - Fix crash on missing RootFS in docker/tarfile configs - copy: try list conversions on list push failures - Support architecture variants for multi-arch images and runtime compatibility checks ### [`v5.2.1`](https://github.com/containers/image/releases/v5.2.1) [Compare Source](https://github.com/containers/image/compare/v5.2.0...v5.2.1) - Bump github.com/mtrmac/gpgme from 0.1.1 to 0.1.2 - determineListConversion: check forced type - copyMultipleImages: re-serialize the list if we changed it ### [`v5.2.0`](https://github.com/containers/image/releases/v5.2.0) [Compare Source](https://github.com/containers/image/compare/v5.1.0...v5.2.0) - Add tests for internal/iolimits - Also use ReadAtMost in docker/tarfile - Simplify error checking in iolimits.ReadAtMost - restrict sizes of inmem processed blobs - copy: relax platform checks - Add comment about chmod - Windows fixes for dir: destination - Bump github.com/opencontainers/selinux from 1.3.0 to 1.3.1 - Add documentation about rewriting docker.io registries - Bump github.com/klauspost/compress from 1.9.7 to 1.9.8 - Always use SigningMechanism implementations by reference - Bump github.com/containers/storage from 1.15.5 to 1.15.7 - Update to github.com/mtrmac/gpgme@v0.1.1 - Bump github.com/pkg/errors from 0.9.0 to 0.9.1 - Bump github.com/pkg/errors from 0.8.1 to 0.9.0 - Add a log entry after each pullSource access failure - Use "Trying to access", not "Trying to pull" in the debug log - Report all errors encountered when trying to use mirrors - Simplify variable names in newImageSource\* - Behavior change: Make all errors in newImageSourceAttempt non-fatal - Split newImageSourceAttempt from newImageSource - Allow for disabling schema1 MIME types for docker destinations - Fix up the wording a bit in various places - Support canceling the 429 retry loop using context.Context - Make parseRetryAfter a top-level function - Move the backoff handling parameters to the top of the file - Use time.Duration instead of an integer number of seconds in the backoff loop - Separate an initialDelay constant from the delay loop variable - Move the (res, err) variables inside the loop - Simplify back-off control flow, part 3 - Simplify back-off control flow, part 2 - Simplify back-off control flow, part 1 - Remove a debugging log entry - Rename the "delay" parameter to parseRetryAfter to "fallbackDelay" - Remove the min() helper - Move the maxDelay enforcement out of the nextDelay helper - Re-add some context to unexpected HTTP status errors - Bump github.com/klauspost/compress from 1.9.5 to 1.9.7 - Bump github.com/klauspost/compress from 1.9.4 to 1.9.5 - Bump github.com/containers/storage from 1.15.4 to 1.15.5 - Bump github.com/containers/storage from 1.15.3 to 1.15.4 - Bump github.com/vbauerster/mpb/v4 from 4.11.1 to 4.11.2 - Add registries warning to registries.conf ### [`v5.1.0`](https://github.com/containers/image/releases/v5.1.0) [Compare Source](https://github.com/containers/image/compare/v5.0.0...v5.1.0) Bump all vendored software Makefile: split tools installation internal/pkg/keyctl: drop deprecation warning keyctl: tests: check errors storage_test.go: check storage interfaces Bump github.com/klauspost/compress from 1.9.2 to 1.9.3 Add internal error handling Fix Error return value is not checked Handle checking error in dirImageMockWithRef Add helper for error checking Reverted newDigestingReader to validate blob during decryption Cleaner refactoring to determineManifestConversion Implemented image encryption Fix destination stream overwrite on progress Enforce architecture match on MustMatchRuntimeOS Simplify the OS equivalence check Improve OS mismatch error message Redefine ImageDestination.MustMatchRuntimeOS to also include architecture Added possibility to overwrite default tmp dir for big files Improve progress reader to report start/end and offset update ### [`v5.0.0`](https://github.com/containers/image/releases/v5.0.0) [Compare Source](https://github.com/containers/image/compare/v4.0.1...v5.0.0) - Clean up various imports primarily so that imports of packages that aren't in the standard library are all in one section. - Update to major version v5 - return resp error message - copy.Image(): select the CopySystemImage image using the source context - Add manifest list support - docker: handle http 429 status codes - allow for .dockercfg files to reside in non-home directories - Use the correct module path in (make test-skopeo) ### [`v4.0.1`](https://github.com/containers/image/releases/v4.0.1) [Compare Source](https://github.com/containers/image/compare/v4.0.0...v4.0.1) Actually usable as a v4 Go module. - Simplify Makefile a bit - Correctly use a c/image/v4 module namespace - GuessMIMEType: recognize OCI images with no layers - manifest update: consider that storage lies ### [`v4.0.0`](https://github.com/containers/image/releases/v4.0.0) [Compare Source](https://github.com/containers/image/compare/v3.0.2...v4.0.0) Explicitly replace docker/libtrust with containers/libtrust - Don't import all of pkg/compression in c/image/types - update c/storage to v1.13.4 - Simplify Makefile a bit - Revert "update dependencies" - Update to mergo v0.3.5 - Add tests for parsing OpenShift kubeconfig files - add http response to log - make container tools work with go+openssl - Update test certificates - update dependencies - make test-skopeo: replace c/image module instead of copying code - copy: don't lose annotations of BlobInfo - move keyctl to internal & func remove auth from keyring - media type checks - Makefeile: use official golang proxy - update go module - Replace `vendor.conf` by `go.mod` - internal/testing/explicitfilepath-tmpdir: handle unset TMPDIR - keyctl: clean up after tests - copy: fix options.DestinationCtx nil check - fix cross-compilation by vendoring latest c/storage - copy: add nil checks - copy: compression: default to gzip - vendor.conf: update reference for containers/storage - compress: define some consts for the compression algos - copy: use a bigger buffer for the compression - compression: allow to specify the compression format - compression: add support for the zstd algorithm </details> --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate-bot added 1 commit 2022-02-22 08:01:20 +00:00
chore(deps): update module github.com/containers/image to v5
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
91b4e021d0
renovate-bot manually merged commit 91b4e021d0 into main 2022-02-22 09:52:21 +00:00
Author
Contributor

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 5.x releases. However, if you upgrade to 5.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

### Renovate Ignore Notification As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for *any* future 5.x releases. However, if you upgrade to 5.x manually then Renovate will reenable minor and patch updates automatically. If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.
Sign in to join this conversation.
No description provided.