mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:01:41 +03:00
REUSE: bump reuse to v6, add more fences to fix issues
Closes #18895 Closes #18897
This commit is contained in:
parent
beeb1ae762
commit
13f10add17
4 changed files with 9 additions and 1 deletions
2
.github/scripts/requirements.txt
vendored
2
.github/scripts/requirements.txt
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue