diff options
author | david <public@beloved.name> | 2018-08-28 23:20:04 +0200 |
---|---|---|
committer | david <public@beloved.name> | 2018-08-28 23:20:04 +0200 |
commit | 09c05e86a1096b08eb7483b970207d47d0388665 (patch) | |
tree | fc2e822f5c404e1fdc6d0dcb70c3fdb3f48d512d /subprojects/maintenance/modify-wiki | |
parent | f942311de2f6640684a611eed97265462c07f97e (diff) |
Added a maintenance script to modify license text to make it SPDX comatible
Diffstat (limited to 'subprojects/maintenance/modify-wiki')
-rwxr-xr-x | subprojects/maintenance/modify-wiki | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/subprojects/maintenance/modify-wiki b/subprojects/maintenance/modify-wiki new file mode 100755 index 0000000..c551805 --- /dev/null +++ b/subprojects/maintenance/modify-wiki @@ -0,0 +1,51 @@ +#!/usr/bin/env bash + +exit + +# This script will be build to +# 1: Copy the output directory to say output-production +# 2: Modify the "|License=" text in the .wiki files in the ouput-production directory + +sed -i " +s|AGPLv3|AGPL-3.0|g +s|AGPLv3orlater|AGPL-3.0-or-later|g +s|BSD_2Clause|BSD-2-Clause|g +s|BSD_3Clause|BSD-3-Clause|g +s|Creative Commons Attribution 3.0|CC-BY-3.0|g +s|Creative Commons Attribution Share-Alike 2.5|CC-BY-2.5|g +s|EPLv1.0|EPL-1.0|g +s|Expat|MIT|g +s|GPLv2|GPL-2.0|g +s|GPLv2orlater|GPL-2.0-or-later|g +s|GPLv2orlater with exception|GPL-2.0-or-later-with-exception|g +s|GPLv3|GPL-3.0|g +s|GPLv3orlater|GPL-3.0-or-later|g +s|GPLv3orlater with exception|GPL-3.0-or-later-with-exception|g +s|LGPLv2|LGPL-2.0|g +s|LGPLv2orlater|LGPL-2.0-or-later|g +s|LGPLv3|LGPL-3.0|g +s|LGPLv3orlater|LGPL-3.0-or-later|g +s|MPL1.1|MPL-1.1|g +s|PublicDomain|Public-domain|g +s|WTFPLv2|WTFPL-2.0|g +s|Zope|ZPL|g +" + +# Debian license identifiers that conflicts with SPDX short identifiers: +# "GPLv2orlater with exception": Not on the SPDX license list +# "GPLv3orlater with exception": Not on the SPDX license list +# "AGPLv3": The SPDX short identifier "AGPL-3.0" is deprecated, should we use "AGPL-3.0-only"? +# "GPLv2": The SPDX short identifier "GPL-2.0" is deprecated, should we use "GPL-2.0-only"? +# "GPLv3": The SPDX short identifier "GPL-3.0" is deprecated, should we use "GPL-3.0-only"? +# "LGPLv2": The SPDX short identifier "LGPL-2.0" is deprecated, should we use "LGPL-2.0-only"? +# "LGPLv3": The SPDX short identifier "LGPL-3.0" is deprecated, should we use "LGPL-3.0-only"? +# "Zope": Which version? + + +# Incorporated SPDX short identifiers: +# "ISC" +# "Ruby" +# "Zlib" + +# Irrelevant: +# "Other" |