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

Investigate typed metadata for validation packages #98

Closed
kMutagene opened this issue Apr 24, 2024 · 1 comment · Fixed by #99
Closed

Investigate typed metadata for validation packages #98

kMutagene opened this issue Apr 24, 2024 · 1 comment · Fixed by #99

Comments

@kMutagene
Copy link
Member

Currently, validation packages contain their metadata as yaml frontmatter.

This is suboptimal once that metadata is relevant for the output generated by the ARCExpect API (e.g. package name or version might not match).

@kMutagene
Copy link
Member Author

kMutagene commented Apr 25, 2024

As of nfdi4plants/arc-validate-package-registry@0049cf9 it is now possible to extract metadata inside a package from the frontmatter.

See also https://github.com/nfdi4plants/arc-validate-package-registry?tab=readme-ov-file#frontmatter-bindings.

This should be implemented in ARCExpect via the Execute API functions accepting ValidationPackageMetadata (or even directly the frontmatter string) to determine folder naming and use defaults for badge text and run summary. Note that now #95 can now also include full package metadata easily.

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

Successfully merging a pull request may close this issue.

1 participant