Commit Briefs

f86347934f Thomas Adam

fix ambiguous phrasing of -d option documentation


c855c9f037 Thomas Adam

document the gotd -n option


d98779cd32 Thomas Adam

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@


895484c861 Thomas Adam

fix spurious "gotsh: unexpected flush packet" error when client is up-to-date

ok op@


71d196c9e2 Thomas Adam

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


6110f5ef4a Thomas Adam

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

ok op, jamsek


0445d8ec48 Thomas Adam

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

ok op@


7348ded8f8 Thomas Adam

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


4d24b1fdb7 Thomas Adam

gotd: move nrepos check to parse_config

ok jamsek stsp


b4b04e8813 Thomas Adam

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@


850b13af18 Thomas Adam

fix what is probably a typo in changelog


4d1b110a47 Thomas Adam

fix missed attribution in changelog


42a95f4839 Thomas Adam

bump version number


9deac22f6f Thomas Adam

changes for 0.80


f35371fc7a Thomas Adam

update gotwebd TODOs



c64505bc0a Thomas Adam

sync dist file list



61aa7f30dd Thomas Adam

add obj/pages.c to CLEANFILES in gotwebd's Makefile


fc3075a803 Thomas Adam

license copyright++


5bd2a49b57 Thomas Adam

remove TODO items related to indexing ref-deltas


88056de124 Thomas Adam

fix indexing of pack files which contain ref-deltas

ok jamsek


be97ab03ef Thomas Adam

refactor got log -d and tog diffstat to compute diff once

This eliminates the previous performance cost by making 'got log -d' and tog diff view compute the diffstat while building the diff in a temp file like we do with 'got diff -d'. Also, keep the current 'got log -d' UI as per stsp's suggestion. ok stsp@


28466fcabc Thomas Adam

fix diff and log diffstat tests broken in 65dedee0a2cd

I failed to update regress when changing the diffstat summary line in the previous commit to use a singular noun after 1. ok op@ and stsp@


4ef604a7de Thomas Adam

update gotd TODO items