Commits
- Commit:
cd9fd5e0d5b8c88463511594445afdee1f2d440b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a separate compile-time DEBUG flag for the delta cache
- Commit:
46387cfba6c02ab7ce52d5d7b065a650b13a1c0a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reduce max amount of tags stored in object cache to avoid high memory usage
- Commit:
53f9cbbf15eda94db076b865ad565e51da757669
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: sha1.h
- Commit:
4606e6d4d9f8bbd3f9e4ac08a08f06f8793467d7
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: rework gotweb_get_repo_{description,cloneurl}
- use openat(2) since we've already opened the containing dir
- use fstat(2) instead of multiple seeks
- don't special case len == 0
ok and improvements by stsp
- Commit:
6c7f10f7250c7b1cb44cc9490bec065ad0107d24
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: drop unused path parameter from got_get_repo_{owner,age}
ok jamsek
- Commit:
24240f6a1c027ee762d62f20165a6b8d5ed88980
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: simplify gotweb_render_index
- drops the double loop; paginate in one go
- avoid lstat + got_path_dir_is_empty for each entry: use dt_type if
provided by the underlying filesystem
- fixes a memleak: before `continue' we need to call
gotweb_free_repo_dir
ok stsp
- Commit:
57e88d7cd338f2bca9e5bcb9184ddda2ab435197
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: use prev_disp to decide when to we've reached max_repos
instead of hardcoding d_i - 2 and so expecting only "." and ".." as
skipped entries, use t->prev_disp that is the number of repositories
traversed until now (both skipped due to the pagination and the ones
actually rendered.)
ok jamsek
- Commit:
fd34900dfd59a7967f4840865abbb4c9dd133ec8
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
ignore regress/gotd/gotd.conf, it is generated by gotd's regression test suite
- Commit:
900531f1d318c6e4b5997bd702b9b465079fbcc5
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: ci: update MacOS image
Cirrus CI is retiring its Intel-based MacOS VMs in favour of using M1
VMs which means a newer image.
- Commit:
9928b132651fc6bff74254404777ec2dfcd4f9c8
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
getpwuid() returns NULL without setting errno if no user is found
pointed out by millert@
- Commit:
4384702894b5e91328b08b6e0487f3d92bd00c5c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
zap double grp.h include
spotted by Thomas
- Commit:
c3841c6767f0a2860420de1163b6cf41923cd29f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
forward-declare conf_new_access_rule
not all yacc implementations put the section in the same order: with
OpenBSD' yacc it's fine, with GNU' bison it results in a warning about
using an undeclared function conf_new_access_rule.
extracted from -portable via thomas, ok stsp@
- Commit:
6df5d941837b8287bf5964087c890b24e86bf673
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
show full URL during got clone/fetch/send
discussed with and ok jamsek, stsp
- Commit:
7a9950a80d85b9aa47ca5e135cd0eb94fbaa474c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: consistently use ed -s
didn't know about -s when writing those tests; saves some output
redirection.
ok jamsek
- Commit:
efdeb378ed78ffcf23edeaae3f1bbbc0562293ef
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add reference_parse to got-send-pack
- Commit:
bb3a6ce991b3210583bd710c3b959c544cc3e28f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename GOTD_SOCK_FILENO to GOTD_FILENO_MSG_PIPE for clarity (it's not a socket)
- Commit:
466429a10acdc69e2e92b490782f474e3971d5b0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
cope with deleted references when reloading the tog log view
ok op jamsek
- Commit:
924153d61966399fb9d766961f5ecceb2c97cb48
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync files from diff.git 1dce05e8f99e9ab3e9229bf59e061ad0201a08e8
- Commit:
6771d4253a7655812f9e1b5f25d98d86ec416951
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
always cast ctype' is*() arguments to unsigned char
ok stsp@
- Commit:
7c55ad47894887b0799d0f0bb8d93419f51ade61
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tedu Ted's copyright added to gotd.c by accident; doas-derived code is in auth.c
- Commit:
5667a3a5135f6c4afdbb2d5db39e786906f7e4b4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a gotd auth test case for an explicitly denied group
ok op@
- Commit:
b40156b396aae8abd087e32813a37ab1f8555b99
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a gotd auth test case for explicitly denied users
ok op@
- Commit:
ead7040796132aa6410e20b81613404232634d8c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a test case for requests from users not listed in gotd.conf
ok op@
- Commit:
ff260661299dea92ad32c7d92d4e206bac21fb1b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix group membership check in gotd auth
ok op@
- Commit:
da9a9ea87f65f3809ff8edf4fb6314c1a6dd95aa
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add missing RO and RW tokens; pointed out by op@