Commits
- Commit:
6dd1428a45d4df8a4be983931f13fa7125610667
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.98
- Commit:
0d99dd8ddd28e986ad291dcfaf37207b1b306c9e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist file list
- Commit:
27aa2674c93e2cb1cbf231640e9d2ca4969ad008
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
extend test_patch_empty_file() test coverage
Check what happens when patches attempt to edit or delete empty files.
- Commit:
04a87797cb37c4787fdc83040ba75f0ddd60e46d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: fix applying on empty files
if we've reached EOF without finding a match is fine if and only
if the target file is empty, so add this exception.
reported by naddy, ok stsp
- Commit:
939d3016601d8c21e69a605f10838024335f3b1a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: use a UNIX timestamp for the date
Was suggested by Lucas some time ago. ok stsp@ with a tweak in the
manual.
- Commit:
21679dc5afe28d00d3188bb529f3cefffdb06b64
- From:
- Tobias Heider <me@tobhe.de>
- Date:
Use got_pkt_readlen() to parse pkt-lens.
- Commit:
3bafd8d444040e4f41be33562f63e5d2eb201447
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename a function to avoid gramatical ambiguity
- Commit:
533c404ec30ef30690b8c41481cbdbbeeb8e2a5c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure that test_unstage_directory calls test_done on success
- Commit:
f1f83f317abbce0e15ebf91490b1cb620e810213
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make test_stage_directory pass and actually hook it up to regress runs
- Commit:
bb068081f1967fa4f4f5c5e6db0d1065244f6539
- From:
- "Lorenz (xha)" <me@xha.li>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
require -R option for staging or unstaging directory contents
-R is needed on almost all other commands so this makes things consistent.
Patch by Lorenz (xha)
- Commit:
d7988696a5b1d45dfb72b7c44fd7647389b3432b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got-fetch-http pass "done\n" through rather than faking it
Without this we exit the loop early and got-fetch-pack sees unexpected
end-of-file on stdout trying to write its final "done\n" message.
ok op@
- Commit:
2d5ea673b339fc394958d5cff7ed0831e314597f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show path of got-fetch-http in execv error message
- Commit:
7e03b4680df5ee2238eb8918276b9ef7130dd115
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got-notify-email log warnings and errors to syslog
- Commit:
b77bad152d3d77e3c5da42de272d99190e87d7b7
- From:
- Tobias Heider <me@tobhe.de>
- Date:
Move pkt-len parsing to a separate got_pkt_readlen() function
so we can reuse it in other places like got-fetch-http later.
ok op@ stsp@
- Commit:
a9d9f6e4088e82bc9a8388cda880fb5303840e28
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: fix I/O with TLS
tls_write() may return TLS_WANT_READ. In that case, we're stuck
trying to read while we have the request still in the buffer. So,
we have to retry bufio_write() regardless of the POLLIN/POLLOUT
state.
We'd need this only in the TLS case, but in practice it doesn't
harm for the plaintext case too. In fact, we're either waiting to
flush the request or we're only reading the server reply.
ok stsp
- Commit:
02dab75a4ff7b71643c9c150a7254721785d8b0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sort includes in got-notify-http; suggested by op@
- Commit:
cb29e255a1aa815d0f7d47ebf0976b097d2b0515
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
send got-http-notify error output to syslog
ok op@
- Commit:
cb557a498be9d6e289166a677b1af701d8a2d36d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
set a default port for http notifications if not specified in gotd.conf
ok op@
- Commit:
55286da2a584fd52fba19447ba11921f6c3eff17
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make it harder to leak notification credentials over plaintext HTTP
ok op@
- Commit:
34d7c970d4bd3a5832ecded86f2c28e83dbba2ba
- From:
- Omar Polo <op@omarpolo.com>
- Date:
http-server: send $res in wrong method case
- Commit:
44740114875c96dd82e588aab0025e97c25d3997
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix previous; pledge("stdio") must wait until after the TLS handshake
- Commit:
29b6cbbaee05814fbac85312d69ee8ec76c92d82
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use pledge("stdio") late in got-fetch-http, currently as early as possible
- Commit:
c4caaee88e58b02fae4d446ceb99147ed9ed3b0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove dead code under DEBUG_HTTP; ok op@
- Commit:
e845266448678a874b53e7f9e0d16988815c2c92
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use unveil to restrict filesystem access of got-fetch-http
With HTTPS we only need to be able to read /etc/ssl/cert.pem.
With plaintext HTTP no filesystem access is needed at all.
- Commit:
625c83c97f21ca7f19e430bc35a05a666c8824bf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
can drop "rpath" pledge in got-fetch-http if plaintext HTTP is being used