Commits
- Commit:
414e37cb372bbd59f72febdb05c68456c2bff9eb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
switch gotd from chroot(2) to unveil(2)
In the future, gotd will fork+exec new processes for each client connection.
Using unveil instead of chroot avoids having to start such processes as root.
The -portable version could use chroot(2) where no equivalent to unveil(2)
exists. A future component which starts new processes will be isolated as
a separate process, which could run as root in the -portable version.
ok op@
- Commit:
2b3d32a184dad78705d52ecd06a87282ca9340ba
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a gotd "listen" process which watches the unix socket
ok op@
- Commit:
0a32753036662039036050bea09aaff3efdeaeff
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
functionality proposed in TODO as 'gotamin repack' already exists as 'pack -a'
- Commit:
d865e5fd7424e4b58151978bd767d82181785612
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add some TODO items for gotadmin
- 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