You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarify presence rules for contractors and contacts (#213)
This clarifies when `maintenance/contractors` and `maintenance/contacts`
are expected to be present.
For `contractors`, we now explicitly say it's mandatory if the type is
`contract`, and must not be present otherwise. This is _technically_ a
breaking change, but it's a sensible and consistent interpretation and we
can see it as just removing ambiguity.
For `contacts`, being optional if type is *not* `internal` or `community`
was already enforced by publiccode-parser-go, and even the examples
in this repo include `contacts` with type `contract`, so it's just stating
the de facto behavior.
- Présence: obligatoire si ``maintenance/type`` **est** ``contract``; ne doit pas être présent dans les autres cas
629
629
630
630
Cette clé décrit la ou les entités actuellement sous contrat pour la maintenance du logiciel. Il peut s'agir d'entreprises, d'organisations ou d'autres collectifs.
631
631
632
632
Clé ``maintenance/contacts``
633
633
''''''''''''''''''''''''''''
634
634
635
635
- Type: Liste des Contacts (voir ci-dessous)
636
-
- Présence: obligatoire (si ``maintenance/type`` **est** ``internal`` ou ``community``)
636
+
- Présence: obligatoire si ``maintenance/type`` **est** ``internal`` ou ``community``; facultatif dans les autres cas
637
637
638
638
Un ou plusieurs contacts assurant la maintenance du logiciel.
0 commit comments