-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
community:infrastructureGeneral Score infrastructure topicsGeneral Score infrastructure topics
Description
Our current metamodel.yml follows a different approach than the one by ubcode. We should align.
Participants:
While we were just talking about contributing, @ubmarco has already prepared a PR at useblocks/sphinx-needs#1441. Now we really urgently need to compare the approaches.
First draft (please edit this message!)
| - | useblocks/sphinx-needs#1441 | S-CORE |
|---|---|---|
| Extension | Directly embedded into sphinx-needs | Extension on top of sphinx-needs |
| Approach | Rather generic | Focused purely on S-CORE process requirements. More limited? |
| Focus | Rather generic | Readability and writeability of config |
| Stage | Theoretical? | In use |
| Number of links | min and max are user defined | optional and mandatory links. No need for min and max. |
| Severities | Info, Warning, Violation etc | All violations are fatal errors |
| Type validations | str, int, bool etc | planned, but so far only regex |
| Pretty errors | included | planned |
| Tests | a few, difficult to write | yes |
| Schema format | json | yaml (for human readability/writeability) |
| Types / complex checks | triggers for local checks, local checks | local checks, graph checks |
| Example config | https://github.com/useblocks/sphinx-needs/blob/mh-schema-validation/tests/doc_test/doc_schema/schemas.json | https://github.com/eclipse-score/docs-as-code/blob/main/src/extensions/score_metamodel/metamodel.yaml |
Open points:
- We'll probably need walkthroughs to understand our respective approaches?
Metadata
Metadata
Assignees
Labels
community:infrastructureGeneral Score infrastructure topicsGeneral Score infrastructure topics
Type
Projects
Status
Done
Status
Done
Status
Done