Open schumaml opened 7 years ago
I do like this. And like I said in #75 I think we should use SPDX license expression syntax for specification of multiple licenses as well.
Cool! I don't think we should break the validation on contributejson.org but we can certainly throw up a warning.
I'm happy to help write that code if you can help with writing the error message that should appear when you do a validation check.
Our sample is clearly wrong then :) https://github.com/mozilla/contribute.json/blob/master/app/app.py#L27
Identifiers for licenses can be written in many different ways - "GPLv3 or later", "GPLv3", "GPL3", ...
To put a stop to identifier proliferation in contribute.json from the start, there could be a preference for identifiers from the SPDX licenses list, https://spdx.org/licenses/ - and warning by the validator if the license doesn't match any of those.
P.S. this means that most existing contribute.json files should be changed from using MPL2 to MPL-2.0 - see https://spdx.org/licenses/MPL-2.0.html
P.P.S. and yes, the WTFPL is part of this list :)