Match license keys by spdx
ClosedPublic

Authored by davidedmundson on Dec 20 2017, 5:11 PM.

Details

Summary

KAboutLicense supports exporting a license as an spdx ID.
(https://spdx.org/licenses/)

However the KAboutLicense::fromKeyword doesn't match

We have a lot of metadata where people are using the spdx id
rather than the somewhat arbitrary keyword format that KAboutLicense
expects.

This adds a unit test to make sure all supported license keys match up
then expands the keyword list.

Diff Detail

Repository
R244 KCoreAddons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Dec 20 2017, 5:11 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 20 2017, 5:11 PM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
davidedmundson requested review of this revision.Dec 20 2017, 5:11 PM
apol accepted this revision.Dec 20 2017, 5:20 PM
This revision is now accepted and ready to land.Dec 20 2017, 5:20 PM
This revision was automatically updated to reflect the committed changes.