Open mzfr opened 6 years ago
Not too excited about this, as it will generate a flood of messages either way.
Yes this will but another option is just say something like SPDX IDENTIFIER MISSING
or one another thing I can think of, combine all the name of the files and print it like
SPDX Identifier missing from addon.py,addon1.py,addon2.py
@Razzeee I'll add a check for license tag
in addon.xml file but that would still generate lots of warning.
Should we ignore files if the tag is present in the addon.xml
assuming developer knows about the identifier thing?
License tag should already be mandatory. What this should do is see if doesn't match the SPDX format and suggest it. Same for the python files.
@Razzeee Is there any other changes required in this PR?
Do we really want these two checks?
a) Not looking forward to having to have a license string in every file b) Shouldn't be forcing a GNU license, like rechi correctly mentioned
Fixes #126 Should this be reported as a
WARNING
or justINFORMATION
?