mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-21 23:58:51 -05:00
utils/lint.sh: lint reuse compliance
Signed-off-by: Drew DeVault <sir@cmpwn.com>
This commit is contained in:
parent
52bb49ee48
commit
bd60b41068
@ -9,6 +9,8 @@ packages:
|
|||||||
- openssl-dev
|
- openssl-dev
|
||||||
- linux-headers
|
- linux-headers
|
||||||
- procps
|
- procps
|
||||||
|
- moreutils
|
||||||
|
- reuse
|
||||||
sources:
|
sources:
|
||||||
- https://codeberg.org/redict/redict.git
|
- https://codeberg.org/redict/redict.git
|
||||||
tasks:
|
tasks:
|
||||||
|
21
.reuse/dep5
21
.reuse/dep5
@ -105,3 +105,24 @@ License: BSD-2-Clause
|
|||||||
Files: deps/hdr_histogram/*
|
Files: deps/hdr_histogram/*
|
||||||
Copyright: 2014 Matt Warren
|
Copyright: 2014 Matt Warren
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
|
|
||||||
|
# From hiredict
|
||||||
|
Files: deps/hiredict/.gitignore deps/hiredict/.travis.yml deps/hiredict/appveyor.yml
|
||||||
|
Copyright: Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
|
License: BSD-3-Clause
|
||||||
|
|
||||||
|
Files: deps/hiredict/hiredict.pc.in deps/hiredict/hiredict.targets deps/hiredict/hiredict_ssl.pc.in
|
||||||
|
Copyright: Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
|
License: BSD-3-Clause
|
||||||
|
|
||||||
|
Files: deps/hiredict/shim/hiredis.pc.in deps/hiredict/shim/hiredis_ssl.pc.in
|
||||||
|
Copyright: Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
|
License: BSD-3-Clause
|
||||||
|
|
||||||
|
Files: deps/hiredict/hiredict-config.cmake.in deps/hiredict/hiredict_ssl-config.cmake.in
|
||||||
|
Copyright: Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
|
License: BSD-3-Clause
|
||||||
|
|
||||||
|
Files: deps/hiredict/hiredict.targets
|
||||||
|
Copyright: Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
|
License: BSD-3-Clause
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
# SPDX-FileCopyrightText: 2024 Redict Contributors
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only
|
||||||
|
|
||||||
signoff() {
|
signoff() {
|
||||||
if ! git log --format='%b' HEAD^.. | grep 'Signed-off-by' >/dev/null
|
if ! git log --format='%b' HEAD^.. | grep 'Signed-off-by' >/dev/null
|
||||||
then
|
then
|
||||||
@ -9,8 +12,15 @@ signoff() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
licenses() {
|
||||||
|
if ! chronic sh -c "reuse lint 2>/dev/null"
|
||||||
|
then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
exitcode=0
|
exitcode=0
|
||||||
for step in signoff
|
for step in signoff licenses
|
||||||
do
|
do
|
||||||
if ! $step
|
if ! $step
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user