Skip to contentSkip to conversation

Trivia: Add SPDX tags to source files

PATCH In review Grant Likely 1 participant 2 messages Sep 17, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Trivia: Add SPDX tags to source files

---
 FAQ.md                                | 2 ++
 Makefile                              | 2 ++
 README.md                             | 1 +
 linux-doc-removal-schedule.rst        | 2 ++
 source/acknowledgements.rst           | 2 ++
 source/chapter1-introduction.rst      | 1 +
 source/chapter2-devicetree-basics.rst | 2 +-
 source/chapter3-devicenodes.rst       | 2 ++
 source/chapter4-device-bindings.rst   | 2 ++
 source/chapter5-flattened-format.rst  | 2 ++
 source/chapter6-source-language.rst   | 2 ++
 source/conf.py                        | 1 +
 source/index.rst                      | 2 ++
 source/license.rst                    | 1 +
 source/references.rst                 | 1 +
 source/revhistory.rst                 | 2 ++
 source/rst_prolog                     | 2 ++
 writers-guide.rst                     | 2 ++
 18 files changed, 30 insertions(+), 1 deletion(-)
FAQ.md +2 -0
index 0d8a032..c1a470e 100644
@@ -43,3 +43,5 @@ only and not with Linaro membership.
 The membership proceeds go towards the defraying of Linaro’s costs for hosting devicetree.org.
 
 If you have useful FAQs you would like to see here, please contact us through the mailing list
+
+<!-- SPDX-License-Identifier: Apache-2.0 -->
Makefile +2 -0
index 8e5475d..33446b0 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+#
 # Minimal makefile for Sphinx documentation
 #
 
README.md +1 -0
index fa21ecf..57b16d8 100644
@@ -136,3 +136,4 @@ By making a contribution to this project, I certify that:
     this project or the open source license(s) involved.
 ```
 
+<!-- SPDX-License-Identifier: Apache-2.0 -->
linux-doc-removal-schedule.rst +2 -0
index 90eeed0..b0ae9b1 100644
@@ -8,3 +8,5 @@ The content of the following files have been imported into the spec from the Lin
          bindings/
             reserved-memory/
                reserved-memory.txt     # Added commit 841c0878
+
+.. SPDX-License-Identifier: Apache-2.0
source/acknowledgements.rst +2 -0
index a02e0aa..5e768d4 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
 **Acknowledgements**
 
 The devicetree.org Technical Steering Committee would like to
source/chapter1-introduction.rst +1 -0
index f50e6b5..6c806af 100644
@@ -1,3 +1,4 @@
+.. SPDX-License-Identifier: Apache-2.0
 
 .. _chapter-introduction:
 
source/chapter2-devicetree-basics.rst +1 -1
index f782137..50a6a86 100644
@@ -1,4 +1,4 @@
-
+.. SPDX-License-Identifier: Apache-2.0
 
 .. _chapter-devicetree:
 
source/chapter3-devicenodes.rst +2 -0
index c248f53..b731b8f 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
 .. _chapter-device-node-requirements:
 
 Device Node Requirements
source/chapter4-device-bindings.rst +2 -0
index 7e1a0f4..6e481f1 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
 .. _chapter-device-bindings:
 
 Device Bindings
source/chapter5-flattened-format.rst +2 -0
index 6b1e182..26efe6e 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
 .. _chapter-fdt-structure:
 
 Flattened Devicetree (DTB) Format
source/chapter6-source-language.rst +2 -0
index 61d05d4..7b74846 100755
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
 .. _chapter-devicetree-source-format:
 
 Devicetree Source (DTS) Format (version 1)
source/conf.py +1 -0
index 1803dfa..51ffa2b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
 # -*- coding: utf-8 -*-
 #
 # Devicetree Specification documentation build configuration file, created by
source/index.rst +2 -0
index 568e72b..120c991 100644
@@ -3,6 +3,8 @@
    You can adapt this file completely to your liking, but it should at least
    contain the root `toctree` directive.
 
+   SPDX-License-Identifier: Apache-2.0
+
 Welcome to Devicetree Specification's documentation!
 ====================================================
 
source/license.rst +1 -0
index 17a586f..b480895 100644
@@ -1,3 +1,4 @@
+.. SPDX-License-Identifier: Apache-2.0
 
 **Copyright**
 
source/references.rst +1 -0
index 8400e96..8d8708d 100644
@@ -1,3 +1,4 @@
+.. SPDX-License-Identifier: Apache-2.0
 
 .. [IEEE1275] *Boot (Initialization Configuration) Firmware: Core Requirements
    and Practices*, 1994, This is the core standard (also known as IEEE
source/revhistory.rst +2 -0
index e302093..81b71f2 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
 .. _revision-history:
 .. tabularcolumns:: | p{1.5cm} p{2.25cm} p{11.50cm} |
 .. table:: Revision History
source/rst_prolog +2 -0
index 6cee60e..2854cc8 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
 .. Revision of the specification
 
 .. |dtspec-major| replace:: 0
writers-guide.rst +2 -0
index 75c291a..fde76a4 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
 This document uses the Sphinx implementation of reStructured Text (RST). RST is
 a flexible markup language with lots of options for laying out text. To keep
 thinks simple, this file describes the conventions used by this project. As
Signature · 1 line
2.20.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

*trivial

Quoted 201 lines · Grant Likely
---
  FAQ.md                                | 2 ++
  Makefile                              | 2 ++
  README.md                             | 1 +
  linux-doc-removal-schedule.rst        | 2 ++
  source/acknowledgements.rst           | 2 ++
  source/chapter1-introduction.rst      | 1 +
  source/chapter2-devicetree-basics.rst | 2 +-
  source/chapter3-devicenodes.rst       | 2 ++
  source/chapter4-device-bindings.rst   | 2 ++
  source/chapter5-flattened-format.rst  | 2 ++
  source/chapter6-source-language.rst   | 2 ++
  source/conf.py                        | 1 +
  source/index.rst                      | 2 ++
  source/license.rst                    | 1 +
  source/references.rst                 | 1 +
  source/revhistory.rst                 | 2 ++
  source/rst_prolog                     | 2 ++
  writers-guide.rst                     | 2 ++
  18 files changed, 30 insertions(+), 1 deletion(-)
FAQ.md +2 -0
index 0d8a032..c1a470e 100644
@@ -43,3 +43,5 @@ only and not with Linaro membership.
  The membership proceeds go towards the defraying of Linaro’s costs for hosting devicetree.org.
 
  If you have useful FAQs you would like to see here, please contact us through the mailing list
+
+<!-- SPDX-License-Identifier: Apache-2.0 -->
Makefile +2 -0
index 8e5475d..33446b0 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+#
  # Minimal makefile for Sphinx documentation
  #
 
README.md +1 -0
index fa21ecf..57b16d8 100644
@@ -136,3 +136,4 @@ By making a contribution to this project, I certify that:
      this project or the open source license(s) involved.
  ```
 
