Commit Briefs

da9a9ea87f Thomas Adam

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


729a7e249e Thomas Adam

implement per-repository read/write authorization rules in gotd

ok op@


c2ff0c53ce Thomas Adam

gotd: Don't include stdlib.h twice


634fd2c706 Thomas Adam

put manual page sections in the proper order


2bb0ff1b00 Thomas Adam

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


e195fd1653 Thomas Adam

gotsh.1: Add missing .Ed


c691a00eec Thomas Adam

fix gotctl usage string


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


2dd71cdd72 Thomas Adam

gotwebd: fix memleak in error path

ok stsp@


a3f334437c Thomas Adam

update gotd TODO items


90d8536c17 Thomas Adam

rm useless continue ok stsp


450707b946 Thomas Adam

portable: set next version


ba229487d6 Thomas Adam

portable: release 0.79 (tags/0.79)


fe82ea67f9 Thomas Adam

bump version number


92dfd869aa Thomas Adam

CHANGES for 0.79


24d640c0fc Thomas Adam

sync dist file list


86ebaa2ce0 Thomas Adam

gotd regress style tweaks from op@


a07c01e040 Thomas Adam

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

ok op@


2a0fb198ea Thomas Adam

fix capabilities announced by gotsh when no reference exist in repository

ok op@


9b25109249 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@


c22ed3f5d5 Thomas Adam

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

ok op@




345f650943 Thomas Adam

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.