Viktor Szakats
9972f700a8
perl: switch from backticks to qx()
...
To make it easier to find external command invocation in the source.
Also drop backticks from a comment.
To find external command invocations in Perl code use:
```sh
git grep -E "((exec|qx|open2|open3|system)\(|open\(.+-\|)" $(<perlfiles>)
```
Refs:
https://perldoc.perl.org/functions/qx
https://perldoc.perl.org/perlop#Simpler-Quote-Like-Operators
Closes #21994
2026-06-14 14:25:02 +02:00
Viktor Szakats
e35ba09f47
tidy-up: add spaces around equal operators where missing
...
Found via regex search: `=[^~>= ]`
Closes #21975
2026-06-11 19:52:01 +02:00
Viktor Szakats
614b94eecc
tidy-up: miscellaneous
...
- avoid "will" in builds scripts, scripts folder, curl_easy_ssls_export.md,
and few other files.
- badwords: add "initialise", "nul terminated", "thread safety" and
variations.
- prefer "null-terminat", where missing (two places).
- fix "null-terminat*" missing dash.
- hostip: merge two `#if` blocks.
- tool_doswin: fix comment
Spotted by GitHub Code Quality
Follow-up to 9a2663322c #17572
- fix stray spaces and newlines.
Closes #21638
2026-05-16 01:56:17 +02:00
Viktor Szakats
ad35ecba97
badwords: fix issues found in scripts and other files
...
Single pass, not enforced.
Also:
- pyspelling.words: drop `web page`
Closes #19572
2025-11-17 17:18:07 +01:00
Daniel Stenberg
8df0a5ba32
release-notes: fix warning
...
Follow-up to 2ec54556d4
Closes #18133
2025-08-01 16:02:54 +02:00
Viktor Szakats
2ec54556d4
scripts: enable strict warnings in Perl where missing, fix fallouts
...
- add 'use warnings' and 'use strict' where missing from Perl scripts.
- fix 'Use of uninitialized value'.
- fix missing declarations.
- test1140.pl: fix 'Possible precedence issue with control flow operator'.
- fix other misc issues.
Most actual errors found during this PR were fixed and merged via
separate PRs.
Likely there are remaining warnings not found and fixed in this PR.
Closes #17877
2025-07-27 22:35:18 +02:00
Daniel Stenberg
1962573a93
release-notes.pl: ignore dupes on input and output
...
Re-running this script now makes it track the already mentioned
changelog entries and not add them again even if the git log contains
them.
This makes the script better handle reruns in a release branch after
rebasing on a later version of master.
Closes #17937
2025-07-15 18:28:37 +02:00
Daniel Stenberg
bb65a52a05
release-notes.pl: manage more "closes" typos
2025-02-08 10:51:27 +01:00
Daniel Stenberg
2bc1d775f5
copyright: update all copyright lines and remove year ranges
...
- they are mostly pointless in all major jurisdictions
- many big corporations and projects already don't use them
- saves us from pointless churn
- git keeps history for us
- the year range is kept in COPYING
checksrc is updated to allow non-year using copyright statements
Closes #10205
2023-01-03 09:19:21 +01:00
Daniel Stenberg
9ca194b5e2
release-notes.pl: check fixes/closes lines better
...
To better skip lines that just happen to mention those words at the
start of a line without being instructions.
2023-01-02 11:31:29 +01:00
Viktor Szakats
c5d8895645
scripts/release-notes.pl: strip ci skip tag [ci skip]
...
Ref: e604a82cae (commitcomment-85637701)
Reviewed-by: Daniel Stenberg
Closes #9634
2022-10-02 22:15:21 +00:00
max.mehl
ad9bc5976d
copyright: make repository REUSE compliant
...
Add licensing and copyright information for all files in this repository. This
either happens in the file itself as a comment header or in the file
`.reuse/dep5`.
This commit also adds a Github workflow to check pull requests and adapts
copyright.pl to the changes.
Closes #8869
2022-06-13 09:13:00 +02:00
Daniel Stenberg
3cf926e19b
scripts/release-notes.pl: remove leftover debug output
2022-02-02 14:20:23 +01:00
Daniel Stenberg
fcf5d55363
scripts/release-notes.pl: fix number extraction for full URLs
2022-02-02 14:14:44 +01:00
Daniel Stenberg
16b135cae9
scripts/release-notes.pl: use out of repo links verbatim in refs
2021-11-05 00:09:51 +01:00
a1346054
5458e6bd18
scripts: invoke interpreters through /usr/bin/env
...
Closes #7602
2021-08-23 15:59:34 +02:00
Daniel Gustafsson
02dfce1837
scripts: Fix typo in release-notes instructions
...
The command to run had a typo in the pathname which prevented copy
pasting it to work, which has annoyed me enough to fix this now.
2021-07-10 22:36:26 +02:00
Daniel Stenberg
659ea56040
release-notes.pl: also spot common 'closes' typo
2021-06-07 11:16:58 +02:00
Daniel Stenberg
87614768ce
release-notes.pl: detect #[number] better for Ref: etc
2020-11-13 13:17:16 +01:00
Daniel Stenberg
4d2f800677
curl.se: new home
...
Closes #6172
2020-11-04 23:59:47 +01:00
Daniel Stenberg
06488441a5
scripts/release-notes.pl: don't "embed" $ in format string for printf()
...
... since they might contain %-codes that mess up the output!
2020-10-05 08:29:28 +02:00
Viktor Szakats
308c243db5
all: fix codespell errors
...
Reviewed-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Closes https://github.com/curl/curl/pull/5452
2020-05-25 19:44:04 +00:00
Daniel Stenberg
3c77e280ce
release-notes.pl: fix parsing typo
2020-04-20 08:03:24 +02:00
Daniel Stenberg
d1479716b5
scripts/release-notes.pl: accept colon after the Fixes/Closes keywords
2020-04-14 23:36:37 +02:00
Daniel Stenberg
66212a3024
scripts/release-notes: fix duplicate output header
2020-04-14 14:57:46 +02:00
Daniel Stenberg
20f281293f
release-notes.pl: detect the start of the references in cleanup mode
2020-04-11 18:47:23 +02:00
Daniel Stenberg
3f704083bf
release-notes: fix the initial reference list output
2020-04-08 14:54:20 +02:00
Daniel Stenberg
9b23a1da7c
release-notes: output trailing references sorted numerically
2020-04-06 23:45:31 +02:00
Daniel Stenberg
17211ade28
scripts/release-notes.pl: add helper script for RELEASE-NOTES maintenance
...
This script helps putting entries in the RELEASE-NOTES using a coherent
style and sorting with a minimal human editing effort - as long as the
first line in the commit message is good enough! There's a short howto
at the top of the file.
2020-04-06 16:22:49 +02:00