D9437: Match license keys by spdx

2017-12-20 Thread David Edmundson
This revision was automatically updated to reflect the committed changes.
Closed by commit R244:0d417760a53f: Match license keys by spdx (authored by 
davidedmundson).

REPOSITORY
  R244 KCoreAddons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D9437?vs=24176=24177

REVISION DETAIL
  https://phabricator.kde.org/D9437

AFFECTED FILES
  autotests/kaboutdatatest.cpp
  src/lib/kaboutdata.cpp
  src/lib/kaboutdata.h

To: davidedmundson, apol
Cc: #frameworks


D9437: Match license keys by spdx

2017-12-20 Thread Aleix Pol Gonzalez
apol accepted this revision.
This revision is now accepted and ready to land.

REPOSITORY
  R244 KCoreAddons

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D9437

To: davidedmundson, apol
Cc: #frameworks


D9437: Match license keys by spdx

2017-12-20 Thread David Edmundson
davidedmundson created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION 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.

REPOSITORY
  R244 KCoreAddons

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D9437

AFFECTED FILES
  autotests/kaboutdatatest.cpp
  src/lib/kaboutdata.cpp
  src/lib/kaboutdata.h

To: davidedmundson
Cc: #frameworks