Commits
- Commit:
c5dfdea5d3d15ba10bb5358e6bd4c2d252a62650
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not let got-read-pack paint parent commits which are not in its pack file
If any parent commit of the current commit is missing, stop iterating
and return control to the main process. Fixes a case where offloading
to got-read-pack resulted in an effectively endless loop.
- Commit:
4a35cea75fd93db39197367750ad136b3ee5ee7a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
improve selection of pack files for pinning in the open pack file cache
If two given pack files contain the same amount of requested commits,
prefer the pack file which contains the larger amount of total objects
to increase our chances of full history traversal.
Also, require the first element of the list of requested commits to be
present in the pack file since the caller will very likely try to process
this commit immediately when we return.
This fixes cases where offloading of commit coloring to got-read-pack was
ineffective, causing us to take the slow path instead.
- Commit:
60c45cca65d373ac48ea19fead9e1fd4e469d023
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
hack for got_privsep_recv_painted_commits() to sort queue by color
- Commit:
f6a8483bc5151c95d3805edf616c6f23c5093093
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sort commits not processed by got-read-pack properly
- Commit:
bd780c5b50ee006f9ae89910ed0db05d9574d197
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
pass an exact copy of queued IDs to got-read-pack during commit coloring
- Commit:
ad51b523dfdb978c985d19acf21b5508690ab601
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add functions which transport object ID queues across the imsg layer
- Commit:
d2e93380ff05d256e957190a35d23bf0ce63c31a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
dedup copyrights
while here move millert@ to the authors too.
- Commit:
597afb03963f10e5e274a41ca919f0f51ae45db1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: avoid needless close
send_imsg() does a imsg_flush() too which will ensure the fd is sent
over to the other process and close it on this side. If it fails we
terminate anyway, so no need to close (doubly!) the fds.
- Commit:
ce6204164ae9cc9e4be847122484967b4c3c33c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure that drops and skips get processed before keeps during commit coloring
This makes repainting parent commits unnecessary and seems to avoid cases where
our coloring algorithm ran into worst case performance behaviour.
ok op@
- Commit:
26261316a5436dcd3fedb53080ff16d7024e9fa8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove code which repaints parent commits from commit coloring implementation
Two pack tests start failing. This will be fixed in the next commit.
ok op@
- Commit:
9ed658f6878df9bab4f1bf752f0a769fef62a8c2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: avoid the pipe; forward the socket directly
Instead of keeping a pipe between the sockets and the gotwebd
process, just forward the socket directly. This needs a little bit
of care because once we enter process_request() the socket (possibly)
no longer there, so on the socket side use the client_status as a
flag to signal the caller that we're done. I hope to improve this
in follow-ups.
The motivation behind this is to avoid a (possible, but quite easily
triggerable) race in the current code where the other side might
process GOTWEBD_IMSG_REQ_DONE before draining the pipe, truncating
the output page.
ok stsp@
- Commit:
98958d75e928ddd95151c462562d1b91b172f7e9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve binary blob detection
just like the change just done in diff.git, consider a blob binary
if it has any control character (except for the tabs)
joint work with jtt@, ok stsp@
- Commit:
c1b420179b3673008ca7ac2af3156849b9d2059f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync files from diff.git 543aed44ef221a67c386d967ec45907fb129194b
improve binary files detection
instead of 'just' looking for NUL, consider a file binary if it has
any control charcters (except our beloved tabs characters).
joint work with jtt@, ok stsp@
- Commit:
e5cbb211a342397e8ac59234046e2bbbe017c7c1
- From:
- Johannes Thyssen Tishman <jtt@openbsd.org>
- Date:
preserve bad symlinks across merges
ok stsp@ and op@
- Commit:
40e36ce5301442ff9172f57a80b91e1ca8bfd426
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix math in fcgi_send_response
We can't hit actually hit this because our buffers are way smaller
than FCGI_CONTENT_SIZE (65536) but if we were, we'd end up sending
wrong fastcgi packets.
found with / ok stsp@
- Commit:
3ced9adc82b7b84e9901e32013122f99ff703070
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
the gotsys auth/hmac index must be globally unique, not unique per repository
tested by Mischa Peters
- Commit:
8c7f82a788f08b201d435fc9ea4004bb3fcd430f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotsysd using wrong auth and hmac labels in the generated gotd.conf
Problem reported by Mischa Peters
- Commit:
ec7e15af96ef58f2abc62564fc58b38401903ab1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got-read-pack exit from repaint_parent_commits() upon SIGINT
- Commit:
e363f37338a22278024be1d227fba6208c0e1976
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure that error messages from gotsysd libexec helpers get logged
- Commit:
47401bdb9012816db071e58a63f3a73486eecd3e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotsysd regress: use a better default mirror; cdn is slow for snapshots
- Commit:
60a4d49e93b3f15911ce1f6d3a97d2354f6898d2
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
fix potential type mismatch between format specifier and argument
Cast argument of type uint64_t to unsigned long long to match the %llu
format specifier on platforms where this might not be the case.
ok thomas
- Commit:
64af9ac04decbf54ce6b650fd2f6a28f235b7332
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: replace "sed -i" with ed(1) for portable in-place editing
"sed -i" is fundamentally unportable. GNU and OpenBSD sed(1) treat
the extension for the backup file as an optional argument and use
"sed -i" for no backup file. FreeBSD sed(1) treats the extension
as an obligatory argument and uses "sed -i ''" for no backup file.
There is no single syntax that works for both.
- Commit:
d7677e54e3e81837bb9206cdd2d4a49c7d108246
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
19a06f5a748377744d95510219851c924ec85f3a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.116
- Commit:
3a34ebda2e48de7971e4150e2f20f7fd6d4e675a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist file list