templates: Convert license statements to SPDX headers
ClosedPublic

Authored by kossebau on Feb 21 2020, 6:03 PM.

Details

Summary

Convert license statements to SPDX markers and add license files
compatible with REUSE.software specification.

Diff Detail

Repository
R450 KAppTemplate
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau requested review of this revision.Feb 21 2020, 6:03 PM
kossebau created this revision.

Going for templates for now only to trying to get my feet wet here, and planning to do the same for other templates afterwards, to make sure any new projects done with templates do things as preferred from the start.

Changes done with licensedigger/ and manual editing for SPDX-FileCopyrightText with %{CURRENT_YEAR} %{AUTHOR} <%{EMAIL}>. Perhaps the latter could be done by licensedigger also if it learned to deal with KAppTemplate placeholders (cmp. https://api.kde.org/ecm/kde-module/KDEPackageAppTemplates.html) ? Not yet looked at the code.

cordlandwehr accepted this revision.Feb 22 2020, 9:39 AM

Thanks for working on this! Looks all good to me.
Regarding the conversion of placeholders, that can easily be done in licensedigger, it's just a simple regular expression there.

This revision is now accepted and ready to land.Feb 22 2020, 9:39 AM
This revision was automatically updated to reflect the committed changes.