Commit Briefs
implement gotwebd test harness
Only a couple basic regress tests so far for the index/summary and diff pages. Documentation is still needed. ok stsp@
gotwebd: fix UB when path param is not in query
Don't pass NULL as a *printf(3) %s conversion specifier argument. If the path parameter is not defined, return repo not found error. ok stsp@
discern mixed-commit worktree diffs with commit header
Instead of emitting the work tree's base commit in the diff's topmost header, which is misleading in mixed-commit work trees, emit each file's base commit in its diff header. Suggested by stsp and discussed with op and stsp on IRC. ok stsp@
gotwebd: fix styling
diff from Bradley Taunt, thank you!
grant regress http-server script more time to start up
Otherwise I see spurious test failures on my arm64 builder.
do not call imsgbuf_clear() before got_privsep_send_error() in helpers
Fixes cosmetic test failures, such as in cmdline/tree.sh.
CHANGES for 0.106 (tags/0.106)
in gotd, use a polling loop around imsgbuf_write() instead of imsgbuf_flush()
Avoids potential endless loops with non-blocking I/O.
connect the notifier only if the session process is writing to the repo
fixes "gotd: unexpected imsg 40" in logs
use GOT_NOTIFY_TIMEOUT for both notification helpers
Fixes timeout setting used by http notification helper during tests.