-
Notifications
You must be signed in to change notification settings - Fork 17
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
ENH: Add "container metadata extractor" #198
Comments
file level, not dataset level. we will extract for.all singularity images in the repo. |
do develop that extractor within datalad-container extension, not in metalad. I will transfer this issue |
target use case: https://github.com/ReproNim/containers extractor for starters should just look at registered within dataset containers i.e. the ones listed by
|
$> singularity inspect images/neurodesk/neurodesk-vina--1.2.3.simg
{
"org.opencontainers.image.revision": "e50c6323cd703e0c2df7aa56eb18e05757df2402",
"maintainer": "Anaconda, Inc",
"org.opencontainers.image.document": "https://github.com/Metaphorme/AutoDock-Vina-Docker",
"GITHUB_SHA": "da8afcba3a56737deebcc847da204c0247a139f5",
"org.opencontainers.image.created": "2022-12-23T15:47:51.857Z",
"org.opencontainers.image.licenses": "MIT",
"GITHUB_REPOSITORY": "NeuroDesk/neurocontainers",
"org.opencontainers.image.description": "Build from release",
"org.opencontainers.image.name": "vina-all",
"org.opencontainers.image.version": "22.11.1",
"org.opencontainers.image.source": "https://github.com/ContinuumIO/docker-images",
"org.opencontainers.image.authors": "Metaphorme",
"org.opencontainers.image.url": "https://github.com/ContinuumIO/docker-images",
"org.opencontainers.image.title": "docker-images"
} may be we should also provide a |
You can capture the output of external programs by using This docs page explains how the derived class needs to be constructed. |
I thought you have mastered one @asmacdo as a PR somewhere -- please reference this issue so we get them linked. |
Fixes: datalad#198 plus docs (add build/ to gitignore) plus changelog (add scriv to dev requirements)
Fixes: datalad#198 - Adds "singularity inspect path/to/file.sing" to metadata - Adds "apptainer --version || singularity version" to metadata
Fixes: datalad#198 - Adds "singularity inspect path/to/file.sing" to metadata - Adds "apptainer --version || singularity version" to metadata find_executable will be removed in 3.12 Code that imports distutils will no longer work from Python 3.12. Necessary for me to run locally. Update file docstring to not lie Handle both singularity and apptainer
Fixes: datalad#198 - Adds "singularity inspect path/to/file.sing" to metadata - Adds "apptainer --version || singularity version" to metadata find_executable will be removed in 3.12 Code that imports distutils will no longer work from Python 3.12. Necessary for me to run locally. Update file docstring to not lie Handle both singularity and apptainer
Fixes: datalad#198 - Adds "singularity inspect path/to/file.sing" to metadata - Adds "apptainer --version || singularity version" to metadata find_executable will be removed in 3.12 Code that imports distutils will no longer work from Python 3.12. Necessary for me to run locally. Update file docstring to not lie Handle both singularity and apptainer
datalad-metalad extension should include an extractor to retrieve metadata from a container image.
In scope: singularity
out of scope (for now) OCI containers
Desired metadata ideas:
The text was updated successfully, but these errors were encountered: