-
Notifications
You must be signed in to change notification settings - Fork 84
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
feat: upgrade to OCI 1.1 #916
Conversation
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #916 +/- ##
==========================================
+ Coverage 64.93% 67.72% +2.79%
==========================================
Files 45 45
Lines 2729 2169 -560
==========================================
- Hits 1772 1469 -303
+ Misses 795 534 -261
- Partials 162 166 +4 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Patrick Zheng <[email protected]>
This may be too late to change, but if not, I'd suggest renaming the flag to something more clear to end users:
Default the value to true for now, and on a 2.x release, change the default to false. From an outside view, Edit: note this is a focus on the notation version, rather than the OCI version, since users would more likely know the version of their notation clients while they don't necessarily know the version of their registry. |
+1, can we add |
I'm actually seeing two suggestions here:
Maybe a vote? @sajayantony @shizhMSFT @toddysm @yizha1 @FeynmanZhou @JeyJeyGao @rgnote and other folks. |
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
It makes sense as pushing manifests with subjects does not really call the referrers API as defined in The |
I vote for the flag name |
As discussed in Today's call, I'm fine with both |
I am kind of @shizhMSFT 's proposal, i.e.,
For @sudo-bmitch and @priteshbandi 's proposals above, |
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
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
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
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
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
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
This reverts commit 0f556be.
This reverts commit 0f556be. Signed-off-by: Junjie Gao <[email protected]>
This PR upgrades Notation to OCI 1.1.
Major changes [UPDATE as of 4/2/2024 after community meeting]:
--force-referrers-tag
is introduced. And it is only applied to theSign
command. It's default totrue
, and it's NOT anexperimental
flag. The originalexperimental
flag--allow-referrers-api
will be hidden, i.e., description and example will be hidden from help page. It is kept only for backwards compatibility purpose, and a warning will be printed out when user sets it.--allow-referrers-api
is still kept and hidden. When set, a warning will be printed out.Changes are tested in E2E and ACR.
This PR partially resolves issue #892. Resolves #893. Resolves #926,