Open broeder-j opened 2 years ago
Does codemeta.json allow for a list of licenses
Yes, there should be no problem in specifying multiple.
Additional ways I have found among others how people name stuff: I suggest to use for matching like LICENSE, ...
One concern I have is if we accidentally match something that is meant to only apply to a sub-part (like some include dependency), and misjudge it as license for the whole. But perhaps a wildcard match may work.
Currently codemeta harvester finds and parses:
LICENSE LICENSE.md LICENSE.txt COPYING COPYRIGHT LICENCE LICENCE.md LICENCE.txt
Additional ways I have found among others how people name stuff:
Then an additional way, if several licenses are specified, the usage of a LICENSES folder containing files not named LICENSE:
I suggest to use
*
for matching like LICENSE*, ... Also to somehow parse the directory case? Does codemeta.json allow for a list of licenses anyway?