-
Notifications
You must be signed in to change notification settings - Fork 181
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
ORAS Push should support annotations, without having to specify a file #362
Comments
+1. I ran into this one as well. Recommend renaming these to singular with multi value support and not plural as called out in the issue.
|
We also need to add this for |
+1, I left more context in #407 (comment). As we decide to implement and support pass annotations without specifying a file for both |
+1 on splitting the annotations as strings and attach |
Hi team, I am highly interested in the issue above, please assign to me @shizhMSFT |
|
@junczhuMSFT The implementation plans look good to me. We can support these two ways in v0.14.0 and then deprecate the previous one going forward. |
Consider it you can just rename to annotations. Layer and config annotations are more coMplex scenario and so maybe if you wanted those we could use the —layer or —config prefix. I would recommend keeping the default flag short and -a or something simpler as prefix. |
Thanks @FeynmanZhou
I've updated to use |
I don’t think we need the config or layer in the CLI. Just discussing that it’s possible if and when the requirement comes, we have possibilities of opening up without affecting the —annotation flag. |
@SteveLasker You are correct. ORAS Attach
ORAS Push
|
@FeynmanZhou Why |
@qweeah |
Repro steps
Fails, as it expects
--manifest-annotations
to be a file. I was hoping the docs were wrong :(Desired
The default experience should enable a user to pass annotations as a string, so they don't have to create a file just to upload a single annotation
I'd suggest a file could be sent in as a stream if we really needed to support files.
We should also support multiple
--manifest-annotation
values to be passed in:The text was updated successfully, but these errors were encountered: