-
Notifications
You must be signed in to change notification settings - Fork 16
Design (+implementation) to switch to support/use OCI containers to produce singularity images #153
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
base: master
Are you sure you want to change the base?
Conversation
Summary of ChangesHello @yarikoptic, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a design and initial implementation plan to modernize the container creation process by shifting from direct Docker image conversion to a more flexible OCI container-based workflow. The change aims to leverage OCI images directly, facilitating better integration with tools like Podman/Docker, and includes a detailed strategy for migrating existing Singularity images to the new format. This refactoring is intended to fix issue #137 and open new avenues for container management. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
| @@ -0,0 +1,68 @@ | |||
| Plan to refactor codebase on how we approach creation of singularity/apptainer containers. | |||
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.
@bpinsard here is my "plan"... WDYT?
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.
Code Review
This pull request introduces a design document outlining a plan to refactor the creation of Singularity/Apptainer containers. The new approach will use OCI containers as an intermediate format, which is a solid strategy. The design document is clear and well-structured. My review focuses on a few minor typos and formatting issues in the markdown file to improve its readability and correctness. Overall, this is a good plan.
| E.g. | ||
| datalad containers-add --url oci:docker://bids/aa:v0.2.0 -i bids/bids-aa--0.2.0.oci bids-aa | ||
|
|
||
| under images-oci// subdataset. |
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 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.
remember that we might use // to demarkate subdataset boundaries (git submodule) so it is not a typo in this case
|
Sorry for the delay.
From what I understand, it looks like a good plan that allow tracking provenance from external registries through layers SHA and manifests, but still generate a datalad-managed and separately-hosted SIF file. |
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
It should fix
and it should open paths for use of OCI images directly using podman/docker while being able to access original layers from the corresponding hubs (ATM docker support in datalad-container is not up to par with that ... datalad/datalad-container#277 is needed, seems to work nicely)