<table><tr><td style="">davidedmundson created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9437" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>KAboutLicense supports exporting a license as an spdx ID.<br />
(<a href="https://spdx.org/licenses/" class="remarkup-link" target="_blank" rel="noreferrer">https://spdx.org/licenses/</a>)</p>

<p>However the KAboutLicense::fromKeyword doesn't match</p>

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

<p>This adds a unit test to make sure all supported license keys match up<br />
then expands the keyword list.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R244 KCoreAddons</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9437" rel="noreferrer">https://phabricator.kde.org/D9437</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/kaboutdatatest.cpp<br />
src/lib/kaboutdata.cpp<br />
src/lib/kaboutdata.h</div></div></div><br /><div><strong>To: </strong>davidedmundson<br /><strong>Cc: </strong>Frameworks<br /></div>