From e2bb6cb8c5da7b8d91b7da5185f20899a7e24025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=A1k?= Date: Tue, 27 Aug 2024 13:41:41 +0200 Subject: [PATCH] check-spelling: allow unrecognized words and remove some acknowledged --- .github/actions/spelling/excludes.txt | 35 +++++++++++++++------------ .github/actions/spelling/expect.txt | 16 ++++++------ 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt index d1aa74c1ec..f6785aa86d 100644 --- a/.github/actions/spelling/excludes.txt +++ b/.github/actions/spelling/excludes.txt @@ -1,9 +1,10 @@ +# Knot specific # See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes (?:^|/)(?i)COPYRIGHT (?:^|/)(?i)LICEN[CS]E (?:^|/)package(?:-lock|)\.json$ (?:^|/)vendor/ -ignore$ +[^/]\.mdb$ \.avi$ \.ico$ \.jpe?g$ @@ -15,7 +16,10 @@ ignore$ \.png$ \.wav$ ^\.github/ -# Knot specific +^\Qsrc/libzscanner/scanner.c.g2\E$ +^\Qtests/knot/test_digest.c\E$ +^\Qtests/knot/test_kasp_db.c\E$ +^\Qtests/libdnssec/sample_keys.h\E$ ^distro/pkg/deb/docs$ ^distro/pkg/deb/knot-dnsutils\.install$ ^distro/pkg/deb/knot\.install$ @@ -26,15 +30,15 @@ ignore$ ^doc/doxygen/DoxygenLayout\.xml$ ^scripts/docker/centos:latest/Dockerfile$ ^scripts/docker/fedora:latest/Dockerfile$ -^src/Makefile\.am$ ^src/knot/modules/dnsproxy/Makefile\.inc$ ^src/knot/modules/dnstap/Makefile\.inc$ ^src/knot/modules/geoip/Makefile\.inc$ ^src/knot/modules/synthrecord/Makefile\.inc$ ^src/libdnssec\.pc\.in$ -^src/libknot\.pc\.in$ ^src/libknot/Makefile\.inc$ ^src/libknot/xdp/bpf-kernel-obj\.c$ +^src/libknot\.pc\.in$ +^src/Makefile\.am$ ^src/utils/Makefile\.inc$ ^tests-extra/data/\.zone$ ^tests-extra/requirements\.txt$ @@ -61,34 +65,34 @@ ignore$ ^tests-extra/tests/dnssec/no_resign2/data/example\.com\.zone$ ^tests-extra/tests/dnssec/nsec3_up_adjust/data/example\.com\.zone$ ^tests-extra/tests/dnssec/nsec_update/data/dk\.zone$ -^tests-extra/tests/dnssec/validate/data/bitmap\.nsec\.zone$ -^tests-extra/tests/dnssec/validate/data/bitmap\.nsec\.zone\.2$ ^tests-extra/tests/dnssec/validate/data/bitmap\.nsec3\.zone$ ^tests-extra/tests/dnssec/validate/data/bitmap\.nsec3\.zone\.2$ -^tests-extra/tests/dnssec/validate/data/chain\.nsec\.zone$ -^tests-extra/tests/dnssec/validate/data/chain\.nsec\.zone\.2$ +^tests-extra/tests/dnssec/validate/data/bitmap\.nsec\.zone$ +^tests-extra/tests/dnssec/validate/data/bitmap\.nsec\.zone\.2$ ^tests-extra/tests/dnssec/validate/data/chain\.nsec3\.zone$ ^tests-extra/tests/dnssec/validate/data/chain\.nsec3\.zone\.2$ -^tests-extra/tests/dnssec/validate/data/missing\.nsec\.zone$ -^tests-extra/tests/dnssec/validate/data/missing\.nsec\.zone\.2$ +^tests-extra/tests/dnssec/validate/data/chain\.nsec\.zone$ +^tests-extra/tests/dnssec/validate/data/chain\.nsec\.zone\.2$ ^tests-extra/tests/dnssec/validate/data/missing\.nsec3\.zone$ ^tests-extra/tests/dnssec/validate/data/missing\.nsec3\.zone\.2$ +^tests-extra/tests/dnssec/validate/data/missing\.nsec\.zone$ +^tests-extra/tests/dnssec/validate/data/missing\.nsec\.zone\.2$ ^tests-extra/tests/dnssec/validate/data/ok\.2nsec3\.zone$ ^tests-extra/tests/dnssec/validate/data/ok\.2nsec3\.zone\.2$ -^tests-extra/tests/dnssec/validate/data/ok\.nsec\.zone$ -^tests-extra/tests/dnssec/validate/data/ok\.nsec\.zone\.2$ ^tests-extra/tests/dnssec/validate/data/ok\.nsec3\.zone$ ^tests-extra/tests/dnssec/validate/data/ok\.nsec3\.zone\.2$ +^tests-extra/tests/dnssec/validate/data/ok\.nsec\.zone$ +^tests-extra/tests/dnssec/validate/data/ok\.nsec\.zone\.2$ ^tests-extra/tests/dnssec/validate/data/optout\.ent\.zone$ ^tests-extra/tests/dnssec/validate/data/optout\.ent\.zone\.2$ ^tests-extra/tests/dnssec/validate/data/redundant\.invalid\.rrsig\.zone$ ^tests-extra/tests/dnssec/validate/data/redundant\.invalid\.rrsig\.zone\.2$ ^tests-extra/tests/dnssec/validate/data/rrsig\.a\.zone$ ^tests-extra/tests/dnssec/validate/data/rrsig\.a\.zone\.2$ -^tests-extra/tests/dnssec/validate/data/rrsig\.nsec\.zone$ -^tests-extra/tests/dnssec/validate/data/rrsig\.nsec\.zone\.2$ ^tests-extra/tests/dnssec/validate/data/rrsig\.nsec3\.zone$ ^tests-extra/tests/dnssec/validate/data/rrsig\.nsec3\.zone\.2$ +^tests-extra/tests/dnssec/validate/data/rrsig\.nsec\.zone$ +^tests-extra/tests/dnssec/validate/data/rrsig\.nsec\.zone\.2$ ^tests-extra/tests/ixfr/axfr_style/data/xfr\.zone$ ^tests-extra/tests/ixfr/from_differences/07_none_nsec_nsec3_none/example\.com\.zone\.1$ ^tests-extra/tests/ixfr/from_differences/07_none_nsec_nsec3_none/example\.com\.zone\.2$ @@ -145,7 +149,6 @@ ignore$ ^tests/knot/semantic_check_data/rrsig_rdata_ttl\.signed$ ^tests/knot/semantic_check_data/rrsig_signed\.signed$ ^tests/knot/semantic_check_data/rrsig_ttl\.signed$ -^tests/libzscanner/TESTS$ ^tests/libzscanner/data/00-3_general\.out$ ^tests/libzscanner/data/06-0_INCLUDE\.out$ ^tests/libzscanner/data/06-8_INCLUDE\.out$ @@ -160,3 +163,5 @@ ignore$ ^tests/libzscanner/data/32_APL\.out$ ^tests/libzscanner/data/42_LOC\.out$ ^tests/libzscanner/data/54_OPENPGPKEY\.out$ +^tests/libzscanner/TESTS$ +ignore$ diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 0e09aeb3a3..f4b4885534 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -750,7 +750,6 @@ datetime datsize dbase dbdir -dbe DBG dbi dbid @@ -964,7 +963,6 @@ EALREADY EAPROG eatype eax -eba EBADF EBADKEY EBADSIG @@ -1164,8 +1162,6 @@ ETIMEOUT ETRAIL ETter ETTL -eturn -etval etx eui EUPTODATE @@ -2369,6 +2365,7 @@ ndalpn NDEBUG ndisc neccassary +necho nelems nestedness netblk @@ -2409,6 +2406,7 @@ nftw nfwxa nghttp NGINX +ngot ngx nhoff nic @@ -2533,6 +2531,7 @@ NOSIGNAL NOSIGPIPE nostats nosub +nosubgrouping nosubnet nosuffix NOSYNC @@ -2569,6 +2568,7 @@ nozonefile NPROCESSORS NREACH nrecord +nreference nrels nsap nscount @@ -2579,7 +2579,6 @@ NSPACES NSs nstack nsupdate -nths ntohl ntohs ntok @@ -2589,7 +2588,6 @@ nullbyte numa NUMERICHOST numfiles -nutes NVI nvxxezjnmz nxd @@ -2602,7 +2600,6 @@ objectstore occured ocsp odl -odo oerrno Ofbq offsetof @@ -2667,9 +2664,7 @@ ORIGTTL ortw osc oss -osubgrouping OSX -ote OTHERHOST otput otype @@ -3564,6 +3559,7 @@ tgraf TGRP tgz THEX +thmac thoff thr threadsafe @@ -3684,6 +3680,8 @@ typeid typename typeof tzset +u'nths +u'nutes uapi ubsan ubuntu