Commits
- Commit:
502374853d19661deb162553e55b6952a9f8d8de
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: refactor gotweb_render_content_type/_file
Rework them so that they allow to set the Status header (the HTTP status
code; only way since we're behind FastCGI) and optionally a Location.
Since they're now unused outside of gotweb.c, mark them as static. They
also used to always return NULL so the error is pointless; return the -1
on failure though.
While here, rename to gotweb_reply and gotweb_reply_file.
ok jamsek
- Commit:
113392cfbd4d2583badd52487063cd5f84f55518
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make read errors in gotsh serve_read() fatal and adjust tests accordingly
ok jamsek
- Commit:
23ac500059fe541c262531df0c2877bd1f547887
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
return GOT_ERR_EOF from pkt.c if a read attempt indicates EOF
ok jamsek
- Commit:
94a71055f46811ae239b1b26205482f35fbf85e9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
only "forward" implicit flush packets in serve_read() if they are expected
ok jamsek
- Commit:
98c7fd82fde99a5be248c7268cd52d18bb9b9c4e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make gotd session process accept just one flush packet at a time
ok jamsek
- Commit:
bd15e8743449326cd8804a431fae3c2183344ea1
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sort ENVIRONMENT entries in got.1 and tog.1
ok jamsek
- Commit:
8171e9d1b78aeeb30dbeb9e44404439ebe306471
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
9e39ef14fdffdd15177e9de2c7a0fb3897813452
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.81
- Commit:
9981e8e3868ca975b4732becdc01897770c0dfbe
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: template: use as a subproject
Move template into its own subproject as it's only needed at
compile-time and shouldn't be installed.
This needs compiling with the host compiler which is configurable via
HOSTCC and HOSTCLFAG environment variables.
This diff largely from op@ but additional tweaking from myself.
- Commit:
873716fa3610403d77fc93fdadb599b66e240f2e
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.8: sort -d after -D
patch by Josiah Frentsos, thanks!
- Commit:
30f1b1d205189d1150cad9a824dd6929fa3b83dc
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd.8, gotwebd.8: new sentence, new line
diff from Josiah Frentsos, thanks!
- Commit:
693bff59e72660e841c2750fd421ebff5f3f71b2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add missing bounds-check in gitproto ref-line tokenizer
- Commit:
a8771ebd4482e832a941f8041ee67663418111f9
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix typo: overlapping comparison always evaluates false
ok stsp@
- Commit:
eed705606091622e7cf0c62cc3b853aa184750f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
09b9426f6dc689af9ac3f88a3bf7efdfc5c04719
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
changes for 0.81
- Commit:
cbe4991f6522bdf0e348a5e5b9db375c0a21d70a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
have 'make clean' traverse into regress/gotd in order to remove gotd.conf
- Commit:
f86347934ff76ae677658de3bd1b5d0e9d02a9a6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix ambiguous phrasing of -d option documentation
- Commit:
c855c9f037399e518322eeca99fb2944103555a1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
document the gotd -n option
- Commit:
d98779cd32c7a981ee70a8e1cbcb7c544a6110b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd: fix "bad packfile with zero objects" error while creating branches
Clients will send an empty pack file if they are only creating new
references and have no objects to upload. Make gotd handle this and
add a regression test which triggers the bug. Problem found by op@.
The new regression test caught an unrelated issue where the client
connection was left lingering after references had been updated,
which made 'got send' followed by 'got clone -l' fail with the
connection limit configured for the test suite (just one connection
is allowed at a time). Fix this as well.
ok op@
- Commit:
895484c861438d44537d6b4ae700e7f16274565c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix spurious "gotsh: unexpected flush packet" error when client is up-to-date
ok op@
- Commit:
71d196c9e2bffa978977785cd8859579e78bac24
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: replace typeset with printf for shell portability
The typeset shell builtin is a ksh(1) feature. It is not available
in a pure POSIX sh(1). Use printf(1) to portably perform the same
string truncation.
tweak and ok op jamsek
- Commit:
6110f5ef4a11d9157e87d91bb4adf07fda261265
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix an issue where gotd fails to accept multiple have-lines from clients
ok op, jamsek
- Commit:
0445d8ec48ce9950f7d29ea92ac656dd30d1b577
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix an issue where multiple ref-updates are rejected by gotd
ok op@
- Commit:
7348ded8f8bf5a82c1b0361e0e7591a1af96ff89
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd: move socket path check to parse.y and error from the main process
It's handy to have a "bad unix socket path" error being reported
directly from the main process since can get caught by `gotd -n'.
ok jamsek stsp
- Commit:
4d24b1fdb79bbc3df9ef996250267ba70f189a4d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd: move nrepos check to parse_config
ok jamsek stsp