diff options
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" |