Commits
- 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:
eb916dafa2967bc60a8996ea7cc0a23a661ed88e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: plug leak in get_addrs() error path
h is free'd by add_addr in case of error, but we still leak the
getaddrinfo result. while here make the check strictier: addr_addr()
fails with -1.
- Commit:
a3844d7a3c9a386d7bc73fb0152fa714533a7e91
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-fetch-http: be pedantic with the error checking
these functions are expected to return -1 on failure, be strict
about it.
- Commit:
a46b549764762c6d1ef465471d38ed2d5e152543
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix function name in error message (again)
- Commit:
454711903eeb8fe10dcb57e44a50b268eb3e6463
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bufio: crank BIO_CHUNK up to 64k
forgot it set to a low value when testing the resizing, the left
way too low. prodded by stsp.
ok stsp
- Commit:
45c5bd12280f38df8ce2cf82d06beeb15ed80aca
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix function name in error message
- Commit:
eb7e80a7111220df61c48a0bb0e87f342baf442d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix got-fetch-http build with PROFILE=1
- Commit:
0bd5fb752a05f0d096e2d9d0d11e1b02b4804849
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong errno check in bufio_close_sync()
ok thomas_adam, op@
- Commit:
53c54f2220fc0893aa81f79860a50abc0940600c
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: replace userinfo(8) with the more common getent(1)
- Commit:
5a4304006707470fa37d4bf797a46adc0a0216ea
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: make server tests more robust against race hazard
Add a delay after starting the server background process to keep
server and client from racing against each other, which would lead
to failures when the client ran before the server.
ok op
- Commit:
50ccbcd9a6e4786d4eb726ac8bc3e8565fd7aa48
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
log hostname and port when gotd notification helpers fail to connect
ok op@
- Commit:
a2f6db49f7f748763b9244ca6166389f07d1885d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd regress also needs p5-httpd-daemon
- Commit:
d208476149136973828c1e0fa110d8e51cf6d0c3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
forgot to hook up the new tests added with fix for empty notifications
- Commit:
15ff48f3a4567fbd4e399927ef2cd565ff19421f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix Date header generated by got-notify-email
asctime_r() is not a source of valid date strings for email.
Borrow code from OpenSMTPD instead for this purpose.
Problem reported by naddy, who also found the smtpd code to use.
- Commit:
1ddd9d55d5c5f0e3df1e0f102ebbd8c9b420a0fb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
display abbreviated commit/tag IDs in email notification subject lines
This should make it somewhat easier to keep track of discussion threads
when someone replies to a commit notification to discuss the changes.
- Commit:
eec627068f6ed6729b1a075b6052d0e076367838
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix empty notification messages with multiple gotd notification targets
When multiple notification targets are configured only the first target
received notification message content. The subsequent targets would read
EOF when trying to read the content. Fix this issue and add regression
test coverage for it, exercising existing test code with a gotd.conf file
which contains two notification targets.
- Commit:
9ea071aa8277616ed7e94d4f369ea6988a8aacfd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
mark gotd http-notifications todo item as done
- Commit:
9c574a767ec39853cd7c624009e002b8e40030a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't leak the existence of gotd repositories to unrelated user accounts
In particular, this prevents anonymous user accounts from discovering
the existence of other private repositories served by gotd by correctly
guessing the name of a private repository. They still wouldn't have read
or write access but in some cases even knowledge about the existence of
a particular repository could be cause for concern.
ok op@
- Commit:
d59a1c3b458751abda83fa864629003ee9b6ddad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in gotd.8 add an example which illustrates how to create repositories for gotd
- Commit:
27b8b8653569e89544f7d13837918fbe34dcb5f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd regress: fix tests which started failing as of version number 0.100
- Commit:
c69a515c684580b345d95d6a5a738c106c784d50
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd regress: drop redundant test_ prefix from test directory names
- Commit:
1d3ea37243e62e366d681d490699543adfbcf018
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix expected BINDIR when running gotd regress in release tarball sources
- Commit:
dab6d6fcbcba4b0f05c2297301e384ea58e26a33
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in got.1 EXAMPLES, mention how files can be moved or renamed
based on an initial patch by Matthias Schmidt
- Commit:
75bbb53178bc07949826c81f52ea9f5f042b43e4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show hint about update -b if the user attempts to rebase a branch onto itself
Specifically, when 'gut send' suggests 'fetch and rebase required', new users
might try to use 'got fetch' directly followed by 'got rebase' without first
updating the work tree to newly fetched commits. Got would then say "main is
already based on main" without any hint for a way out. Hopefully, pointing
users at the update -b command will make them search the manual for details.
- Commit:
ef4f8ddaffcf814c74e3e3d806e430aeea45d7e8
- From:
- Ted Unangst <tedu@tedunangst.com>
- Date:
switch to using readdir. readdir_r is deprecated.