Sébastien Helleu
106fe6ca7c
core: update copyright dates
2026-03-08 10:37:15 +01:00
Emil Velikov
a413d16038
cmake: plugins: simplify dependency handling
...
Move the requirement checks within the respective plugin cmakefile.
Use REQUIRED instead of the manual FOUND check and error handling.
Note: the tcl check was only moved, since using REQUIRED explodes in
CI.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2026-02-04 22:21:26 +01:00
Sébastien Helleu
9e814860ae
ci: switch from bandit/flake8/pylint to ruff in CI for Python scripts
2025-12-07 16:24:14 +01:00
Emil Velikov
8c372c0c01
Bump required (lib)curl to v7.68.0
...
Bump the requirement to v7.68.0, which means we can remove ~70% of the
ifdef guards. It was released over 5 years ago, with 30+ new curl
releases since then and dozens of CVEs fixed.
The oldest distributions we target Ubuntu 20.04 and Debian Bullseye,
have 7.68.0 and 7.74.0 respectively.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2025-08-31 10:36:20 +02:00
Sébastien Helleu
87e84d9053
ci: replace script tools/test_relay_api.sh by configuration file schemathesis.toml
2025-07-02 20:32:09 +02:00
Sébastien Helleu
9f4cbe599b
ci: add variable JOBS in script build_test.sh
2025-05-04 20:45:29 +02:00
Sébastien Helleu
8b6480272a
ci: replace variable BUILDARGS by command line arguments
2025-05-04 20:19:54 +02:00
Sébastien Helleu
f08b6beeda
ci: add variable "RUN_TESTS" in script build_test.sh
...
When set to "0", the tests are not executed after the build.
2025-05-04 16:15:21 +02:00
Sébastien Helleu
e282f77eee
core: add parameter --show-trace in the call to schemathesis
...
This displays a complete traceback information in case of internal error.
2025-04-20 09:07:45 +02:00
Sébastien Helleu
3a6ac9ee76
all: add SPDX license tag
2025-03-31 07:49:26 +02:00
Sébastien Helleu
f4b29093ca
python: add SPDX copyright tag in Python stub file
2025-03-30 14:47:12 +02:00
Sébastien Helleu
d8987a1678
all: replace Copyright lines by SPDX copyright tag
2025-03-30 14:47:12 +02:00
Sébastien Helleu
547e2b934e
core: update copyright dates
2025-02-01 23:13:18 +01:00
Sébastien Helleu
d1013b31bd
build: fix check of WeeChat git repository
...
The `.git` directory can also be a regular file in a git worktree.
2024-10-30 08:08:34 +01:00
Sébastien Helleu
6dccc3181a
build: remove our own Ruby detection and rely on CMake detection, require CMake 3.18 (issue #1156 )
...
This fixes the detection of Ruby on macOS 14.
2024-10-19 11:35:30 +02:00
Emil Velikov
51dfb1fb78
Bump required (lib)curl to v7.47.0
...
Bump the requirement to v7.47.0 as available in Ubuntu 16.04 (7.47.0)
and Debian 10 (7.64.0). It was released around 9 years ago and any
remotely supported distribution has newer version.
As result we can adjust the tools/check_curl_symbols.py script to omit
the ~70% of the guards and simplify the code base.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:33:47 +02:00
Emil Velikov
99b4f9a98d
tools/check_curl_symbols.py: add max version (only) handling
...
With a later commit, some options will have only a max version so ensure
we handle those cases.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:33:47 +02:00
Emil Velikov
ba746dcb1b
tools/check_curl_symbols.py: fix CURLOPT handling
...
The curl option handling seems to be non-functional since it suffers
from two distinct issues. The regular expression tries to match options
that we're not interested in and the symbol name is lacking the proper
prefix.
Adjust to match only on what we need and construct the name
appropriately... Fix the issues flagged by the updated script.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:33:47 +02:00
Sébastien Helleu
e29332ead6
build: add more retries in case of build failure
2024-10-06 11:35:12 +02:00
Sébastien Helleu
139787b26f
build: add a retry build mechanism on make in Debian packaging
...
When the environment variable `RETRY_BUILD` is set to `1`, the file
`debian/rules` is patched to run `dh_auto_build` multiple times, until the
build succeeds.
This is a workaround for an issue with the build in an arm64 chroot, where the
compiler randomly segfaults.
2024-10-06 10:21:44 +02:00
Josh Soref
5e2091e802
spelling: checked out
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Sébastien Helleu
df4acd5d3d
core: fix test of Debian patches when there are no patches
2024-09-08 09:27:50 +02:00
Sébastien Helleu
99d42ba297
ci: change make option from "--jobs=N" to "-j N"
...
This fixes the following error on FreeBSD:
make: illegal argument to -j -- must be positive integer!
2024-08-20 18:49:07 +02:00
Sébastien Helleu
030d82148c
core: update examples in Debian build script
2024-05-27 08:58:56 +02:00
Sébastien Helleu
bf4e47b9f2
core: fix detection of libgcrypt ≥ 1.11 (debian #1071960 )
...
Use pkg-config to detect libgcrypt, since command `libgcrypt-config` is not
available any more.
Remove patches for Debian/Raspbian Buster and Ubuntu Bionic: detection of
libgcrypt don't work any more with version 1.8.4 on Debian Buster and 1.8.1 on
Ubuntu Bionic (both versions don't provide the file `libgcrypt.pc`).
2024-05-27 08:15:59 +02:00
Sébastien Helleu
3653f4b7a2
core: rename and convert ReleaseNotes.adoc to UPGRADING.md
2024-05-26 10:27:25 +02:00
Sébastien Helleu
8260421767
core: rename and convert ChangeLog.adoc to CHANGELOG.md
2024-05-26 10:26:23 +02:00
Sébastien Helleu
6db01bee34
ci: add tests of OpenAPI document with schemathesis
2024-05-15 21:25:50 +02:00
Sébastien Helleu
24c4029c96
core: remove "wee-" prefix from source files in src/core and src/core/hook
2024-03-12 21:27:37 +01:00
Sébastien Helleu
81599b88d4
plugins: move scripting API constants to plugin-script.c
2024-03-05 19:52:21 +01:00
Sébastien Helleu
014dc845e8
doc: move script doc/python_stub.py to tools/generate_python_stub.py
2024-03-05 19:52:21 +01:00
Sébastien Helleu
5c869722c1
core: disable CJSON in Debian/buster, Raspbian/buster and Ubuntu/focal builds (issue #2066 )
...
This is because in these versions the libcjson-dev package doesn't provide
pkg-config file.
2024-02-02 08:33:06 +01:00
Sébastien Helleu
8971fc069a
relay: add "api" protocol (HTTP REST API) (issue #2066 )
2024-02-01 21:38:49 +01:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
5ccb0c23f9
debian: exclude directories ".git", "build" and "release" from source package
2023-12-24 18:41:38 +01:00
Sébastien Helleu
a3382f5a09
build: update build dependency from libncursesw5-dev to libncurses-dev
2023-08-22 09:55:24 +02:00
Sébastien Helleu
e94a18268e
core: convert scripts local variables to lower case
2023-08-15 10:50:35 +02:00
Sébastien Helleu
09b512337a
core: replace Debian Bullseye by Bookworm in Debian build script
2023-06-12 21:26:21 +02:00
Sébastien Helleu
d0f1859ef5
core: add variable CTEST_OUTPUT_ON_FAILURE in release script
2023-05-17 07:17:26 +02:00
Sébastien Helleu
1eb8e21d4b
core: hide error when git tag does not exist
2023-04-15 16:59:48 +02:00
Sébastien Helleu
412b9de263
core: add missing space before trailing backslash
2023-04-15 12:16:18 +02:00
Sébastien Helleu
c8780d2d7a
core: fix description of script bump_version.sh
2023-04-15 11:58:20 +02:00
Sébastien Helleu
c391a49cc1
core: add quote around stable/devel versions
2023-04-15 11:12:56 +02:00
Sébastien Helleu
d58d4dd8fa
core: improve description of arguments in bump version script
2023-04-08 11:13:28 +02:00
Sébastien Helleu
49df360652
core: remove WEECHAT_DEVEL_FULL from version.sh
2023-04-08 11:08:33 +02:00
Sébastien Helleu
6247598d3f
core: fix comment in bump version script
2023-04-07 08:10:10 +02:00
Sébastien Helleu
924c543430
core: ensure tag/commit are not done upon startup, do not undo tag/commit in case of error
2023-04-03 20:06:46 +02:00
Sébastien Helleu
b8f40cfa99
core: add script release.sh
2023-04-02 17:51:33 +02:00
Sébastien Helleu
058c9f8b84
core: add script bump_version.sh
2023-04-02 14:01:21 +02:00
Sébastien Helleu
6665cc866a
doc: add CMake option ENABLE_DOC_INCOMPLETE to force build of incomplete docs ( closes #1901 )
2023-03-31 21:08:56 +02:00