GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing spdx.dev — Handling License Info – SPDX Handling License InfoSPDX License ListThe SPDX License List is an integral part of the SPDX Specification. The SPDX License List itself is a list of commonly found licenses and exceptions used in free and open or collaborative software, data, hardware, or documentation. The SPDX License List includes a standardized short identifier, the full name, the license text, and a canonical permanent URL for each license and exception. The purpose of the SPDX License List is to enable efficient and reliable identification of such licenses and exceptions in an SPDX document, in source files or elsewhere. SEE LICENSE LIST
SPDX License IDs
Use SPDX short-form identifiers to communicate license information in a simple, efficient, portable and machine-readable manner What are SPDX IDs?
Why use SPDX IDs?
Read more about why to use SPDX identifiers How do SPDX IDs work?In each file in your project, just add a single line in the following format, tailored to your license(s) and the comment style for that file’s language:
Read more about how to use SPDX identifiers Where are SPDX IDs used?SPDX identifiers are being used in a growing number of open source projects (such as the Linux kernel), licensing guidelines (such as the FSFE‘s REUSE Software initiative), and license scanning tools. See SPDX identifiers in the wild SPDX IDs: Why they’re usefulSPDX short-form identifiers make it easier to talk about FOSS licensing. SPDX IDs are easy to use. SPDX IDs are short. SPDX IDs are precise. SPDX IDs are human-readable and machine-readable. SPDX IDs make code reuse easier. SPDX IDs can be adopted gradually. SPDX IDs reduce license errors and risks. Saying “this file is MPL/MIT” is ambiguous, and leaves recipients unclear about their compliance requirements. Saying SPDX IDs: How to useExamplesThe examples below are for a language that uses
Using expressions like these in your source code and documentation is enough to get started. If you’re looking for more details on how IDs work, see below. FormatAn SPDX short form identifier is a simple way to state the license that applies to a source code or documentation file. It consists of the following parts on one line:
The format for SPDX identifiers is defined in Appendix V of the SPDX specification, version 2.1. SPDX License ExpressionsThe simplest way to express the license for a file is with a single license ID (such as If 2 or more licenses apply to a file, use an SPDX license expression. It is a composite expression constructed using parentheses, Several examples at the top of this page use complex SPDX license expressions. The format for SPDX license expressions is defined in Appendix IV of the SPDX specification, version 2.1. Some licenses are commonly made subject to certain exceptions. For example, a file can be subject to the GPL version 3.0, but with an additional permission (the “Autoconf Exception version 3.0“) allowing certain propagations of the file’s output as an exception to some of the GPL’s requirements. A file like this would use the following expression as its short-form identifier: Allowing later versions of a licenseSome licensors will permit licensees to use the specified version of a license, or any later version of that license. How to express this depends on whether it is a non-GNU license or a GNU license (such as the GPL, LGPL, AGPL and GFDL). Non-GNU licensesFor non-GNU licenses, just add the GNU licensesFor GNU licenses, do not use just the bare license ID, such as “GPL-2.0”. For example, the following expression allows recipients to use the file under the GPL v2.0 only: By contrast, the following expression allows recipients to use the file under the GPL v2.0, or any later version of the GPL published by the FSF: To read more about the reasons for this distinction, please see this article by the FSF. Copyright noticesSPDX IDs are intending to express information about licenses. Copyright notices ‐ statements about who owns the copyright in a file or project ‐ are outside the scope of SPDX short-form IDs. Therefore, you should not remove or modify existing copyright notices in files when adding an SPDX ID. SPDX IDs: Where they're used todayProjectsA growing number of open source projects are using SPDX short-form identifiers in their code:
Guidelines and ArticlesThe Free Software Foundation Europe‘s REUSE Software Initiative recommends adding SPDX short-form identifiers to each source code file. Their guidelines also include additional suggestions about, e.g., how to use license identifiers for licenses that are not part of the SPDX License List. Intel has published a blog post describing the benefits of using SPDX short-form identifiers. Contact us if your project is using SPDX IDs and you’d like to see it listed here. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |