From 8e46aa67ca5be04f5aae12a4eec63434ed0fefff Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 15 Oct 2019 16:31:02 -0600 Subject: This maps the hardcoded names to spdx ids The GitLab UI has a hardcoded list of license names that need to be mapped to the equivalent SPDX identifier. * https://gitlab.com/gitlab-org/gitlab/blob/5d760ac8b75c07a3c748485fe08130fcc9af2acf/ee/app/assets/javascripts/vue_shared/license_management/constants.js#L8-32 --- normalized-licenses.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'normalized-licenses.yml') diff --git a/normalized-licenses.yml b/normalized-licenses.yml index e26df4f..cc184d5 100644 --- a/normalized-licenses.yml +++ b/normalized-licenses.yml @@ -1,10 +1,11 @@ --- ids: ASL, version 2: Apache-2.0 + Apache 2.0: Apache-2.0 Apache1_1: Apache-1.1 Apache2: Apache-2.0 - Apache 2.0: Apache-2.0 BSD: BSD-4-Clause + CC0 1.0 Universal: CC0-1.0 CC01: CC0-1.0 EPL1: EPL-1.0 GPLv2: GPL-2.0 @@ -18,12 +19,17 @@ ids: MPL 1.1: MPL-1.1 MPL1_1: MPL-1.1 MPL2: MPL-2.0 + Mozilla Public License 2.0: MPL-2.0 New BSD License: BSD-3-Clause + New BSD: BSD-3-Clause NewBSD: BSD-3-Clause + Python Software Foundation License: Python-2.0 Python: Python-2.0 Ruby: Ruby + Simplified BSD: BSD-2-Clause SimplifiedBSD: BSD-2-Clause http://www.apache.org/licenses/LICENSE-2.0: Apache-2.0 + ruby: Ruby unknown: unknown licenses: GPL-3.0: -- cgit v1.2.3