Commits


fix group membership check in gotd auth ok op@


add missing RO and RW tokens; pointed out by op@


implement per-repository read/write authorization rules in gotd ok op@


gotd: Don't include stdlib.h twice


put manual page sections in the proper order


gotd.8: Add missing .El; gotd.conf.5: Fix typo EL -> El


gotsh.1: Add missing .Ed


fix gotctl usage string


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@.


gotwebd: fix memleak in error path ok stsp@


update gotd TODO items


rm useless continue ok stsp


portable: set next version


portable: release 0.79


bump version number


CHANGES for 0.79


sync dist file list


gotd regress style tweaks from op@


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


fix capabilities announced by gotsh when no reference exist in repository ok op@


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@


make 'got clone -b' work for repositories which lack a HEAD reference ok op@


upate number elements stored in the delta cache when removing an element


add missing free() of delta buffers in several error paths


reduce delta cache size to avoid running out of memory on large pack files As reported by Jerome Kasper, got-index-pack would run out of memory while cloning projects like LLVM or the Linux kernel. The delta cache was pushed to its maximum size limit of ~2GB, which is much higher than the default user data limit on OpenBSD. Set the delta cache size limits to values which should result in the cache limiting itself to 128MB or less.