-
Notifications
You must be signed in to change notification settings - Fork 22
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
correct documentation for OCI uploader and downloader #665
Conversation
Mend Scan Summary: ❌Repository: open-component-model/ocm
|
Integration Tests for 34e6d22 run with result: Success ✅! |
Integration Tests for 34e6d22 run with result: Success ✅! |
The following artifact media types are supported: | ||
`+listformat.FormatList("", supportedMimeTypes...)+` | ||
`+listformat.FormatList("", artdesc.ArchiveBlobTypes()...)+` | ||
By default, it is registered for these mimetypes. |
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.
there is no default registration so far
It accepts a config with the following fields: | ||
`+listformat.FormatMapElements("", AttributeDescription()), | ||
`+listformat.FormatMapElements("", ociuploadattr.AttributeDescription())+` |
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.
ociupload belongs to the upload handler.
It should add, that if no mime types are configured the supported mimes types are used.
I just saw, that the text in the downloader tests still refer to upload. |
`+listformat.FormatMapElements("", ociuploadattr.AttributeDescription())+` | ||
Alternatively, a single string value can be given representing an OCI repository | ||
reference.`, |
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.
The deleted one is the upload description
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
What type of PR is this? (check all applicable)
Related Tickets & Documents
Screenshots
Added tests?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?
Checklist: