Display exhaustive Licensee license list
What does this MR do and why?
Problem
The license returned in the dropdown when licenses are being added to a project miss licenses like LPGL3.0.
Solution
Return the exhaustive list of licenses that's supported on the Choosealicense list https://choosealicense.com/appendix/.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
![]() |
![]() |
List of all licenses now displayed:
"BSD Zero Clause License",
"Academic Free License v3.0",
"GNU Affero General Public License v3.0",
"Apache License 2.0",
"Artistic License 2.0",
"Blue Oak Model License 1.0.0",
"BSD 2-Clause \"Simplified\" License",
"BSD-2-Clause Plus Patent License",
"BSD 3-Clause \"New\" or \"Revised\" License",
"BSD 3-Clause Clear License",
"BSD 4-Clause \"Original\" or \"Old\" License",
"Boost Software License 1.0",
"Creative Commons Attribution 4.0 International",
"Creative Commons Attribution Share Alike 4.0 International",
"Creative Commons Zero v1.0 Universal",
"CeCILL Free Software License Agreement v2.1",
"CERN Open Hardware Licence Version 2 - Permissive",
"CERN Open Hardware Licence Version 2 - Strongly Reciprocal",
"CERN Open Hardware Licence Version 2 - Weakly Reciprocal",
"Educational Community License v2.0",
"Eclipse Public License 1.0",
"Eclipse Public License 2.0",
"European Union Public License 1.1",
"European Union Public License 1.2",
"GNU Free Documentation License v1.3",
"GNU General Public License v2.0",
"GNU General Public License v3.0",
"ISC License",
"GNU Lesser General Public License v2.1",
"GNU Lesser General Public License v3.0",
"LaTeX Project Public License v1.3c",
"MIT License",
"MIT No Attribution",
"Mozilla Public License 2.0",
"Microsoft Public License",
"Microsoft Reciprocal License",
"Mulan Permissive Software License, Version 2",
"University of Illinois/NCSA Open Source License",
"Open Data Commons Open Database License v1.0",
"SIL Open Font License 1.1",
"Open Software License 3.0",
"PostgreSQL License",
"The Unlicense",
"Universal Permissive License v1.0",
"Vim License",
"zlib License"
Excluded license:
wtfpl: https://choosealicense.com/licenses/wtfpl/
How to set up and validate locally
- Visit a project page landing
- Click on the + button and click "New file"
- Type "License" into the filename input
- The dropdown for the license list should show up
Related to #467663 (closed)
Edited by Olaoluwa Oluro

