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
EWG action: review auto-validation for Principle #4 Versioning #2223
Comments
P4 - automated check needs to account for both methods for version IRIs. Also needs to do at least some spot checks for resolvability. Req: (1) Unique version IRI that (2) resolves to correct file and (3) has format -date- or -semantic-. If date, must be yyyy-mm-dd format. |
Related issue: #1016 |
From Principle:
From Automated check:
NEEDED:
|
EWG discussion:
|
Account of semantic version types to see if there is any consistent elements usable for automated checks. These were found by reviewing the Dashboard specifically for Warnings about versioning or Fails when the version doesn't resolve. Warnings for ontologies that don't have recommended format are not included below if the version system uses dates but somehow doesn't use the right syntax. chebi 220 In all cases only digits and periods are used. Note that the Maintenance principle can use a diff for this field to determine if changes were made. Unclear at the moment how to calculate the age of the last release without relying on the versionIRI in date format. |
To TWG: The above is the result of review of the P4 dashboard check vs principle. General recommendations are given, but we need to create specific issues/tasks with your input. |
I am happy to help with this issue, but I am not sure what aspects you would like comments on. Can you create a comment that has a list of bullet points with everything you would like comments on? Here is one thing I personally think is a tiiiny bit too restrictive:
I don't see any real reason for this restriction, and I feel this puts too much of a burden on groups using semantic versioning. What else do you need input on? |
@matentzn agree about the restrictiveness, and this actually is no longer applicable so that's something that was going to change anyway. @matentzn Below is a list of requirements and recommendations from the Principle; bold indicates whether or not the dashboard has the proper checks:
Questions:
In general, each issue needs its own tracker number and, ideally, at least one suggestion of how to implement the check. Other than the questions, this is what we need help with. |
Excellent @nataled, thanks for breaking that down for me. Three more comments before I get to your questions:
Can you explain what the phrase "unique to the stated version" means? That there are no two files with the same version IRI? If so, this is not really automatically testable.
Definitely request that here: https://github.com/OBOFoundry/OBO-Dashboard/issues and we will explain how we will deal with it!
YES definitely request this check at https://github.com/OBOFoundry/OBO-Dashboard/issues and we will deal with it, and explain how it will be implemented.
This is a great test to have, its a bit tricky to implement, but doable - it could be a tad expensive though, because it means we need to download every ontology twice. Make an issue and we will discuss it internally.
They are meant to be the same string. I have heard this confusion often though, the principle would benefit from a sentence clarifying that the Version IRI is supposed to be a versioned PURL. Great question!
I stumbled across this formulation as well. I think this is too difficult to test, at least the way that I understand it. There could be two issues on uniqueness I can think off:
To guard against both, you can use a formulation like: "the versioned PURL should point to a single file, at a single state - i.e. there should not exist two files, or the same file at different states, with the same versioned PURL" (I can see its hard to understand this phrase, maybe you can phrase it better. |
No description provided.
The text was updated successfully, but these errors were encountered: