Proposal 1:
Change error type
| Code |
Current Type |
Proposed Type |
| invalid_license |
WARNING |
ERROR |
| license_mismatch |
WARNING |
ERROR |
Proposal 2:
Currently same error code no_license is used for missing license in readme and plugin header which is confusing. Similar for invalid_license.
My proposal is keeping same error code for readme and add introduce separate error code for plugin header license check:
- plugin_header_no_license
- plugin_header_invalid_license
Proposal 3:
Regarding license check:
- Check one - Check if License is valid SPDX identifier (We could use error code like
invalid_license_identifier and plugin_header_invalid_license_identifier)
- Check two - Check if License is GPL compatible (Use existing error code for this -
invalid_license)
Proposal 1:
Change error type
Proposal 2:
Currently same error code
no_licenseis used for missing license in readme and plugin header which is confusing. Similar forinvalid_license.My proposal is keeping same error code for readme and add introduce separate error code for plugin header license check:
Proposal 3:
Regarding license check:
invalid_license_identifierandplugin_header_invalid_license_identifier)invalid_license)