Commit Briefs

1e5b87a027 Thomas Adam

portable: release 0.100 (tags/0.100)


9d288e675a Thomas Adam

portable: CI: FreeBSD-14.0

Bump the CI testing for FreeBSD to use 14.0


790c0958c5 Thomas Adam

bump version number


66c4049d62 Thomas Adam

CHANGES for 0.100


7b02234487 Thomas Adam

sync dist file list


ada2ec4f22 Thomas Adam

gotadmin sits in section 1, not 8



6becd17985 Thomas Adam

reintroduce the 'got init' command as an alternative to 'gotadmin init'

New users trying out Got for the first time have reported trouble with finding a way to create a new repository, based on their assumption that Got works like Git which provides a 'git init' command. It doesn't cost us much effort to keep this command available in both programs to make discovery a bit easier for new users coming from Git.


ec1fc28206 Thomas Adam

fix pack file transfers which do not use sidebands

Found while running 'got clone' against a git9 server, after an unrelated issue was reported by Lucas on IRC, thanks! ok op@


0d03949003 Thomas Adam

plug 'got diff obj1 obj2' line metadata memory leak

Despite API callers not requesting it, we collect line metadata due to NULL pointer checks missing a level of indirection. Reported by Kyle Ackerman. ok op and stsp


0f24033e38 Thomas Adam

plug a leak in a few cmds: forgot to free(cwd) at the end

spotted while investigating for another leak spotted by Kyle Ackerman. ok stsp@ and jamsek



dcfc045527 Thomas Adam

gotwebd: lower the level of the qs ptr-to-ptr


7d683d75f4 Thomas Adam

gotwebd: remove previd and prevset query string parameter

They're no longer used.


9614da6336 Thomas Adam

gotwebd: delete dead code

at this point we can't know if the client has disconnected, we just finished parsing the fcgi parameters and started handling the reply. We'll know whether the client disconnected only later, while trying to send the page content.


37a62e32b8 Thomas Adam

gotwebd: use the last matching fastcgi parameter

in case of multiple parameters with the same name, use the last matching one.



5ae14b292c Thomas Adam

got{web,}d: handle multiple -v

only fatal*() and log_warn*() are now logged by default. log_info() is hidden behind a -v and log_debug behind -vv. Makes gotd and gotwebd way less chatty. ok stsp@


684f094bd5 Thomas Adam

gotwebd: use less temp files

Instead of allocating a whole set of temp fd per `listen' directive, just use a global set per "sockets" process. This is fine since gotwebd doesn't keep multiple connections open at the same time, once it enters gotwebd_process_request() it won't exit until all the page has been processed. (this because we don't have async APIs for got operations.) ok stsp@


96c0dd284e Thomas Adam

portable: remove SA_LEN/SS_LEN

These are no longer used now that upstream has changed its socket handling.


bea01bd1a3 Thomas Adam

portable: macOS -- SOCK_CLOEXEC

Only use this flag #ifdefined.


9067b8a0aa Thomas Adam

portable: fix up log.c file location


3494300549 Thomas Adam

remove a redundant bounds check which gets elided by clang

found by + ok op@


e9f3a90fad Thomas Adam

remove http client support from TODO list