softwareVersion should be optional unconditionally #270
adk-swisstopo
started this conversation in
General
Replies: 1 comment
-
|
@adk-swisstopo nice catch.
We should fix the text to make that clear, I'll open an issue/PR. The parser already does the right thing (treats it as optional). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
softwareVersionkey is marked as "optional" with the following note:The easiest way to implement
publiccode.ymlfor software projects is to check a static version within their source code repository. Ensuring thesoftwareVersionfield is up to date is painful (either that's extra release toil or more automation to build) and of questionable value. I expect many projects won't bother. We certainly don't.Searching through github, I find 920 files matching
path:/publiccode.yml$/, only 760 of which have asoftwareVersionkey. I don't know how reliable these numbers are as github search is obviously fuzzy. Here are random examples of projects that have tagged releases without asoftwareVersionkey:https://github.com/CISOfy/lynis
https://github.com/CatalaLang/catala/
https://github.com/InseeFrLab/onyxia/
For those that do specify the
softwareVersionfield, I expect it's often out of date. For example:https://github.com/OS2iot/OS2iot-docs/
https://github.com/torakiki/pdfsam/
https://github.com/ghtmtt/DataPlotly
I suggest one of the following two changes:
softwareVersionfield be optional regardless of the release status of the project;softwareVersionfield.Beta Was this translation helpful? Give feedback.
All reactions