curl/.github/scripts
Viktor Szakats 0260e8465a
GHA/checksrc: expand spellcheck, fix issues found
- codespell: break logic out into its own runnable script. Allowing
  to run it on local machines.
- codespell: install via `pip`, bump to latest version.
- codespell: show version number in CI log.
- codespell: drop no longer needed word exception: `msdos`.
- codespell: include all curl source tree, except `packages` and
  `winbuild`. Drop an obsolete file exclusion.
- add new spellchecker job using the `typos` tool. It includes
  the codespell dictionary and a couple more. Use linuxbrew to install
  it. This takes 10 seconds, while installing via `cargo` from source
  would take over a minute.
- codespell: introduce an inline ignore filter compatible with `cspell`
  Make `typos` recognize it, too. Move single exceptions inline.

Fix new typos found. Also rename variables and words to keep
spellchecking exceptions at minumum. This involves touching some tests.
Also switch base64 strings to `%b64[]` to avoid false positives.

Ref: https://github.com/crate-ci/typos/blob/master/docs/reference.md
Ref: https://github.com/codespell-project/codespell?tab=readme-ov-file#inline-ignore
Ref: https://github.com/codespell-project/codespell/issues/1212#issuecomment-1721152455
Ref: https://cspell.org/docs/Configuration/document-settings

Closes #17905
2025-07-21 16:09:01 +02:00
..
badwords.pl docs: use lowercase curl and libcurl 2025-01-02 17:15:54 +01:00
badwords.txt misc: we write *an* IPv6 address 2025-05-30 07:53:31 +02:00
cleancmd.pl GHA: spellcheck curl symbols better 2025-02-27 13:15:21 +01:00
cmp-config.pl build: stop checking for sys/stat.h 2025-06-24 09:44:28 +02:00
cmp-pkg-config.sh GHA/configure-vs-cmake: check libcurl.pc/curl-config, fix issues 2024-09-21 12:08:35 +02:00
codespell-ignore.txt GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
codespell.sh GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
distfiles.sh build: drop tool_hugehelp.c.cvs, tidy up macros, drop buildconf.bat 2025-01-26 14:22:49 +01:00
randcurl.pl GHA: run random curl command lines for N seconds in CI 2025-04-01 11:31:48 +02:00
shellcheck-ci.sh CI: fix zizmor 1.9.0 warnings, shellcheck verify CI shell code, fix fallouts 2025-06-06 21:30:43 +02:00
shellcheck.sh CI: fix zizmor 1.9.0 warnings, shellcheck verify CI shell code, fix fallouts 2025-06-06 21:30:43 +02:00
spacecheck.pl GHA: make the spacecheck say line number for trailing space errors 2025-06-29 16:43:41 +02:00
spellcheck.curl GHA: spellcheck curl symbols better 2025-02-27 13:15:21 +01:00
spellcheck.words scorecard: flame graphs and documentation 2025-07-07 09:04:22 +02:00
spellcheck.yaml wcurl: import v2025.04.20 script + docs 2025-04-21 11:06:44 +02:00
trimmarkdownheader.pl GHA: trim markdown headers before proselinting 2024-08-22 23:45:40 +02:00
typos.sh GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
typos.toml GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
verify-examples.pl docs/libcurl: fix type and prototype problems in examples 2025-04-29 22:44:05 +02:00
verify-synopsis.pl verify-synopsis.pl: work with .md files 2024-06-27 12:45:06 +02:00
yamlcheck.sh GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
yamlcheck.yaml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00