Skip to content

Conversation

@mtrmac
Copy link
Contributor

@mtrmac mtrmac commented Dec 5, 2025

This is a subset of #512 , just to have a shared setup in which to work on c/image/copy.

@lsm5 PTAL.

I have left out the actual PutBlob change from #512, I want that to actually be implemented in all transports at once — so #512 might be more convenient to experiment on.

@github-actions github-actions bot added the image Related to "image" package label Dec 5, 2025
// only to allow gradually building the feature set.
// After c/image/copy consistently implements it, provide a public digest options API of some kind.
optionsCopy := *options
optionsCopy.digestOptions = digests.CanonicalDefault()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For experiments, this can be modified to refer to storage/pkg/supported-digests/algorithm.go or be hard-coded to digests.MustUse(digests.SHA512).

podmanbot pushed a commit to podmanbot/buildah that referenced this pull request Dec 5, 2025
@podmanbot
Copy link

✅ A new PR has been created in buildah to vendor these changes: containers/buildah#6572

The goal is to allow building the digest-choice-dependent machinery
from the bottom up without committing to an API while we don't understand
the problem space; for now, we don't expose any way for users to
actually make a choice.

This code is never called at this point, so this should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
for now, purely to let us internally work on implementing digest
choice / conversions; there is no way for a caller to set it.

Should not change behavior, the field has no users.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

image Related to "image" package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants