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

Possible extension to API needed for oci download and upload #5

Open
DrDaveD opened this issue Dec 19, 2022 · 3 comments
Open

Possible extension to API needed for oci download and upload #5

DrDaveD opened this issue Dec 19, 2022 · 3 comments

Comments

@DrDaveD
Copy link
Collaborator

DrDaveD commented Dec 19, 2022

Please see sylabs/scs-library-client#150 and sylabs/scs-library-client#151 regarding the possible need to add to the library-api standard.

@DrDaveD DrDaveD changed the title Possible extension to API needed Possible extension to API needed for oci downoad and upload Dec 19, 2022
@dtrudg
Copy link

dtrudg commented Dec 19, 2022

Hello all.

The two referenced PRs in the Sylabs scs-library-client don't really affect the library standard API per se. These changes are related to an offload of transfers directly to an OCI registry, in the case that a library service is backed by an OCI registry as the image store, implemented in a specific manner.

This currently applies only to a forthcoming implementation within Singularity Enterprise / SCS (cloud.sylabs.io). Both sides of Sylab's implementations, client and server, fall back to the open standard API if the offload isn't implemented.

Adam is off at the moment, but as he is the person from Sylabs on the list of maintainers for this library-api project, I'll ask him to engage on this topic, if necessary, when he returns after the holidays.

@DrDaveD DrDaveD changed the title Possible extension to API needed for oci downoad and upload Possible extension to API needed for oci download and upload Dec 19, 2022
@vsoch
Copy link
Member

vsoch commented Dec 19, 2022

Yeah - superficially this sounds like just implementing something like ORAS.

@dtrudg
Copy link

dtrudg commented Dec 19, 2022

Yeah - superficially this sounds like just implementing something like ORAS.

Yeah, kinda. If you considered it outside of the context of Singularity Enterprise / cloud.sylabs.io then you could look at it a bit like there being a library:// protocol and some auth in front of an ORAS-like backend.

Unless you are Sylabs, I'd suspect that you'd want to just switch to using oras:// directly for OCI storage, and otherwise stay on the library:// protocol as defined in the open API at present. But if there's more debate around that we can engage after the holidays, as above.

Cheers!

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

No branches or pull requests

3 participants