Commits
- Commit:
10d386912767351fcac31cf1c3575a80e9cc99b5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
some tweaks for the *.conf.5 pages
- mention that the comments can start anywhere in the file
- explain when quoting is needed
This last point was brought to my attention by PyRX3 on IRC, thanks!
ok/typofix stsp@
- Commit:
9e111e2e198b3193e6ba6ee05233427812784f76
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add support for an "owner" file
Was requested in the IRC channel some time ago. The "owner" file is
also supported by stagit.
tweaks stsp and tracey, ok stsp
- Commit:
af206a198055a86eba0f4d54303cb456001ff133
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix previous; as Paul points out this section talks about the repository path
I didn't take the time to read the surrounding lines, sorry.
- Commit:
8fb73a156d9d9722e806d5d403972b40a8723f11
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix documentation of the default unix socket path used by gotwebd
spotted by Paul W. Rankin / rnkn via IRC
- Commit:
9bc2ee804d400559347917989bde415da69cbc20
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: allow to change the user
ok stsp@
- Commit:
c6458e88f5a9085ec9206a60b93a713138b9b2fa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: mention the listening socket path under FILES
ok stsp@
- Commit:
c16cda05743b8a017d150757f0b9da0bc5bffa83
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: remove unix_socket_name
Now that `listen' is a top-level, `unix_socket_name' is useless.
The default socket remains /var/www/run/gotweb.sock, to listen on
an alternate socket now `listen on socket "/some/other/sock" can
be used.
part of a larger diff that's ok stsp@
- Commit:
d68a7b14eb6995f6fc4c877ea24276f6b0174f85
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: make `listen' a top-level statement
gotwebd only uses the server name (i.e. the Host HTTP header) to
match the server blocks. Since gotwebd by design sits behind an
http server which is expected to filter virtual hosts, there's
little point in having `listen' per-server.
part of a larger diff that's ok stsp@
- Commit:
0f88252c795396951ad9bcf40c534b5852dc5e28
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust gotwebd.conf(5) after recent change
it's no longer required for the host:port tuple to be used only by one
server.
- Commit:
360794246d58ac20752da51536158584a51d1478
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: simplify handling of unix sockets
- don't assume an implicit "listen on socket" when another listen was
specified in a server block
- allow servers to share the sockets they're listening on
- fix unix_socket_name; now it's actually used
- remove `listen on socket off' and `unix_socket off' options that
are now no longer useful
- unify the internal handling of the sockets, i.e. don't consider
unix socket special.
ok tracey@
- Commit:
e114f3d1c194932aef73612868f0bedc33110110
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: retire max_repos setting
Unlike max_repos_display which limits the number of items per page,
max_repos is an hard-limit on the number of repos gotwebd would
process.
"kill it with fire" tracey@ about the idea
ok stsp
- Commit:
f497614d50d3ee9e26cb9ef89c5ec2fb8a13f676
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf.5: show defaults, improve EXAMPLES
Show the default value for each setting where it is documented and
so trim the EXAMPLES section down to bits that are actually
understandable.
While here, some minor tweaks like fixing the syntax in one example,
s/IP4/IPv4 and s/FCGI TCP/FastCGI.
ok and tweaks stsp@
- Commit:
8762929a1a8555f4108c4495bd52ca6dd7f7aefc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add knob for the number of tags and commits in the summary page
ok jamsek
- Commit:
af09dd3fec1090c7273f680a0ae5bf50d2183390
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: disable listening on interfaces
ok stsp@
- Commit:
c8af7691c98d6cd5864e6c2b62642c6c3e3ca086
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify gotwebd' server matching
Currently, if there is not a match on the server name, it attempts
to match the "subdomain" against the server names, and fall back
to the first server defined.
The server name is taken from the SERVER_NAME fastcgi' parameter,
the subdomain extracted from HTTP_HOST.
Keep only the SERVER_NAME matching, but still use the first server
defined if there's no match.
Fix the manpage documenting how matching works and drop the lie
about SNI as gotwebd doesn't do TLS but just looks at what the
upstream http server decided.
ok stsp@
- Commit:
031687baf3081932383b85041c49de781c43e432
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf: disallow yes/no for booleans
Supporting both "no" and "on" as valid syntax with an opposite
meaning could easily result in accidental misconfiguration.
Suggested by stsp, tracey agrees. Patch by Josiah Frentsos, thanks!
- Commit:
92e48697fbbd62dbe4f1330698c13c1a93065b5e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf: sync defaults
The first example is meant to show the default values for all the
options. Sync with reality.
- Commit:
3a1c1a1b20ae87fe3c8fe3d040d16e816ff0905c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf: use `listen on socket' syntax for UNIX sockets too
and drop unix_socket and unix_socket_path in server context.
ok stsp@
- Commit:
05791aa0b360dbff2a5212ef7babf4f96caf3940
- From:
- Paul W. Rankin <hello@paulwrankin.com>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: remove got_prefix in gotwebd.conf(5) example
- Commit:
d375d894c3c39971790fb6692b82b1e20fec6ce9
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
put manual page sections in the proper order
- Commit:
d5996b9efcd57875669fb0b06006ecf8cf566272
- From:
- Landry Breuil <landry@openbsd.org>
- Date:
add respect_exportok flag, defaulting to off
allows to hide repositories if they have the magic git-daemon-export-ok file
ok op@ tracey@ stsp@
- Commit:
47b307cd821b00964d3c5aea35c86689df2fe26d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf: add syntax for defining macros and document them
macros are already supported by parse.y but can only be defined with the
-D flag. This adds the ``usual'' syntax for macros: varname = string.
While here, fix the markup of the -D flag in the SYNOPSIS and sync the
global `grammar' yacc rule with other parse.y grammars in base:
- add the /* empty */ comment
- increment file->errors on errors
ok stsp@, "sure, go for it" tracey@
- Commit:
bde6e1ec88d921fed455815c2687b36f64943b23
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document caveat when configuring gotwebd to listen on a network interface
- Commit:
fa61bdcb23187d65bfa426507dac0cae53857d7c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf.5: fix double `the'
- Commit:
7e8fc9b50c3157452382726df908276e6db69ccd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix documentation of gotwebd.conf default path