Make nickname a required meta field
Add missing nicknames Use SPDX ID if no customary nickname (eg GNU GPLv3) exists This ensures that a relatively compact name is always available I may be missing some obvious customary names, e.g., is "Eclipse 1.0" customary? For now I've used the SPDX ID, EPL-1.0.
This commit is contained in:
Родитель
ce2838f7a0
Коммит
6fe44f4637
|
@ -39,7 +39,8 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
|
|||
|
||||
#### Required fields
|
||||
|
||||
* `title` - The SPDX-compliant, human-readable license name
|
||||
* `title` - The license full name specified by http://spdx.org/licenses/
|
||||
* `nickname` - A shorter license name; customary if applicable (e.g., GPLv3) or the SPDX ID (e.g., MPL-2.0)
|
||||
* `source` - The URL to the license source text
|
||||
* `description` - A human-readable description of the license
|
||||
* `how` - Instructions on how to implement the license
|
||||
|
@ -53,7 +54,6 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
|
|||
* `note` - Additional information about the licenses
|
||||
* `using` - A list of notable projects using the license in the form of `project_name: "url"`
|
||||
* `redirect_from` - Relative path(s) to redirect to the license from, to prevent breaking old URLs
|
||||
* `nickname` - A shorter, human-readable license name where the SPDX license name (`title` above) is long
|
||||
|
||||
### Auto-populated fields
|
||||
|
||||
|
|
|
@ -2,9 +2,13 @@
|
|||
# The available fields are:
|
||||
|
||||
- name: title
|
||||
description: The SPDX-compliant, human-readable license name
|
||||
description: The license full name specified by http://spdx.org/licenses/
|
||||
required: true
|
||||
|
||||
- name: nickname
|
||||
description: A shorter license name; customary if applicable (e.g., GPLv3) or the SPDX ID (e.g., MPL-2.0)
|
||||
required: required
|
||||
|
||||
- name: source
|
||||
description: The URL to the license source text
|
||||
required: true
|
||||
|
@ -46,7 +50,3 @@
|
|||
- name: redirect_from
|
||||
description: Relative path(s) to redirect to the license from, to prevent breaking old URLs
|
||||
required: false
|
||||
|
||||
- name: nickname
|
||||
description: A shorter, human-readable license name where the SPDX license name (`title` above) is long
|
||||
required: false
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Academic Free License v3.0
|
||||
nickname: AFL-3.0
|
||||
source: http://opensource.org/licenses/afl-3.0
|
||||
|
||||
description: The Academic Free License is a variant of the Open Software License that does not require that the source code of derivative works be disclosed. It contains explicit copyright and patent grants and reserves trademark rights in the author.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Apache License 2.0
|
||||
nickname: Apache-2.0
|
||||
redirect_from: /licenses/apache/
|
||||
source: http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
featured: true
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Artistic License 2.0
|
||||
nickname: Artistic-2.0
|
||||
redirect_from: /licenses/artistic/
|
||||
source: http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: BSD 3-clause Clear License
|
||||
nickname: BSD-3-Clause-Clear
|
||||
|
||||
description: A variant of the <a href="/licenses/bsd-3-clause/">BSD 3-Clause License</a> that explicitly does not grant any patent rights.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Creative Commons Zero v1.0 Universal
|
||||
nickname: CC0 1.0 Universal
|
||||
nickname: CC0-1.0
|
||||
redirect_from: /licenses/cc0/
|
||||
source: http://creativecommons.org/publicdomain/zero/1.0/
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Eclipse Public License 1.0
|
||||
nickname: EPL-1.0
|
||||
redirect_from: /licenses/eclipse/
|
||||
source: https://www.eclipse.org/legal/epl-v10.html
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: ISC License
|
||||
nickname: ISC
|
||||
source: http://opensource.org/licenses/isc-license
|
||||
|
||||
description: A permissive license lets people do anything with your code with proper attribution and without warranty. The ISC license is functionally equivalent to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/mit/">MIT</a> licenses, removing some language that is no longer necessary.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: MIT License
|
||||
nickname: MIT
|
||||
source: https://opensource.org/licenses/MIT
|
||||
featured: true
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Mozilla Public License 2.0
|
||||
nickname: MPL-2.0
|
||||
redirect_from: /licenses/mozilla/
|
||||
source: https://www.mozilla.org/media/MPL/2.0/index.txt
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Microsoft Public License
|
||||
nickname: MS-PL
|
||||
|
||||
source: http://opensource.org/licenses/ms-pl
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Microsoft Reciprocal License
|
||||
nickname: MS-RL
|
||||
|
||||
source: http://opensource.org/licenses/ms-pl
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: SIL Open Font License 1.1
|
||||
nickname: OFL-1.1
|
||||
redirect_from: /licenses/ofl/
|
||||
source: http://scripts.sil.org/OFL_web
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Open Software License 3.0
|
||||
nickname: OSL-3.0
|
||||
source: http://opensource.org/licenses/OSL-3.0
|
||||
|
||||
description: OSL 3.0 is a copyleft license that does not require reciprocal licensing on linked works. It also provides an express grant of patent rights from contributors to users, with a termination clause triggered if a user files a patent infringement lawsuit.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: The Unlicense
|
||||
nickname: Unlicense
|
||||
source: http://unlicense.org/UNLICENSE
|
||||
|
||||
description: Because copyright is automatic in most countries, <a href="http://unlicense.org">the Unlicense</a> is a template to waive copyright interest in software you've written and dedicate it to the public domain. Use the Unlicense to opt out of copyright entirely. It also includes the no-warranty statement from the MIT/X11 license.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Do What The F*ck You Want To Public License"
|
||||
nickname: WTFPL
|
||||
source: http://www.wtfpl.net/
|
||||
|
||||
description: The easiest licence out there. It gives the user permissions to do whatever they want with your code.
|
||||
|
|
Загрузка…
Ссылка в новой задаче