Updates *GPL licenses to new SPDX ids and adds additional aliases, run service tests for [apm aur bowerlicense cocoapodslicense cpanlicense cran crates ctan dublicense eclipsemarketplacelicense githublicense hexpm npmlicense packagistlicense pypilicense] (#3686)

* Updated GPL, LGPL, and AGPL licence IDs to the SPEX 3.5 specification.

* Add GPL, LGPL, and AGPL aliases in the format in which they are used in Python classifiers.
This commit is contained in:
Chintalagiri Shashank
2019-07-11 02:08:00 +05:30
committed by Caleb Cartwright
parent ce0ddf93fc
commit a9d0f0d323

View File

@@ -30,22 +30,54 @@ const licenseTypes = {
// or 'Same license' (https://choosealicense.com/appendix/#same-license)
copyleft: {
spdxLicenseIds: [
'AGPL-3.0',
'AGPL-1.0-only',
'AGPL-1.0-or-later',
'AGPL-3.0-only',
'AGPL-3.0-or-later',
'CC-BY-SA-4.0',
'EPL-1.0',
'EPL-2.0',
'EUPL-1.1',
'GPL-2.0',
'GPL-3.0',
'LGPL-2.1',
'LGPL-3.0',
'GPL-1.0-only',
'GPL-1.0-or-later',
'GPL-2.0-only',
'GPL-2.0-or-later',
'GPL-3.0-only',
'GPL-3.0-or-later',
'LGPL-2.0-only',
'LGPL-2.0-or-later',
'LGPL-2.1-only',
'LGPL-2.1-or-later',
'LGPL-3.0-only',
'LGPL-3.0-or-later',
'LPPL-1.3c',
'MPL-2.0',
'MS-RL',
'OFL-1.1',
'OSL-3.0',
],
aliases: ['GPL', 'LGPL', 'MPL', 'MPL 1.1', 'MPL 2.0', 'EPL'],
aliases: [
'GPL',
'GPL-2.0',
'GPL-3.0',
'GPLv2',
'GPLv2+',
'GPLv3',
'GPLv3+',
'LGPL',
'LGPL-2.1',
'LGPL-3.0',
'LGPLv2',
'LGPLv2+',
'LGPLv3',
'LGPLv3+',
'AGPL-3.0',
'AGPLv3+',
'MPL',
'MPL 1.1',
'MPL 2.0',
'EPL',
],
color: 'orange',
priority: '1',
},