-
Notifications
You must be signed in to change notification settings - Fork 1
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
spython is missing DockerRecipe #3
Comments
Seems to have moved to spython.main.parse.parsers.docker.DockerParser and now requires a call to |
Oh this is an error on my part! We refactored the recipe parser to be much better organized, and I didn't specify the previous version here (and didn't update it). Let me fix this up right away, stay tuned! |
hey @stain I've updated the extract.py examples. Would you care to test? #5 The SoftwareSourceCode is the most straight forward - we are constrained to the existing fields (that largely don't include container-specific things). If you try the other examples, we use ContainerDiff to extract more metadata, and in fact this could be greatly extended to use Files or other to extract meaningful tags. The extraction script itself would likely be written for your use case, depending on the metadata that you have for containers. |
Anyway, give the PR a test, and let me know what you are trying to accomplish after, and I'll see if I can be of help. :) Happy Friday! |
Thanks! For my use case, see ResearchObject/ro-crate#39 - basically we want to include some of your container metadata extracts straight in the ro-crate JSON-LD, so the first step would be to get output as pure JSON-LD without the HTML wrapper. It could also be that some We would then try to help improve the specs, e.g. adding/guessing URLs for container images in the hub. |
The docs do not say which version of
spython
is needed by */extract.py, so I did simplypip install spython
- but this seem to no longer have theDockerRecipe
classThe text was updated successfully, but these errors were encountered: