Commit Briefs

ab0813b817 Thomas Adam

gotwebd: rename action_commit test to action_diff


40cd91e858 Thomas Adam

gotwebd: basic patch action regress test case




386c230ce9 Thomas Adam

briefly document the gotwebd test suite; ok stsp@


04f43d6dfa Thomas Adam

gotwebd: bubble up null dir check; ok jamsek


278c2ee8f2 Thomas Adam

portable: update imsg from libutil

imsg in OpenBSD has undergone a lot of changes recently. This commit includes fixes to imsg on Linux and hopefully other non-BSD systems.


eaecb95818 Thomas Adam

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@


52ba27b372 Thomas Adam

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@


821d9838d5 Thomas Adam

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@





9f49e0ecc7 Thomas Adam

fmt


7aac6ab270 Thomas Adam

gotwebd: fix styling

diff from Bradley Taunt, thank you!


c6e8fee78b Thomas Adam

grant regress http-server script more time to start up

Otherwise I see spurious test failures on my arm64 builder.


99f5e6151c Thomas Adam

fix typo in CHANGES


d12c6afb72 Thomas Adam

do not call imsgbuf_clear() before got_privsep_send_error() in helpers

Fixes cosmetic test failures, such as in cmdline/tree.sh.


bf2f2345ca Thomas Adam

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


07c0e562d8 Thomas Adam

bump version number


cc978472ed Thomas Adam

CHANGES for 0.106


efeaa38d27 Thomas Adam

in gotd, use a polling loop around imsgbuf_write() instead of imsgbuf_flush()

Avoids potential endless loops with non-blocking I/O.


3ed8cc620d Thomas Adam

fix wrong function name in error message


4bc9398900 Thomas Adam

portable: sha{1,2} fixes


50cf0278a1 Thomas Adam

portable: sync libutil for imsg