-
Notifications
You must be signed in to change notification settings - Fork 29
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
Updated media type to a format compatible with OCI registries #279
Conversation
Signed-off-by: Fredrik Skogman <[email protected]>
LGTM overall! I'm also divided on bumping the version here:
|
This is exactly the one I tried to avoid :) But yes, agree with all you said @woodruffw |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. Leaving the version at 0.3 feels like the right thing to do here.
When we publish the new protobuf packages, I assume we'll treat this as a patch update to the v0.3.x family, yeah?
Are there any clients generating v0.3 bundles yet? |
In sigstore-js, we can verify a v0.3 bundle, but don't yet generate them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Only question is if we have any v3 bundles floating about. If so, then this LGTM. If not, then we could change the v3 string without having to support the previous version.
sigstore-go isn't generating v3 bundles. |
What about java and python, do you produce v0.3 bundles yet? @woodruffw @loosebazooka |
I think it's okay to keep it at v3 for java. It's committed in code, but unused. |
Ah yeah, I forgot that nobody has really rolled out v3 bundle support yet. Given that, I think we're safe to not bump the version here! |
Do we need to support |
That is a very tempting idea! We do have a release/tag The language we have now is:
To minimize the risk of breaking anything I think we should keep as is? It's unlikely, but someone can be using the v3 version in some private scenario and I would hate to make their lives harder. |
Removing IMO, we can do the following
In practice, this should have no compatibility concerns, since no clients are generating v3 bundles at the moment. |
I think we are more or less saying the same @woodruffw, but I think the language we have is enough? But yes, |
Yes, I think so! |
SGTM, agreed we shouldn't yank a release. |
Merging since there's 3 LGTMs |
Note that i did not opt for bumping the version in the media type, only changing the encoding. I would be very interesting to hearing the pros/cons. As there are no semantical changes, I kept the semantic versioning. But I'm struggling to come to a resolution if that was a good or bad move. If we bump the semantic versions, some parts of the code will be more complicated client side. I'm easy to convince the semantic version should be bumped if there are more concrete use-cases where it would be simpler 😅
Summary
Closes #165
Release Note
Added a new format for the media type that is compatible with OCI registries
Documentation
N/A