summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* checksrc: find bad indentation in conditions without open braceDaniel Stenberg2023-04-281-0/+26
| | | | | | | | | | | If the previous line starts with if/while/for AND ends with a closed parenthesis and there's an equal number of open and closed parentheses on that line, verify that this line is indented $indent more steps, if not a cpp line. Also adjust the fall-out from this fix. Closes #11054
* checksrc: check for spaces before the colon of switch labelsEmanuele Torre2023-04-271-0/+7
| | | | Closes #11047
* checksrc: fix SPACEBEFOREPAREN for conditions starting with "*"Daniel Stenberg2023-04-271-5/+7
| | | | | | | | | | | | | | | The open paren check wants to warn for spaces before open parenthesis for if/while/for but also for any function call. In order to avoid catching function pointer declarations, the logic allows a space if the first character after the open parenthesis is an asterisk. I also spotted what we did not include "switch" in the check but we should. This check is a little lame, but we reduce this problem by not allowing that space for if/while/for/switch. Reported-by: Emanuele Torre Closes #11044
* scripts/delta: fix "ambiguous argument" when used in branchesDaniel Stenberg2023-03-181-2/+2
|
* scripts/delta: show percent of number of files changed since last tagDaniel Stenberg2023-02-101-1/+1
|
* zuul: stop using this CI serviceDaniel Stenberg2023-01-303-206/+0
| | | | | | | The important jobs have already transitioned. The remaining ones we can skip for now. Closes #10368
* copyright: remove "m4/ax_compile_check_sizeof.m4" from skipsDaniel Stenberg2023-01-301-3/+11
| | | | | | | | and report if skipped files do not exist. Follow-up to 9e11c2791fb960758 which removed the file. Closes #10369
* copyright.pl: cease doing year verificationsDaniel Stenberg2023-01-291-32/+16
| | | | | | | | As we have (mostly) removed the copyright year ranges. Reported-by: Ryan Schmidt Fixes #10345 Closes #10352
* scripts: Fix Appveyor job detection in cijobs.plDan Fandrich2023-01-251-1/+1
| | | | | The reorganization in #9769 broke the script. This should probably be rewritten to use a YAML parser for better upward compatibility.
* scripts: set file mode +x on all perl and shell scriptsJay Satiro2023-01-051-0/+0
| | | | | | | | | | | | | - Set all scripts +x, ie 644 => 755. Prior to this change some scripts were not executable and therefore could not be called directly. ~~~ git ls-files -s \*.{sh,pl,py} | grep -v 100755 ~~~ Closes https://github.com/curl/curl/pull/10219
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-0319-52/+63
| | | | | | | | | | | | - 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
* release-notes.pl: check fixes/closes lines betterDaniel Stenberg2023-01-021-6/+11
| | | | | To better skip lines that just happen to mention those words at the start of a line without being instructions.
* contributors.sh: actually use $CURLWWW instead of just setting it.Frank Gevaerts2022-12-091-1/+1
| | | | | | | The script was all set up for flexibility where curl-www is elsewhere in the filesystem, but then hard-coded ../curl-www anyway... Closes #10064
* ci: Remove zuul fuzzing job as it's superseded by CIFuzzMax Dymond2022-12-011-12/+0
|
* scripts/contributors.sh: strip one OR MORE leading spacesDaniel Stenberg2022-11-301-1/+1
| | | | From names found credited in commit logs
* scripts/delta: adapt to curl.h changes for the opt counterDaniel Stenberg2022-11-171-2/+14
|
* log2changes.pl: wrap long lines at 80 columnsDaniel Stenberg2022-11-151-18/+17
| | | | | | | | Also, only use author names in the output. Fixes #9896 Reported-by: John Sherrill Closes #9897
* style: use space after comment start and before comment endDaniel Stenberg2022-10-301-0/+15
| | | | | | | | | | /* like this */ /*not this*/ checksrc is updated accordingly Closes #9828
* scripts/checksrc.pl: detect duplicated include filesDaniel Stenberg2022-10-261-0/+10
| | | | | | After an idea by Dan Fandrich in #9794 Closes #9796
* scripts/release-notes.pl: strip ci skip tag [ci skip]Viktor Szakats2022-10-021-0/+1
| | | | | | | | Ref: https://github.com/curl/curl/commit/e604a82cae922bf86403a94f5803ac5e4303ae97#commitcomment-85637701 Reviewed-by: Daniel Stenberg Closes #9634
* scripts: use `grep -E` instead of `egrep`a13460542022-09-132-2/+2
| | | | | | egrep is deprecated Closes #9491
* zuul: remove the clang-tidy jobDaniel Stenberg2022-08-301-6/+0
| | | | | | | | Turns out we don't see the warnings, but the warnings right now are plain ridiculous and unhelpful so we can just as well just kill this job. Closes #9390
* examples/curlx.c: removeDaniel Stenberg2022-08-181-1/+0
| | | | | | | This example is a bit convoluted to use as an example, combined with the special license for it makes it unsuitable. Closes #9330
* GHA: move libressl CI from zuul to GitHubDaniel Stenberg2022-08-141-10/+0
| | | | Closes #9309
* configure: introduce CURL_SIZEOFDaniel Stenberg2022-08-111-1/+0
| | | | | | | | | This is a rewrite of the previously used GPLv3+exception licensed file. With this change, there is no more reference to GPL so we can remove that from LICENSES/. Ref: #9220 Closes #9291
* ci: avoid `cmake -Hpath`Emanuele Torre2022-06-222-3/+11
| | | | | | | | | | | This is an undocumented option similar to the `-Spath' option introduced in cmake 3.13. Replace all instances of `-Hpath' with `-Spath' in macos workflow. Replace `-H. -Bpath' with `mkdir path; cd ./path; cmake ..' in zuul scripts since it runs an older version of cmake. Fixes #9008 Closes #9014
* copyright.pl: parse and use .reuse/dep5 for skipsDaniel Stenberg2022-06-141-67/+96
| | | | | | Also scan skipped files to be able to find superfluous ignores, shown with -v. Closes #9006
* docs/cmdline-opts: add copyright and license identifier to each fileDaniel Stenberg2022-06-141-1/+0
| | | | | | | gen.pl now insists on C: and SPDX-License-Identifier: fields to be present in all files. Closes #9002
* copyright: info for/ignore .github/ISSUE_TEMPLATE/bug_report.mdDaniel Stenberg2022-06-141-0/+3
| | | | | | | Follow-up from 448f7ef9ab2afb7. The adding of the copyright text in that file broke site functionality. Closes #9001
* copyright: verify SPDX-License-Identifier presence as wellDaniel Stenberg2022-06-131-0/+8
|
* copyright: make repository REUSE compliantmax.mehl2022-06-1319-10/+47
| | | | | | | | | | | 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
* scripts/copyright.pl: ignore leading spacesDaniel Stenberg2022-06-121-1/+1
|
* scripts/copyright.pl: fix the exclusion to not ignore man pagesDaniel Stenberg2022-06-021-1/+4
| | | | | Ref: #8869 Closes #8952
* log2changes: do not indent empty lines [ci skip]Viktor Szakats2022-05-201-1/+1
| | | | | | | | This will omit two spaces of indentation from lines with no content, thus avoiding 'spaces @ EOL'. Reviewed-by: Daniel Stenberg <daniel@haxx.se> Closes #8887
* macos9: remove partial supportDaniel Gustafsson2022-05-161-4/+0
| | | | | | | | | | The support for compiling on Mac OS 9 hasn't been modified since 2001 and has no active maintainer or packager, so it's time to remove it as it's incredibly unlikely to work. If a maintainer re-emerges it can be resurrected from Git history. Closes: #8836 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* zuul: fix the ngtcp2-gnutls buildDaniel Stenberg2022-05-101-2/+2
| | | | | | | | Add packages and tweak the configure options. Use the GnuTLS 3.7.4 branch (not main). Closes #8829
* scripts/contributors.sh: correct the copyright rangeDaniel Stenberg2022-05-091-1/+1
|
* Makefile: fix "make ca-firefox"Ryan Schmidt2022-05-051-0/+0
| | | | Closes #8804
* contributors: strip off final commaDaniel Gustafsson2022-05-021-1/+2
| | | | | | | | The final row of contributors should not end with a comma as it's the end of the list. Closes: #8785 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* misc: use "autoreconf -fi" instead buildconfPhilip H2022-05-021-2/+2
| | | | | Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Closes #8777
* scripts/cijobs.pl: try "current branch" first then "master"Daniel Stenberg2022-04-301-1/+2
|
* macos: set .plist version in autoconfDaniel Gustafsson2022-04-201-1/+1
| | | | | | | | | Set the libcurl version in libcurl.plist like how libcurl.vers is created. Closes: #8692 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Nick Zitzmann <nickzman@gmail.com>
* perl: removed a double semicolon at end of lineMatteo Baccan2022-04-142-7/+7
| | | | | | | Remove double semicolons at end of line in Perl code. Closes: #8709 Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
* GHA: move bearssl jobs over from zuulDaniel Stenberg2022-04-071-18/+0
| | | | Closes #8684
* GHA: add openssl3 jobs moved over from zuulDaniel Stenberg2022-04-071-9/+0
| | | | Closes #8683
* scripts: move three scripts from lib/ to scripts/Daniel Stenberg2022-03-234-1/+1645
| | | | | | | | | | Move checksrc.pl, firefox-db2pem.sh and mk-ca-bundle.pl since they don't particularly belong in lib/ Also created an EXTRA_DIST= in scripts/Makefile.am instead of specifying those files in the root Makefile.am Closes #8625
* gha: move the event-based test over from ZuulDaniel Stenberg2022-03-211-7/+0
| | | | | | Switched libssh2 to libssh Closes #8490
* scripts/copyright.pl: ignore the new mlc_config.json fileDaniel Stenberg2022-03-181-0/+3
|
* CI: Do not use buildconf. Instead, just use: autoreconf -fiPhilip H2022-03-152-2/+2
| | | | Closes #8596
* misc: update copyright year rangesDaniel Stenberg2022-03-051-1/+1
|