From: Josh Soref Date: Sun, 14 Mar 2021 12:32:26 +0000 (-0400) Subject: spelling: ignore hex strings X-Git-Tag: rec-4.5.0-beta1~12^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10175%2Fhead;p=thirdparty%2Fpdns.git spelling: ignore hex strings * that are 8+ chars long * from github urls * from commit refs Signed-off-by: Josh Soref --- diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt index b338292d5a..aef8d09401 100644 --- a/.github/actions/spell-check/expect.txt +++ b/.github/actions/spell-check/expect.txt @@ -1,39 +1,23 @@ aaaarecord -aadaf -aadceba aae aaldering ababd abbb abcde -abcdef -abfe abi aborttransaction Abraitis abspath -acb -acd -acf acl ACLTo ACPI activatedomainkey -ada -adadab -adb -adcb -addc adddomainkey addingrecords addprefix addsuffix -adfdffa Adiscon -aee -aeefcf aef -afdf Afek afl afnic @@ -119,7 +103,6 @@ axfer axfr axfrfilter Baan -bacc backend backgrounding backport @@ -142,26 +125,12 @@ basedn basepath Bastiaan bayour -bba -bbb bbc -bbcbbbe bbd bc -bca -bcb -bcc -bccd -bcce -bce -bda bdd -bddd -bded bea bearggg -beb -beda beenthere bellis Belyshev @@ -171,12 +140,6 @@ Bernd bert Besselink bestwho -bfa -bfb -bfc -bfcada -bfe -bffa bgcolor Biege bigbank @@ -231,45 +194,27 @@ bytestring bzero bzip caa -caad cachekey -cae Cairney calculatesoaserial calidns Cauquil -cbb -cbc CBF Cbjr -ccac ccache -ccb -ccbd ccc ccd cce ccounts cdb -cdbe CDBKV -cde -cdece -cdeede cdnskey cds -ceb -cec -cece -cef -cefcf Cegetel Cerb certs certusage -cfe cfea -cfeb CFLAGS cgi changelog @@ -362,9 +307,6 @@ cvstrac CWD CXXFLAGS cz -daa -dac -daee daemonizing daemontools daf @@ -381,32 +323,22 @@ datatracker Daugaard Davids Dayneko -dbaec -dbe -dbedfc -dbf dbfile dblfilename dbname dbpf dbr DBX -dccc -dcd dcde -dce DCF dcobject -ddaab dde -ddf ddns DDo deactivatedomainkey debian deboynepollard decls -ded Deduktiva dedup defcontent @@ -425,7 +357,6 @@ devtoolset df dfb dfd -dff dh DHCID DHCP @@ -524,21 +455,13 @@ dyndns dynhandler dynmodules eaa -eac eachother EAGAIN easydns eb -ebaf -ebd -ebe -ebeb -ebf ebfd ebpf ebpfblocklist -ecbf -ecc ECCN ecdsa econds @@ -546,11 +469,7 @@ ECONNRESET ecs ECSDA ecswho -eda edb -edc -ede -edfa editline edns ednsoptions @@ -559,13 +478,9 @@ ednssubnet EDNSTo edu eea -eeb eec EED -efb efbf -efc -efd Eieb EINTR ejones @@ -603,42 +518,25 @@ extrahead Exx Ezbu ezdns -fabf -fadec -FAEEBC Faerch faf failedservers failover favicon FBAE -fbc fbe -fbf fcbd fcc -fcd -fcde fcf fcff fcgi fcontext fd fda -fdc -fdce -fdd -fdde fdopen -fedc fedoraproject feedents feedrecord -feef -ffaae -ffb -ffd -ffdd fff ffi ffipolicy diff --git a/.github/actions/spell-check/patterns.txt b/.github/actions/spell-check/patterns.txt index cb2169e5e0..f3a2edb841 100644 --- a/.github/actions/spell-check/patterns.txt +++ b/.github/actions/spell-check/patterns.txt @@ -1,3 +1,12 @@ +# GitHub SHAs +\bapi.github\.com/repos/[^/]+/[^/]+/[^/]+/[0-9a-f]+\b +(?:\[[0-9a-f]+\]\(https:/|)/github\.com/[^/]+/[^/]+/[^/]+/[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b +\bgithub\.com/[^/]+/[^/]+[@#][0-9a-f]+\b +# githubusercontent +/[-a-z0-9]+\.githubusercontent\.com/[-a-zA-Z0-9?&=_\/.]* +# gist github +/gist\.github\.com/[^/]+/[0-9a-f]+ + # msdn msdn\.microsoft\.com/(?:[^/]+/|)library/\S*\.aspx? @@ -6,6 +15,11 @@ msdn\.microsoft\.com/(?:[^/]+/|)library/\S*\.aspx? # hex digits including css/html color classes: (?:[\\0][xX]|\\u|[uU]\+|#x?|\%23)[0-9a-fA-FgGrR_]{2,}(?:[uU]?[lL]{0,2}|u\d+)\b +# hex things +\b[0-9a-f]{8,}\b +\b[0-9A-F]{8,}\b +\bcommit [0-9a-f]+\b + addNSECRecordToLW.*DNSName.*powerdnt.com.*QType::NS.*res->d_records data:[a-zA-Z=;,/0-9+]+ BOOST_CHECK_EQUAL\(b64, "[a-zA-Z=;,/0-9+]+"