Skip to content
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

[RFE] Create custom manifest spec for UOR that extends OCI (or the oras artifact spec) #65

Open
jpower432 opened this issue Aug 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@jpower432
Copy link
Contributor

What is the problem you're trying to solve
The UOR client is storing attributes in OCI annotations. The issue with this solution is that attributes are meant to be typed. Since annotations are a map with string as the value, the option has been to store a JSON formatted doc within a custom UOR annotation.

Describe the solution you'd like
A less brittle solution is to create a spec to extend the OCI specification or (oras Artifact specification) to include a new UOR-specific field for attributes.

Additional context
oras.Pack is used to generate and pack the manifest into the content.Store. This functionality would have to be recreated but using the UOR spec.

@jpower432 jpower432 added the enhancement New feature or request label Aug 10, 2022
@jpower432
Copy link
Contributor Author

Related to #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant