Commits


gotwebd: basic blame and tree action regress; ok stsp@


briefly document the gotwebd test suite; ok stsp@


gotwebd: bubble up null dir check; ok jamsek


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@


label warnings shown by got-notify-http to avoid misinterpretation as errors


hide ssh debug output during fetch/send -v, keep showing it at -vv and -vvv


gotwebd.css: underline only the repo name, not the header too


fmt


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.


fix typo in CHANGES


do not call imsgbuf_clear() before got_privsep_send_error() in helpers Fixes cosmetic test failures, such as in cmdline/tree.sh.


fix exit code of got-fetch-pack in case of errors


bump version number


CHANGES for 0.106


in gotd, use a polling loop around imsgbuf_write() instead of imsgbuf_flush() Avoids potential endless loops with non-blocking I/O.


fix wrong function name in error message


set GOT_NOTIFY_TIMEOUT to a more reasonable value to prevent test failures


prevent gotd from exiting with pending notifications if client disconnects


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.


add a missing allow_fdpass(); fixes serving of writes in gotd


use imsgbuf_flush instead of imsgbuf_write; fixes end-of-file errors