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
|
||||
- linux-headers
|
||||
- procps
|
||||
- moreutils
|
||||
- reuse
|
||||
sources:
|
||||
- https://codeberg.org/redict/redict.git
|
||||
tasks:
|
||||
|
21
.reuse/dep5
21
.reuse/dep5
@ -105,3 +105,24 @@ License: BSD-2-Clause
|
||||
Files: deps/hdr_histogram/*
|
||||
Copyright: 2014 Matt Warren
|
||||
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
|
||||
# SPDX-FileCopyrightText: 2024 Redict Contributors
|
||||
# SPDX-License-Identifier: LGPL-3.0-only
|
||||
|
||||
signoff() {
|
||||
if ! git log --format='%b' HEAD^.. | grep 'Signed-off-by' >/dev/null
|
||||
then
|
||||
@ -9,8 +12,15 @@ signoff() {
|
||||
fi
|
||||
}
|
||||
|
||||
licenses() {
|
||||
if ! chronic sh -c "reuse lint 2>/dev/null"
|
||||
then
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
exitcode=0
|
||||
for step in signoff
|
||||
for step in signoff licenses
|
||||
do
|
||||
if ! $step
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user