Commits
- Commit:
b2b1792329f5adf1e755614e710d49388845293e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: adjust my address
- Commit:
156a11447a870d2128d6ddce97013fca0cfd4e6a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_commits
ok tracey@
- Commit:
b4c0bd7275f121f6250964ddfdf8db160ad486df
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_navs
ok tracey@
- Commit:
03f6a843c825ee4566446557cfa33bd1ebb1827b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: drop index_page_str and page_str
gotwebd uses sprintf to update index_page_str and page_str if they were
negative. While this specific usage is safe, let's drop it. Since the
index_page_str and page_str fields are never read from, remove them.
This saves two allocations per request too.
ok tracey@
- Commit:
6169d054065c0cf8901f97798d42785fc28819cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix broken navigation in commits page since 8d02314
ok tracey@
- Commit:
ed619ca07e51b9c984c8404ca2b1153efdb14d1e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: start using the template system
ok tracey@
- Commit:
2c02675e51b8f7413665e81e1e2f3bf77ee9acb7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
import template
ok tracey@
- Commit:
eec68231a79adb345b1a6a3194e5ddb353570356
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
d93ecf7dc6dd75bc506128cc5666c1b76761e0a0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a gotd "listen" process which watches the unix socket
ok op@
- Commit:
b546f5e4a2345f89a875526edc57cf729564decf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
functionality proposed in TODO as 'gotamin repack' already exists as 'pack -a'
- Commit:
44ff20fcdbb666cac99b55f4da39f8db2d08078d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add some TODO items for gotadmin
- Commit:
b1a9f90ef84695ba812232cf18f1d358fc27c96e
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
30eb1ad6b8cdffd307215e60396bdcd58e7ccf17
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix spurious gotd regress failures caused by fixing gotsh echo_error()
- Commit:
d10629e6628f13c08f5b6013d0f1b68630acc383
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove bogus abort() call from gotsh echo_error()
- Commit:
62192466ab5788fb06092a4aed86ed2682cdee81
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make it easier to run gotd regress via doas(1); ok kn, tracey
- Commit:
b1142068fd26fa24285c533f10e3afcb61719759
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotd startup without any -v options
- Commit:
6970304f7fbe7bb6534af3f344013b472a1a9698
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: simplify bit of gotweb_process_request
ok tracey
- Commit:
24b7de1c04072bf25db2df8acbf93a7ba7bbabfd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid copying reused deltas to delta cache file; copy from pack file instead
ok op@
- Commit:
522b54885b4f7cb277c5858109188e658c10efdb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd_imsg_flush() retry if imsg_flush() returns EAGAIN
ok op@
- Commit:
fe78d7cec3f01df183b57495dd079225ed14e989
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove done todo item; gotd now has per-repo read/write authorization rules
- Commit:
270c41a2b8c0d37d0ea9710a656369efa551dfcd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: provide maximum value for the description and cloneurl
ok stsp@
- Commit:
b5e1b8cdfc1252ab2430c1e9fabc09d393dd1373
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a separate compile-time DEBUG flag for the delta cache
- Commit:
f0f17247c9c6cf1f6f2adcf1f1e279b03403b6ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce max amount of tags stored in object cache to avoid high memory usage
- Commit:
3b81530f7d0ffe60024f054f6d87ff8dd558e3fe
- From:
- Omar Polo <op@omarpolo.com>
- 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:
c127fc49cfbf532409724a0e4644f4b2539e430f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: drop unused path parameter from got_get_repo_{owner,age}
ok jamsek