Commit Briefs

Stefan Sperling

changes for 0.81 (tags/0.81)




Stefan Sperling

document the gotd -n option


Stefan Sperling

gotd: fix "bad packfile with zero objects" error while creating branches

Clients will send an empty pack file if they are only creating new references and have no objects to upload. Make gotd handle this and add a regression test which triggers the bug. Problem found by op@. The new regression test caught an unrelated issue where the client connection was left lingering after references had been updated, which made 'got send' followed by 'got clone -l' fail with the connection limit configured for the test suite (just one connection is allowed at a time). Fix this as well. ok op@



Christian Weisgerber

regress: replace typeset with printf for shell portability

The typeset shell builtin is a ksh(1) feature. It is not available in a pure POSIX sh(1). Use printf(1) to portably perform the same string truncation. tweak and ok op jamsek


Stefan Sperling

fix an issue where gotd fails to accept multiple have-lines from clients

ok op, jamsek


Stefan Sperling

fix an issue where multiple ref-updates are rejected by gotd

ok op@


Omar Polo

gotd: move socket path check to parse.y and error from the main process

It's handy to have a "bad unix socket path" error being reported directly from the main process since can get caught by `gotd -n'. ok jamsek stsp


Omar Polo

gotd: move nrepos check to parse_config

ok jamsek stsp


Omar Polo

gotd: print configuration errors without -d

Defer the absolute path check on argv[0] and log_init so that it becomes possible to run `gotd -n' to check the configuration file and get errors without specifying -d. Erorrs in the configuration now are actually always printed regardless of -d. While here also tweak an error message and print 'configuration OK' if -n ok stsp@


Stefan Sperling

fix what is probably a typo in changelog


Stefan Sperling

fix missed attribution in changelog


Stefan Sperling

bump version number