haproxy/dev
Willy Tarreau d5c6431907 DEV: patchbot: update: report the exact git error to the user
The "git commit failed" warning said nothing about the cause, leaving
the admin to guess between a missing identity, an ownership refusal, a
git binary absent from the restricted PATH the web server gives to its
CGIs, etc. run_git() now captures the command's stdout and stderr
through a pipe and the warning line carries git's own message (first
255 bytes, control chars flattened), so the admin directly sees the
cause; as the command runs through /bin/sh, an unfindable git yields
status 127 and the shell's message, reworded as "cannot execute git:
..." to directly point at the typical PATH issue. Capturing also
guarantees that git output can never corrupt the CGI response nor leak
to the client on servers which wire the CGI's stderr to the socket.
2026-07-07 14:45:32 +02:00
..
base64 CONTRIB: move some dev-specific tools to dev/ 2021-04-02 17:48:42 +02:00
coccinelle DEV: coccinelle: add a test to detect unchecked calloc() 2024-08-24 19:13:56 +02:00
flags DEV: lags/show-sess-to-flags: Properly handle fd state on server side 2024-11-25 21:57:30 +01:00
gdb DEV: dev/gdb: add fdtab dump 2026-06-01 19:08:42 +02:00
h2 DEV: h2: fix h2-tracer.lua nil value index 2025-04-08 17:44:41 +02:00
haring CLEANUP: use the automatic alignment feature 2025-12-09 17:14:58 +01:00
hpack DEV: hpack: fix trash build regression 2023-01-27 10:22:20 +01:00
ncpu DEV: ncpu: also emulate sysconf() for _SC_NPROCESSORS_* 2025-03-14 18:30:30 +01:00
patchbot DEV: patchbot: update: report the exact git error to the user 2026-07-07 14:45:32 +02:00
phash BUILD: dev/phash: remove the accidentally committed a.out file 2025-07-02 10:55:13 +02:00
plug_qdisc CONTRIB: move some dev-specific tools to dev/ 2021-04-02 17:48:42 +02:00
poll DEV: poll: add support for epoll 2022-11-25 17:07:22 +01:00
qpack MINOR: qpack: implement standalone decoder tool 2022-06-15 15:42:10 +02:00
sslkeylogger DEV: sslkeylogger: handle file opening error 2023-10-03 15:23:35 +02:00
tcploop DEV: tcploop: add minimal support for unix sockets 2023-01-11 11:27:20 +01:00
term_events DEV: term-events: Fix hanshake events decoding 2026-02-18 09:44:15 +01:00
trace CONTRIB: move some dev-specific tools to dev/ 2021-04-02 17:48:42 +02:00
udp BUILD: address a few remaining calloc(size, n) cases 2024-02-10 11:37:27 +01:00