containers / image

Work with containers' images
Apache License 2.0
845 stars 366 forks source link

Also annotate image instances using zstd:chunked as using zstd #2302

Closed mtrmac closed 4 months ago

mtrmac commented 4 months ago

... so that zstd-preferring implementations like c/image can choose them.

Fixes #2077.

2077 also talks about writing down what InternalUnstableUndocumentedMIMEQuestionMark means; this does not do that yet – the currently outstanding items in #2189 center around how BlobInfoCache deals with zstd/zstd:chunked as (not) interchangeable. Here we can trivially just check for two values without determining the exact semantics, BlobInfoCache will quite likely care a bit more, so decide the semantics at that point; for now, this PR just leaves a breadcrumb.

rhatdan commented 4 months ago

LGTM