Commit Briefs

Thomas Adam

add a gotd auth test case for an explicitly denied group

ok op@


Thomas Adam

add a gotd auth test case for explicitly denied users

ok op@


Thomas Adam

add a test case for requests from users not listed in gotd.conf

ok op@


Thomas Adam

fix group membership check in gotd auth

ok op@



Thomas Adam

implement per-repository read/write authorization rules in gotd

ok op@


Thomas Adam

gotd: Don't include stdlib.h twice




Thomas Adam

gotsh.1: Add missing .Ed


Thomas Adam

fix gotctl usage string


Thomas Adam

got send: show server error

Print the error message reported by the remote server when failing to update a branch (for e.g. because of a server-side check.) Reported by gonzalo@, with help and ok stsp@.


Thomas Adam

gotwebd: fix memleak in error path

ok stsp@


Thomas Adam

update gotd TODO items


Thomas Adam

rm useless continue ok stsp


Thomas Adam

portable: set next version


Thomas Adam

portable: release 0.79 (tags/0.79)


Thomas Adam

bump version number


Thomas Adam

CHANGES for 0.79


Thomas Adam

sync dist file list


Thomas Adam

gotd regress style tweaks from op@


Thomas Adam

add a regression test for sending to an empty repository via gotd

ok op@



Thomas Adam

use sub-second precision when checking for objects/pack/ modification

Convert from st.m_time (second-precision time_t) to st.m_tim (struct timespec). To compensate for the potential case where a filesystem provides resolution in seconds only, always read the directory if no pack files are known to exist. Otherwise, there is a race condition when gotd repo_write creates a new pack and a request arrives for repo_read shortly after. Caught by a regression test for gotd on empty repositories. Test failure pointed out by Mikhail. ok op@