-
Notifications
You must be signed in to change notification settings - Fork 669
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
add application/vnd.oci.image.layer.v1.tar+zstd to official media type? #787
Comments
👍 |
Sounds like a good idea to me, the main question is whether we should require support or define it as a Though, given there is a C library (used fairly widely now) and implementations for Go and Rust, I'd be willing to argue that implementing support shouldn't be an onerous requirement for image consumers. Does anyone want to volunteer to do the PR, or should I? |
I would welcome a PR on this. The language for this kind of extensibility
ought to allow for future permutations as well, even if it calls out
explicitly `+zstd` for now.
…On Mon, Aug 5, 2019 at 6:19 AM Aleksa Sarai [see §317C(6)] < ***@***.***> wrote:
Sounds like a good idea to me, the main question is whether we should
require support or define it as a SHOULD (such that we define +zstd to
mean something specific without requiring everyone implement support).
Though, given there is a C library (used fairly widely now) and
implementations for Go and Rust, I'd be willing to argue that implementing
support shouldn't be an onerous requirement for image consumers.
Does anyone want to volunteer to do the PR, or should I?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#787?email_source=notifications&email_token=AAAQL2OEN2LDOYTZ5RBPJKTQC75DPA5CNFSM4II6WKK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RMC7Y#issuecomment-518177151>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAQL2LCAYGY4YYMYX7KPY3QC75DPANCNFSM4II6WKKQ>
.
|
Closes: opencontainers#787 Signed-off-by: Giuseppe Scrivano <[email protected]>
I've opened a PR here: #788 |
Closes: opencontainers#787 Signed-off-by: Giuseppe Scrivano <[email protected]>
Closes: opencontainers#787 Signed-off-by: Giuseppe Scrivano <[email protected]>
@vbatts do we care if OCI media types are valid RFC6838 media types? E.g. "zstd" isn't defined in the Structured Syntax Suffix Registry.
This ties into #747 as well. I'm not sure if the +enc double-suffix is valid (though I mostly skimmed that RFC and might misunderstand the grammar described). I was thinking about how I'd go about adding support for zstd in various places, and I'm a bit worried that, as we add more dimensions to the media types, we're going to end up with a combinatoric explosion of valid media type strings. As a registry/client author, it's currently easy enough to hard-code these strings and special-case e.g. nondistributable layers or the compression algorithm; however, I can imagine that comparing hard-coded strings will become sub-optimal at some point in the future, and we'd be better off parsing these strings into a structured form.
|
Closes: opencontainers/image-spec#787 Signed-off-by: Giuseppe Scrivano <[email protected]>
Closes: opencontainers/image-spec#787 Signed-off-by: Giuseppe Scrivano <[email protected]>
Closes: opencontainers/image-spec#787 Signed-off-by: Giuseppe Scrivano <[email protected]>
Closes: opencontainers/image-spec#787 Signed-off-by: Giuseppe Scrivano <[email protected]>
Closes: opencontainers#787 Signed-off-by: Giuseppe Scrivano <[email protected]>
Closes: opencontainers/image-spec#787 Signed-off-by: Giuseppe Scrivano <[email protected]>
containers/image#639 (comment)
@vbatts @giuseppe
The text was updated successfully, but these errors were encountered: