-
Notifications
You must be signed in to change notification settings - Fork 42
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: implement OpenSchemas types for Container, ContainerImage, etc #1361
Comments
If you want to make it super easy, check out the extractors (Docker containers and Github actions) https://github.com/openschemas/extractors |
Closing this for now until there is a specific need for it. |
Thanks @nokome - let me know if I can be of help in the future. It's been very challenging to communicate with the schema.org community and move things forward, so I haven't done any further work here. |
Thank you @vsoch. Sorry to hear that you had communication issues with schema.org. I will be reaching out to you (very soon) to get your feedback on our schema.org extensions in this repo. |
For when this is re-opened - I have a few comments! There are currently three relevant references for containers, namely:
And I think a container is fundamentally different, one level up in terms of abstraction from SoftwareEnvironment (e.g., you can imagine a container having a software environment inside. and then when you run the container it could create a VolumeMount (although container is not required for VolumeMount). You mentioned refactoring / changing these shcemas since they aren't widely used, but I would say that it doesn't hurt to have them if needed, and if a use case comes into play that warrants changes, additional work can be done. If you are considering not having these three in the initial release of the library, perhaps there can be a schema drafts or proposals folder alongside the repository to keep them (and then not have them released?) For containers, the fundamental question, I think, is if it's worth to represent a container image (e.g., referencing a manifest with possibly more than one layer/blob) and/or a container instance, which would be the running thing (with volume mounts, etc.). I think I would implement both, because the use case for the image is to reference something in storage / being published, and the use case for the image would be describing it at runtime. Let me know your thoughts! I'm definitely happy to work on something, even if it just goes into a drafts folder (to await someone that has interest). |
After some email discussion with @vsoch we decided to reopen this, rather than create a new issue. Vanessa is a much faster at typing than me so beat me to it :) We already have three types in this schema, that relate to container images and container runtimes... SoftwareEnvironment
|
Hmm, probably not, because a collection of packages != a container image, which can be a binary itself. It would be confusing to have them reference the same thing, because again, a software environment can be found within a container image.
Yes! I like this approach. I also think trying to match industry standards (OCI which is one) is the right way to go! What are your thoughts on allowing for some kind of drafts folder (or other method to add drafts?). I could give a shot at adding the ContainerImage and ContainerRecipe.
I'm of the opinion that if the community is strong here, it's water under the bridge to possibly abandon a previous attempt (openschemas) and retry here. So I don't mind the redundancy, and think it could be better. |
All sounds good @vsoch. I've assigned this issue to you and will invite you as a collaborator so you can make a PR. WRT draft status. Please see the docs folder there is mention there about the custom Excuse the brevity, on the phone. |
We've started implementing a
SoftwareEnvironment
type (which at this time, doesn't add any properties overschema:SoftwareApplication
). We use that in Dockter to generate a Dockerfile (and soon Nix file) from which we build a container.Meanwhile, I've recently discovered the OpenSchemas initiative which specifically aims to develop schemas for "technology, high performance computing, infrastructure and research computing" and which already has
Container
,ContainerImage
andContainerRecipe
.There is a lot of discussion in various places including shcema.org, OCI and Bioschemas:
The text was updated successfully, but these errors were encountered: