[elbe-devel] [PATCH 2/6] README: Expect SPDX-FileCopyrightText in header comments

Bastian Germann bage at linutronix.de
Wed May 17 18:03:38 CEST 2023


Expect using the SPDX-FileCopyrightText tag for copyright information
instead of free-form comments.

Signed-off-by: Bastian Germann <bage at linutronix.de>
---
 README.adoc | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/README.adoc b/README.adoc
index b588b58aa5..34eb628a37 100644
--- a/README.adoc
+++ b/README.adoc
@@ -85,10 +85,10 @@ File headers
 ELBE files start with a common file header:
 
 ----
-# <PATH TO INTERPRETER> (optional)
-# <SOME TEXT>           (optional)
-# <COPYRIGHT>           (optional)
-# <SPDX TAG>
+# <PATH TO INTERPRETER>               (optional)
+# <SOME TEXT>                         (optional)
+# SPDX-License-Identifier: <SPDX LICENSE ID>
+# SPDX-FileCopyrightText: <COPYRIGHT> (optional)
 ----
 
 `#` can be replaced by a comment operator for another programming language, e.g.
@@ -96,5 +96,3 @@ ELBE files start with a common file header:
 
 Empty comment lines are allowed in the header. A single header section like
 <SOME TEXT> can use multiple lines.
-
-The SPDX TAG needs to be the last entry in the header.
-- 
2.39.2



More information about the elbe-devel mailing list