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

Align use of arc_specification package #67

Open
Brilator opened this issue Nov 18, 2024 · 1 comment
Open

Align use of arc_specification package #67

Brilator opened this issue Nov 18, 2024 · 1 comment

Comments

@Brilator
Copy link
Member

  1. Where do I find the arc_specification validation packages (e.g. arc_specification: 2.0.0-draft)
  2. I'd suggest to list them in https://avpr.nfdi4plants.org/packages
  3. I'd suggest to align the validation of ARCs with those of other packages, e.g.

instead of

arc_specification: 2.0.0-draft
validation_packages:
  - name: invenio
    version: 2.1.0

do

validation_packages:
  - name: arc_specification
    version: 2.0.0-draft
  - name: invenio
    version: 2.1.0
@github-actions github-actions bot added the Status: Needs Triage This item is up for investigation. label Nov 18, 2024
@kMutagene
Copy link
Member

Spec validation is handled differently from packages. In contrast to packages, which have to be scripts that are executed in isolation, we decided to have the spec validation as a direct part of the core arc-validate tool. That has the advantage that we can do way more extensive testing on those validation cases. To reflect this correctly in the config file, specs are not a part of the package section.

You can find the code for spec validation here: https://github.com/nfdi4plants/arc-validate/tree/main/src/ARCExpect/SpecificationValidation

@kMutagene kMutagene removed the Status: Needs Triage This item is up for investigation. label Dec 4, 2024
@kMutagene kMutagene moved this to In discussion in ARCStack Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In discussion
Development

No branches or pull requests

2 participants