From: Josh Soref Date: Sun, 27 Jun 2021 23:28:48 +0000 (-0400) Subject: Upgrade check-spelling to v0.0.18 X-Git-Tag: dnsdist-1.7.0-alpha1~121^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10365%2Fhead;p=thirdparty%2Fpdns.git Upgrade check-spelling to v0.0.18 --- diff --git a/.github/actions/spell-check/advice.md b/.github/actions/spell-check/advice.md new file mode 100644 index 0000000000..2a32b65207 --- /dev/null +++ b/.github/actions/spell-check/advice.md @@ -0,0 +1,27 @@ + +
If you see a bunch of garbage + +If it relates to a ... +
well-formed pattern + +See if there's a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it. + +If not, try writing one and adding it to the `patterns.txt` file. + +Patterns are Perl 5 Regular Expressions - you can [test]( +https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines. + +Note that patterns can't match multiline strings. +
+
binary-ish string + +Please add a file path to the `excludes.txt` file instead of just accepting the garbage. + +File paths are Perl 5 Regular Expressions - you can [test]( +https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files. + +`^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md]( +../tree/HEAD/README.md) (on whichever branch you're using). +
+ +
diff --git a/.github/actions/spell-check/allow.txt b/.github/actions/spell-check/allow.txt index 6d424f5857..1300aa6cff 100644 --- a/.github/actions/spell-check/allow.txt +++ b/.github/actions/spell-check/allow.txt @@ -49,7 +49,6 @@ afpx afternm aglu aio -aj Akkermann Alexey algname @@ -108,7 +107,6 @@ answertime ANYId ANYNo anytruncatetcp -ao aoh aorudp AOver @@ -129,7 +127,6 @@ apowerdnscom appliedpolicy appliedpolicytype appname -autohints APTR APublic AQEX @@ -193,6 +190,7 @@ Autobuilder autocalculating autocommit autogen +autohints autom autorev autorr @@ -203,8 +201,13 @@ avstr AWith awithecs AWORD +AXFR +axfr +AXFR'd AXFRGET axfrqlen +AXFRs +axfrs AZone BACKENDADDRESS backendfactory @@ -252,7 +255,6 @@ berval bestmatch bestns bestpos -bh bhartvigsen BHQk bibcna @@ -306,7 +308,6 @@ Bostock BPHYx bpowerdns bpowerdnscom -bq BREHMDq brokeloop brokendnssec @@ -328,7 +329,6 @@ burtle burtlemix bval bvect -Bw byport bytag bytearray @@ -591,7 +591,6 @@ currentrrsetpos curtime customheader CWORD -cx cxx dadec daemonize @@ -889,7 +888,6 @@ DVGN dvi dvp dvpoll -dw Dwaoc DWITH dylib @@ -992,7 +990,6 @@ eip Eips EISCONN ejkmcpqxot -EK elabel elems elif @@ -1127,7 +1124,6 @@ ffipolicyfunc fflush fgc fgets -fh fieldname filebasename fileno @@ -1182,7 +1178,6 @@ Fpb fpc fprintf fptype -fq fqdn FQDNs FQk @@ -1226,7 +1221,6 @@ fwdomain fwopt fwparams fwrite -fx gai gaierror garblewarble @@ -1312,13 +1306,11 @@ gettaganswers getupdatedmasters getvalue getvars -gf ghostscript gir gitlab givr gjeqe -GK GLIBCXX globalconf globals @@ -1372,7 +1364,6 @@ gtar gtm gtzero guido -gx GZha haas habbie @@ -1391,7 +1382,6 @@ haveednssubnet HAVENSEC havetsig HBB -Hc HCID HCNUM hcode @@ -1424,7 +1414,6 @@ histo histog hjb HJpbmcg -hk hlapi HLEN hmacsha @@ -1459,8 +1448,6 @@ HTTPHEADER httpversion HUnit hwinfo -Hx -hx hxx HZXIZh iarchive @@ -1497,7 +1484,6 @@ ignorebogus IHOST iinfo Iinputs -IJ ilexicographical ILIKE imap @@ -1613,7 +1599,6 @@ ixfrutils ixx jan JAVADOC -Jb jcong jdnssec jdthood @@ -1621,15 +1606,12 @@ jebps JEQ jgqgg JGT -ji jkcevqvmu jlist -Jn JNE joeyh joj journalmode -jp jpf jpg jquery @@ -1641,7 +1623,6 @@ jsr JTf jul Jungermann -jx kamago kbcafe kce @@ -1690,8 +1671,6 @@ KStream kvresp kwargs KWw -kx -KX KXu labellen labelparts @@ -1821,7 +1800,6 @@ listerner listname listset listx -lk lkjhgf LLL lltemp @@ -1914,7 +1892,6 @@ luaspoofwithstats luatarget LUAVER luu -lw lwn lwr lwres @@ -2053,7 +2030,6 @@ moz MPkb Mps MPSC -mq mqalatency MRUBY msecmatch @@ -2194,13 +2170,11 @@ nextpart nextupd nfc nfds -nh nif nifs nint njgi nju -nk nlaunch nlen nline @@ -2321,7 +2295,6 @@ noyy nparams npos nproc -nq nqueue nrc nread @@ -2398,7 +2371,6 @@ nxt NXTHDR nxwithnorr nztest -oa oarchive obf OBJECTFILES @@ -2480,7 +2452,6 @@ optret optsize optstring optvect -oq oqtaen oraclelinux orderindex @@ -2638,8 +2609,8 @@ pkglib pkglibdir PKGNAME pkgv -pki PKI +pki pkill pkthdr pktinfo @@ -2790,7 +2761,6 @@ pureftpd pushlightuserdata pvars pvect -pw pwd pwent pycurl @@ -2798,21 +2768,17 @@ pysnmp PYTHONUNBUFFERED qaint qalatency -qc qcachehits qcachemisses QClasses QCmissing qcount qcounter -qd qdomainwild qdomainzone qesc qfonh -qg qhash -qi qids qkey qla @@ -2835,7 +2801,6 @@ qpsgraph qpslimit qpsstart qpsy -qq qry qsock qstats @@ -2862,8 +2827,6 @@ QUOTEDWORD quux qvalue qvl -qw -qx raddr RAII randomid @@ -3035,15 +2998,12 @@ rhs rhscount rhsoopts rhspos -ri rightcolumn rightiter ringmeta ringname ringsize riter -Rj -rl rlen rlim rlimit @@ -3146,8 +3106,6 @@ RVARS rwl rwtxn rwxr -rx -rz rzrp SAccept saccount @@ -3551,7 +3509,6 @@ sysperc systemdsystemunit systemdsystemunitdir systm -sz tablecopy tac tagfile @@ -3660,7 +3617,6 @@ testsuite testuser texlive textx -tf TFILE tfunc THandler @@ -3701,9 +3657,8 @@ tje tkdb tkey tkeys -tl -tld TLD +tld tlen TLKA tlsdhkeytoosmall @@ -3775,8 +3730,8 @@ toupper toxml toysdig tozero -tpl TPL +tpl tpos tptr transactiondomain @@ -3825,7 +3780,6 @@ TTLRPZ ttsig twopt txn -ty typedef typedns typeenum @@ -3836,10 +3790,8 @@ typename typestr TYPETOK TYX -tz TZOFF uapi -ub UBIGINT ubsan UBXc @@ -3999,7 +3951,6 @@ virtualenv vit vlen Vll -vm vpacket vpos VPQ @@ -4013,7 +3964,6 @@ vstate vstring vstringtok vtable -vx VYBP Vzd WAITALL @@ -4034,6 +3984,7 @@ WCOREDUMP wcplusencloser wctx wday +We'd weanswers webetter webhndlr @@ -4091,16 +4042,12 @@ wshash WSIZE WTERMSIG wtest -ww -Ww wwwds wwwezdnsit wwwpowerdnscom WWWPREFIX -wx Wxm Wyc -wz xaa xaaa XADD @@ -4111,7 +4058,6 @@ xcrypt xdigits xdnssec XEz -xf xffverylongstring XFRd XFRM @@ -4120,11 +4066,8 @@ xhr xit xlabel xluajit -xm XMy -xn xno -Xo Xof xor xpfcode @@ -4140,15 +4083,10 @@ xtics xtrue xunit XXXXg -xy xyes -Xz ybndrfg -yc yday YFLAGS -yh -YK ylabel yop YOUNAMEIT @@ -4161,7 +4099,6 @@ ytics YWJYRXp YWls YWxse -yx yxdomain YXRR yxrrset @@ -4178,7 +4115,6 @@ yytext yywrap yyy YYYYMMDDH -yz zackw zbefore ZCLASS @@ -4190,7 +4126,6 @@ zinid ziter ZJA Zjmco -Zm zmakerfunc zmakermap zmq @@ -4214,19 +4149,13 @@ zonemaster zoneparsertng zonestring ZONETOK -zp zpt -ZQ -zr zrr zrrs zskds zskeys Zsu ztype -zu zugschlus -Zv -zx ZXJETl zzz diff --git a/.github/actions/spell-check/excludes.txt b/.github/actions/spell-check/excludes.txt index adf66ed8a9..00192b5119 100644 --- a/.github/actions/spell-check/excludes.txt +++ b/.github/actions/spell-check/excludes.txt @@ -60,6 +60,7 @@ SUMS$ \.yml$ \.zip$ ^codedocs/doxygen\.conf$ +^docs/lua-records/reference/index\.rst$ ^modules/remotebackend/example\.rb$ ^modules/remotebackend/test-remotebackend-keys\.hh$ ^modules/tinydnsbackend/data$ diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt index 90441a7017..39a4a0388f 100644 --- a/.github/actions/spell-check/expect.txt +++ b/.github/actions/spell-check/expect.txt @@ -1,3 +1,5 @@ +<<<<<<< HEAD +>>>>>>> c1c09a002 (Upgrade check-spelling to v0.0.18) aaaarecord aae aaldering @@ -91,7 +93,6 @@ autodetection autodoc autofilling autogenerated -autohint automagically automake Automattic @@ -101,9 +102,6 @@ autoreconf autosecondary autoserial autotools -AXF -axfer -axfr axfrfilter Baan backend @@ -128,9 +126,9 @@ basedn basepath Bastiaan bayour +bbbb bbc bbd -bc bdd bea bearggg @@ -236,7 +234,6 @@ chown Christof chroot chrooting -ci CIDR classmethod Cloos @@ -245,7 +242,6 @@ clusions cmouse cmsg cmsghdr -cn cname cnamechainresolution CNAMEd @@ -311,7 +307,6 @@ cvs cvstrac CWD CXXFLAGS -cz daemonizing daemontools daf @@ -359,10 +354,8 @@ destname Detlef devicename devtoolset -df dfb dfd -dh DHCID DHCP dhcpd @@ -399,20 +392,17 @@ dnsdistdoc dnsdomain dnsext dnsgram -dnsheader dnskey dnsmessage dnsname dnsnameset dnsop dnspacket -dnsparser dnspcap dnsquestion DNSR dnsrecord dnsreplay -dnsresourcerecord dnsscan dnsscope dnssec @@ -442,7 +432,6 @@ dontcare downsides downstreams dport -dq drafiei Draschl droprate @@ -464,7 +453,6 @@ eaa eachother EAGAIN easydns -eb ebfd ebpf ebpfblocklist @@ -530,7 +518,6 @@ Faerch faf failedservers failover -fastopen favicon FBAE fbe @@ -540,13 +527,12 @@ fcf fcff fcgi fcontext -fd fda fdopen +fds fedoraproject feedents feedrecord -fff ffi ffipolicy filedescriptor @@ -562,7 +548,7 @@ footerbgcolor footertextcolor forfun Fortiguard -Fortinet's +Fortinet forwardzone framestream freakshow @@ -619,12 +605,10 @@ gettimeofday gettsigkey Geuze GFm -gh Gibheer Gieben Gillstrom github -githubusercontent Gkey glibc gmail @@ -660,10 +644,8 @@ gssapi gsub gtld guilabel -gy Gyh Gyselinck -gz gzip gzipped hackerone @@ -690,7 +672,6 @@ Henk Hensbergen Heredoc Heuer -hh hidesoadetails hidettl highlighttable @@ -716,7 +697,6 @@ hpp href hsm htbp -htm html htmlescape htmlhelp @@ -760,7 +740,6 @@ interoperability interoperation iostream iowait -ip IPbackend ipc ipcipher @@ -781,7 +760,6 @@ isoc isp ispell isql -issuecomment ixfr ixfrdist ixplore @@ -804,10 +782,8 @@ Jorn journalctl journald jpmens -jq json jsonstat -ju Juergen jumpbox Juraj @@ -815,7 +791,6 @@ jye Kaminsky Kaseorg KCtsq -kd Kdhcp Kdhcpdupdate Kees @@ -845,7 +820,6 @@ kom Konqueror Koos Kovacic -kp kqueue krb Krist @@ -1049,7 +1023,6 @@ Muraro musl mutex Mwaikambo -mx mxrecord mybackend mycompany @@ -1075,7 +1048,6 @@ namespace naptr Nauck Navarrete -nc nearmiss nearmisses Nederlandse @@ -1098,14 +1070,12 @@ Neue Neuf newcontent nextval -nf nginx nic nimber Nixu nkey nmg -nn Nncqx noaction noad @@ -1154,7 +1124,6 @@ nullptr NULs NUMA numreceived -nx nxd NXDATA nxdomain @@ -1200,7 +1169,6 @@ ostringstream OSX otherdomain otherpool -ou ourname ourserial ourtime @@ -1223,7 +1191,6 @@ patchlevels pathconfig pathto pawal -pb Pbackend pcap PCAPFILE @@ -1318,7 +1285,6 @@ progid protobuf protozero providername -proxyprotocol proxyprotocolvalues pseudonymize pseudorecord @@ -1329,11 +1295,8 @@ ptrrecord Publieke publishdomainkey pullreq -px -py pygments Pyry -qa Qag qclass qdcount @@ -1366,7 +1329,6 @@ randomloader rapidjson raspbian rawaddress -rb RBL rcode rcodezero @@ -1443,18 +1405,17 @@ rocommunity Roel Rosmalen roundrobin -rp RPATH rping rpms rpz rpzstatistics -rr rrcontent rrd rrdata rrdtool rrname +rrs rrset rrsig rrtype @@ -1463,14 +1424,11 @@ rsasha RSP rst rsync -ru Rueckert rulesets runtimedir Ruthensteiner -rv Rvd -rw rwlock rytis Sakaguchi @@ -1558,7 +1516,6 @@ slapindex slaveness SLES smartcard -smb smellyspice smimea smn @@ -1670,7 +1627,6 @@ supervisord Surfnet swapcontext swoga -sx syncres sys sysadmin @@ -1692,7 +1648,7 @@ tcely tcp tcpdump TCPKEEPALIVE -td +tds teeaction Telenet testrunner @@ -1754,15 +1710,13 @@ tsigname tsigsecret tstamp TSU -tt ttl Tuinder tunables -tuomi +Tuomi Tushuizen Tuxis TVJRU -tw tylerneylon typedefs typenames @@ -1776,9 +1730,6 @@ Ueli uid uint Uisms -uj -uk -ul ulimit unauth unbreak @@ -1912,16 +1863,15 @@ xdb Xek Xeon xfr -xh xhtml xml xorbooter xpf XRecord xss +XXXXXX yahttp yaml -yb Yehuda Yiu YLCOy @@ -1932,9 +1882,7 @@ yourcompany yourdomain yourorganization yoursecret -yp yubikey -yy YYYYMMD YYYYMMDD YYYYMMDDSS @@ -1954,8 +1902,6 @@ zonetransfer Zonneveld zsk zskroll -Zt Zumstrull Zwane -zz zzyzz diff --git a/.github/actions/spell-check/patterns.txt b/.github/actions/spell-check/patterns.txt index f3a2edb841..17b6eb61cf 100644 --- a/.github/actions/spell-check/patterns.txt +++ b/.github/actions/spell-check/patterns.txt @@ -13,7 +13,7 @@ msdn\.microsoft\.com/(?:[^/]+/|)library/\S*\.aspx? # uuid: \b[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\b # 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 +(?:[\\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 diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 554560b90f..b1db41bf52 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -13,21 +13,18 @@ on: types: ['opened', 'reopened', 'synchronize'] jobs: - build: + spelling: name: Spell checking - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: checkout-merge - if: "contains(github.event_name, 'pull_request')" + if: false uses: actions/checkout@v2.0.0 with: ref: refs/pull/${{github.event.pull_request.number}}/merge - fetch-depth: 5 - name: checkout - if: "!contains(github.event_name, 'pull_request')" + if: false uses: actions/checkout@v2.0.0 - with: - fetch-depth: 5 - - uses: check-spelling/check-spelling@0.0.17-alpha + - uses: check-spelling/check-spelling@v0.0.18 with: config: .github/actions/spell-check