+<!-- SPDX-License-Identifier: Apache-2.0 -->
linux-doc-removal-schedule.rst +2 -0
index 90eeed0..b0ae9b1 100644
@@ -8,3 +8,5 @@ The content of the following files have been imported into the spec from the Lin
           bindings/
              reserved-memory/
                 reserved-memory.txt     # Added commit 841c0878
+
+.. SPDX-License-Identifier: Apache-2.0
source/acknowledgements.rst +2 -0
index a02e0aa..5e768d4 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
  **Acknowledgements**
 
  The devicetree.org Technical Steering Committee would like to
source/chapter1-introduction.rst +1 -0
index f50e6b5..6c806af 100644
@@ -1,3 +1,4 @@
+.. SPDX-License-Identifier: Apache-2.0
 
  .. _chapter-introduction:
 
source/chapter2-devicetree-basics.rst +1 -1
index f782137..50a6a86 100644
@@ -1,4 +1,4 @@
-
+.. SPDX-License-Identifier: Apache-2.0
 
  .. _chapter-devicetree:
 
source/chapter3-devicenodes.rst +2 -0
index c248f53..b731b8f 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
  .. _chapter-device-node-requirements:
 
  Device Node Requirements
source/chapter4-device-bindings.rst +2 -0
index 7e1a0f4..6e481f1 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
  .. _chapter-device-bindings:
 
  Device Bindings
source/chapter5-flattened-format.rst +2 -0
index 6b1e182..26efe6e 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
  .. _chapter-fdt-structure:
 
  Flattened Devicetree (DTB) Format
source/chapter6-source-language.rst +2 -0
index 61d05d4..7b74846 100755
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
  .. _chapter-devicetree-source-format:
 
  Devicetree Source (DTS) Format (version 1)
source/conf.py +1 -0
index 1803dfa..51ffa2b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
  # -*- coding: utf-8 -*-
  #
  # Devicetree Specification documentation build configuration file, created by
source/index.rst +2 -0
index 568e72b..120c991 100644
@@ -3,6 +3,8 @@
     You can adapt this file completely to your liking, but it should at least
     contain the root `toctree` directive.
 
+   SPDX-License-Identifier: Apache-2.0
+
  Welcome to Devicetree Specification's documentation!
  ====================================================
 
source/license.rst +1 -0
index 17a586f..b480895 100644
@@ -1,3 +1,4 @@
+.. SPDX-License-Identifier: Apache-2.0
 
  **Copyright**
 
source/references.rst +1 -0
index 8400e96..8d8708d 100644
@@ -1,3 +1,4 @@
+.. SPDX-License-Identifier: Apache-2.0
 
  .. [IEEE1275] *Boot (Initialization Configuration) Firmware: Core Requirements
     and Practices*, 1994, This is the core standard (also known as IEEE
source/revhistory.rst +2 -0
index e302093..81b71f2 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
  .. _revision-history:
  .. tabularcolumns:: | p{1.5cm} p{2.25cm} p{11.50cm} |
  .. table:: Revision History
source/rst_prolog +2 -0
index 6cee60e..2854cc8 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
  .. Revision of the specification
 
  .. |dtspec-major| replace:: 0
writers-guide.rst +2 -0
index 75c291a..fde76a4 100644
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: Apache-2.0
+
  This document uses the Sphinx implementation of reStructured Text (RST). RST is
  a flexible markup language with lots of options for laying out text. To keep
  thinks simple, this file describes the conventions used by this project. As