]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
REUSE: bump reuse to v6, add more fences to fix issues
authorViktor Szakats <commit@vsz.me>
Mon, 6 Oct 2025 18:35:38 +0000 (20:35 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 6 Oct 2025 18:54:26 +0000 (20:54 +0200)
Closes #18895
Closes #18897

.github/scripts/requirements.txt
scripts/cd2cd
scripts/cd2nroff
scripts/managen

index 7cb10c47f8664725c701b880b8cf226039aa3dd8..c20a747673765addf6e01b1257c08455fc8c8234 100644 (file)
@@ -5,5 +5,5 @@
 cmakelang==0.6.13
 codespell==2.4.1
 pytype==2024.10.11
-reuse==5.1.1
+reuse==6.0.0
 ruff==0.13.2
index f4748f5d9bfeed671debed4ff52140dbad25f8a6..9356ade6e63bb91fd5000a79e1fb1119d2b036f4 100755 (executable)
@@ -156,7 +156,9 @@ sub single {
                 return 2;
             }
             if(!$spdx) {
+                # REUSE-IgnoreStart
                 print STDERR "$f:$line:1:ERROR: no 'SPDX-License-Identifier:' field present\n";
+                # REUSE-IgnoreEnd
                 return 2;
             }
             last;
index d7a5dfe7b0af818daac34ca5f2e1d8614921e3ef..950011173b893b955de17808678e03a5341691ad 100755 (executable)
@@ -320,7 +320,9 @@ sub single {
                 return 2;
             }
             if(!$spdx) {
+                # REUSE-IgnoreStart
                 print STDERR "$f:$line:1:ERROR: no 'SPDX-License-Identifier:' field present\n";
+                # REUSE-IgnoreEnd
                 return 2;
             }
             if($section == 3) {
index 4849fe8378db1625164ac2e4fdaebe5939e6d2dd..17c8677882d25725a09a10307932947a2b0837c5 100755 (executable)
@@ -661,12 +661,14 @@ sub single {
         elsif(/^Experimental: yes/i) {
             $experimental=1;
         }
+        # REUSE-IgnoreStart
         elsif(/^C: (.*)/i) {
             $copyright=$1;
         }
         elsif(/^SPDX-License-Identifier: (.*)/i) {
             $spdx=$1;
         }
+        # REUSE-IgnoreEnd
         elsif(/^Help: *(.*)/i) {
             ;
         }
@@ -697,7 +699,9 @@ sub single {
                 return 2;
             }
             if(!$spdx) {
+                # REUSE-IgnoreStart
                 print STDERR "$f:$line:1:ERROR: no 'SPDX-License-Identifier:' field present\n";
+                # REUSE-IgnoreEnd
                 return 2;
             }
             last;