Hello,

another spelling check cleanup.

Ilya
From 7f8ecfac2319fa8ebf0518796b5c7493a681fd6e Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin <chipits...@gmail.com>
Date: Fri, 7 Jan 2022 14:46:15 +0500
Subject: [PATCH 2/2] CLEANUP: assorted typo fixes in the code and comments

This is 30th iteration of typo fixes
---
 reg-tests/ssl/dynamic_server_ssl.vtc | 2 +-
 src/xprt_quic.c                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/reg-tests/ssl/dynamic_server_ssl.vtc b/reg-tests/ssl/dynamic_server_ssl.vtc
index 84854a38b..0e6ecb5ab 100644
--- a/reg-tests/ssl/dynamic_server_ssl.vtc
+++ b/reg-tests/ssl/dynamic_server_ssl.vtc
@@ -1,5 +1,5 @@
 #REGTEST_TYPE=bug
-# Test if a certicate can be dynamically updated once a server which used it
+# Test if a certificate can be dynamically updated once a server which used it
 # was removed.
 #
 varnishtest "Delete server via cli and update certificates"
diff --git a/src/xprt_quic.c b/src/xprt_quic.c
index 93a24f089..4a0085f3b 100644
--- a/src/xprt_quic.c
+++ b/src/xprt_quic.c
@@ -3276,7 +3276,7 @@ static inline void quic_conn_take(struct quic_conn *qc)
 }
 
 /* Decrement the <qc> refcount. If the refcount is zero *BEFORE* the
- * substraction, the quic_conn is freed.
+ * subtraction, the quic_conn is freed.
  */
 static void quic_conn_drop(struct quic_conn *qc)
 {
-- 
2.33.1

From 36180474c340682bfdce414757a2184902dd039b Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin <chipits...@gmail.com>
Date: Fri, 7 Jan 2022 14:42:54 +0500
Subject: [PATCH 1/2] CI: refactor spelling check

let us switch to codespell github actions instead of invocation from cmdline.
also, "ifset,thrid,strack,ba,chck,hel,unx,mor" added to whitelist, those are
variable names and special terms widely used in HAProxy
---
 .github/workflows/codespell.yml | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
index 955560a0a..3b3114135 100644
--- a/.github/workflows/codespell.yml
+++ b/.github/workflows/codespell.yml
@@ -12,12 +12,8 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v2
-    - name: Install codespell
-      run: sudo pip install codespell
-    - name: Run codespell
-      run: |
-        codespell \
-          -c \
-          -q 2 \
-          --ignore-words-list ist,ists,hist,wan,ca,cas,que,ans,te,nd,referer,ot,uint,iif,fo,keep-alives,dosen \
-          --skip="CHANGELOG,Makefile,*.fig,*.pem"
+    - uses: codespell-project/codespell-problem-matcher@v1
+    - uses: codespell-project/actions-codespell@master
+      with:
+        skip: CHANGELOG,Makefile,*.fig,*.pem
+        ignore_words_list: ist,ists,hist,wan,ca,cas,que,ans,te,nd,referer,ot,uint,iif,fo,keep-alives,dosen,ifset,thrid,strack,ba,chck,hel,unx,mor
-- 
2.33.1

Reply via email to