Rainer Gerhards
15959be27f
omfile: update internal doc to doxyfile format and improve it
2025-06-13 16:45:24 +02:00
Rainer Gerhards
0a51099539
Merge pull request #5691 from rsyslog/codex/create-commenting-style-.md-for-ai-and-human-use
...
Add Doxygen commenting style guide
2025-06-13 14:29:34 +02:00
Rainer Gerhards
70ca6781e8
docs: add commenting style guide and reference
...
Create COMMENTING_STYLE.md for Doxygen guidance optimized for Codex. Updated AGENTS.md to link the new document. Ran devtools/check-codestyle.sh.
AI-Agent: Codex 2025-06
Signed-off-by: Codex <codex@openai.com>
2025-06-13 11:56:53 +02:00
Rainer Gerhards
b926a6ea03
Merge pull request #5683 from rsyslog/codex/fix-omusrmsg-module-compatibility
...
fix Solaris build of omusrmsg
2025-06-13 11:42:06 +02:00
Rainer Gerhards
53d6489963
omusrmsg: use utmpx on systems where available
...
- this is driven by Solaris: it does not provide UT_LINESIZE
- prefer utmpx when available and map setutent()/getutent()
- derive UT_LINESIZE from platform macros to compile on Solaris
- if nothing else helps, set UT_LINESIZE to 32
Note that 32 is a somewhat save default, but not perfect.
Fixes https://github.com/rsyslog/rsyslog/issues/5678
2025-06-13 08:10:29 +02:00
Rainer Gerhards
9772a3bed7
maintain ChangeLog
2025-06-12 19:26:43 +02:00
Attila Lakatos
9b6525b1d2
ossl netstream driver: do not import engines if not available ( #5685 )
...
Avoid including openssl/engine.h when OPENSSL_NO_ENGINE is set. Adjust dependent modules and test accordingly.
2025-06-12 19:23:50 +02:00
Rainer Gerhards
e1c42abf56
Merge pull request #5686 from Cropi/remove-duplicate
...
Removed the redundant *_la_LDFLAGS
2025-06-12 16:20:11 +02:00
Cropi
90e0971b4b
Removed the redundant *_la_LDFLAGS
...
Whilst this did not cause issues when building the project, it produced
warnings.
2025-06-12 10:46:19 +02:00
Rainer Gerhards
00e1e2b92c
maintain ChangeLog
2025-06-12 08:53:10 +02:00
Rainer Gerhards
0ebc980309
Merge pull request #5684 from rsyslog/codex/fix-data-race-reported-by-threadsanitizer
...
Fix race in notifyReArm
2025-06-12 08:45:45 +02:00
Rainer Gerhards
d34b34b969
AI support: slightly better agent instructions
2025-06-11 10:01:14 +02:00
Rainer Gerhards
e9306113c9
Add Makefile for Sphinx documentation
2025-06-11 08:49:08 +02:00
Rainer Gerhards
36cb710ef2
imtcp: avoid data race in notifyReArm
...
\nAI-Agent: Codex 2025-06
2025-06-10 18:29:31 +02:00
Rainer Gerhards
2bfef046d5
github: fix issue in automatic labler script
2025-06-10 17:41:55 +02:00
Rainer Gerhards
8997fc1d96
github: add automatic issue labler
2025-06-10 17:02:35 +02:00
Rainer Gerhards
a7d888323a
setup versioning for daily stable releases
...
While somewhat irrelevant for daily stable, we base the version
on scheduled stable and must bump in order to be the "highest
version number".
2025-06-10 12:45:10 +02:00
Rainer Gerhards
50a6737e52
prepare for scheduled stable release 8.2506.0
v8.2506.0
2025-06-10 12:37:25 +02:00
Rainer Gerhards
c880c5d8fc
re-setup for daily stable after scheduled stable release
2025-06-10 12:25:17 +02:00
Rainer Gerhards
1daad521d1
prepare scheduled stable version 8.2506.0
2025-06-10 12:08:06 +02:00
Rainer Gerhards
1e2b99ea15
maintain ChangeLog
2025-06-10 11:46:37 +02:00
Rainer Gerhards
69bfe4e466
Merge pull request #5680 from rsyslog/codex/replace-memset-call
...
fix hashtable realloc memset range
2025-06-10 11:24:06 +02:00
209213cadc
fix hashtable realloc memset range
2025-06-10 09:50:40 +02:00
Rainer Gerhards
e975ab99d7
Merge pull request #5676 from rsyslog/revert-5586-queue-missing-warnings
...
Revert "queue: emit better warning messages on queue param mismatch"
2025-06-10 08:13:37 +02:00
Rainer Gerhards
850074ee95
maintain ChangeLog
2025-06-10 08:11:22 +02:00
Rainer Gerhards
b2b3c1fde7
Merge pull request #5675 from rgerhards/i-5631
...
CI: new python-based codestyle checker
2025-06-10 08:01:51 +02:00
Rainer Gerhards
9f7f1815bb
CI: new python-based codestyle checker
...
Easier to maintain than the off-project C source. The checks
are pretty trivial.
This also fixes some nits that the old checker did not detect.
closes https://github.com/rsyslog/rsyslog/issues/5631
2025-06-09 18:43:36 +02:00
Rainer Gerhards
b2a55709bf
maintain ChangeLog
2025-06-09 18:35:27 +02:00
Rainer Gerhards
ee6cc7b578
Merge pull request #5674 from rsyslog/codex/fix-redundant-target-change-messages-in-omfwd.c
...
Fix misleading active target log in omfwd
2025-06-09 18:31:25 +02:00
Rainer Gerhards
d72f5a364f
Revert "queue: emit better warning messages on queue param mismatch"
2025-06-09 18:28:21 +02:00
Rainer Gerhards
d6d340aaad
omfwd regression fix: avoid false active target change log message
...
Commit ffaf6dc4620da added proper variable sync, but dropped the check
if active count had actually changed. As such, the output was always
generated, which could pollute the log heavily.
also fixes some codestyle issues introduced by earlier commits.
With the help of AI-Agent: Codex 2025-06
2025-06-09 17:41:52 +02:00
Rainer Gerhards
f7578cb79f
AI support: fix agents checkrun instructions
2025-06-09 17:18:27 +02:00
Rainer Gerhards
361573a460
Merge pull request #5056 from SchorppDA/eleminate-type-cast
...
outchannel: eleminate type cast for compatibility reasons
2025-06-09 15:29:22 +02:00
Rainer Gerhards
2569a982d3
AI support: active Google Gemini review for new PRs
...
First tests show solid functionality, so ready to try this on
broader range.
2025-06-09 15:17:39 +02:00
Rainer Gerhards
f9a54ef118
maintain ChangeLog
2025-06-09 14:34:26 +02:00
Rainer Gerhards
f0372aa8b3
Merge pull request #5606 from Cropi/imjournal-dicarded
...
imuxsock: Add statistics counter for discarded messages
2025-06-09 13:58:54 +02:00
Rainer Gerhards
32940eabce
maintain ChangeLog
2025-06-09 08:06:05 +02:00
Rainer Gerhards
bea3d79e84
Merge pull request #5667 from rgerhards/lookup-regex
...
lookup: add new table type for regex-matches
2025-06-08 18:59:59 +02:00
Rainer Gerhards
611f7844c9
lookup: add new table type for regex-matches
...
While we do not like rexeg-matches for performance reasons, they are
well known and appreciated by users. With the new table type, we
add a lookup capability for partial matches, but at the price
of much higher ressource use. It still is useful, e.g. to classify
events as "noise" events in a simple manner.
2025-06-08 17:16:27 +02:00
Rainer Gerhards
872e214436
Merge pull request #5673 from rgerhards/imdocker-hardening
...
imdocker: harden module buffer management
2025-06-08 16:55:40 +02:00
Rainer Gerhards
ca765f0529
imdocker: harden module buffer management
...
The imdocker configuration parser previously copied getcontainerlogoptions
into a fixed buffer and allocated exactly the input length for a secondary
options string. This risked truncation and missing termination. The new
code allocates buffers dynamically and accounts for the trailing null byte.
Summary
Replaced the fixed 256‑byte buffer with a dynamically allocated copy of
the configuration string and ensured room for a trailing null byte
in option_str.
2025-06-08 14:13:21 +02:00
Rainer Gerhards
68751eec94
AI support: tell gemini not to check style
...
We have stylecheck inside our CI
2025-06-08 14:02:09 +02:00
Rainer Gerhards
c3acf4b4d6
Merge pull request #5671 from rgerhards/codex/fix-memory-error-in-rsyslog-test-log
...
fix missing suppression and tcpflood nit
2025-06-08 14:00:36 +02:00
Rainer Gerhards
1df90147c1
AI support: mention experimental PR reviews via AI
2025-06-08 12:30:25 +02:00
Rainer Gerhards
646fcc2919
experimentally try Gemini CodeAssist in Review process
...
Part of our AI strategy. Note that this may be undone. We enable this on
the main repository in order to receive sufficient feedback.
2025-06-08 11:35:17 +02:00
Rainer Gerhards
0443323e37
clarify pselect suppression
2025-06-08 11:29:49 +02:00
Rainer Gerhards
ab5d2c7ab6
Merge pull request #5446 from infracaninophile/freebsd-compat-fixes
...
Add header includes to support compilation on FreeBSD
2025-06-08 08:53:36 +02:00
Rainer Gerhards
104b96d2ea
maintain ChangeLog
2025-06-08 08:26:17 +02:00
Rainer Gerhards
1c6d6a9079
Merge pull request #5656 from rgerhards/codex/fehler-in-einem-relevanten-codeabschnitt-beheben
...
fix mime type typo
2025-06-08 08:17:20 +02:00
Rainer Gerhards
ae37893956
Merge pull request #5670 from rgerhards/codex/optimize-rsyslog-git-ci-workflows
...
ci: skip expensive workflows on doc-only changes
2025-06-08 08:15:28 +02:00