Commits
- Commit:
2bf2e6449433de88d44a3d41396b9364d618ab94
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
in gotd regress, use USER instead of USERNAME and check for sudo/doas users
Problem where USERNAME is not usually set on OpenBSD reported by Mikhail
ok jamsek
- Commit:
f1cbd0efdc4e8ab0a64b07c66696940e20d5981e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix spurious gotd regress failures caused by fixing gotsh echo_error()
- Commit:
911f5cd53ebab634350347c2294f801566a7149a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove bogus abort() call from gotsh echo_error()
- Commit:
69e99a59dba745690401dcbc29c9931c98c30036
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make it easier to run gotd regress via doas(1); ok kn, tracey
- Commit:
1eec6e4e1a57b96e578a3d92788fd803330a7cdf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix gotd startup without any -v options
- Commit:
43a44bcef13e7014c764133b35560035d246baaf
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: simplify bit of gotweb_process_request
ok tracey
- Commit:
c44c7d6e16104afbe967e70415d98e2e58ec1b23
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid copying reused deltas to delta cache file; copy from pack file instead
ok op@
- Commit:
eac60ea119ebb338c6f38e73d3918b7e893d56b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make gotd_imsg_flush() retry if imsg_flush() returns EAGAIN
ok op@
- Commit:
fae44376ce5481472e61e403f0b171e7ca6b48f8
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove done todo item; gotd now has per-repo read/write authorization rules
- Commit:
3e9a56b5bba8e25189ba076c2c3d6fd0b56a6446
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: provide maximum value for the description and cloneurl
ok stsp@
- 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