Commits
- Commit:
ab0b42add3dde1ffda7a71bc6da7c87aabf70311
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.97
- Commit:
c28071389a0928c868a982c6a89a7800455b8912
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
4669dd78b5686472a54bd61eecae52c09c14887c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.97
- Commit:
be9db6c2d00fb3a74f65c0ce4dc01359aa1986fc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add an xfail test for a case where rebase fails to forward a branch
Because 'got rebase' only does a first-parent traversal it will try to
rebase commits which appear in the history of a branch, even when the
branch to be rebased is already based on that history. This results in
spurious merge conflicts as existing changes get re-applied.
The desired behaviour would be that 'got rebase' forwards the branch,
as it does when the 'got merge -M' command used by this test case is
replaced by a simple 'got merge' which avoids creating a merge commit.
Problem reported by naddy in the "Landry's firefox repository" thread:
https://marc.gameoftrees.org/mail/1706721001.20565_0.html
- Commit:
fcd37601b2164589187ee62342b0ead13d3288af
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a test which checks what happens when rebasing onto a merge commit
- Commit:
5dbc8c994634691096a53111f62d3468cc692a3b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a test which checks what happens when a merge commit is rebased
- Commit:
202f996b2931bb3d374f22e5162bfe3acebdea35
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
adjust min_datalen in a few places
Fix the computation of min_datalen that was forgotten in
8f137979fc5e284a136cf8950e8b3895d7ea208b.
got_privsep_recv_imsg() already takes care of converting
GOT_IMSG_ERROR to errors, so just how we didn't need to call
recv_imsg_error() at all, we don't need to include it in the requested
min_datalen.
- Commit:
b15057701186a99af7523319371ec7e0db9dd195
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
swap the order of the checks to not hide an error
If a libexec process returns an GOT_IMSG_ERROR that happens to be
smaller than the requested min_datalen, got_privsep_recv_imsg()
returns GOT_IMSG_PRIVSEP_LEN hiding the original error.
ok stsp@
- Commit:
2633cf30b7cd97910764fc4c016df7959858171d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
attempt to speed up the deltification for big files
The current hash table perform poorly on big files due to a small
resize step that pushes the table to its limits continuously.
Instead, to have both a better performing hash table and keep the
memory consumption low, save the blocks in an array and use the
hash table as index. Then, use a more generous resizing scheme
that guarantees the good properties of the hash table.
To avoid having to rebuild the table when the array is resized,
save the indexes in the table, and to further reduce the memory
consumption use 32 bit indices. On amd64 this means that each slot
is 4 bytes instead of 8 for a pointer or 24 for a struct
got_deltify_block.
ok stsp@
- Commit:
54e38878133e773338308e227bc839a2515f14ba
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix invalid imsg_free() in got_privsep_recv_printed_commits()
Depending on the error got_privsep_recv_imsg() may leave imsg
un-initialized, so change it to always free the imsg on error if
needed, so callers don't have to.
got_privsep_recv_printed_commits() and got-read-patch were the only
places where we could end up calling imsg_free() on uninitialized
imsg, fix them.
ok stsp@
- Commit:
eb0f0005dd7c9fa9b95084632cc50d5d61ed81a0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
improve execv error message
spotted using -portable on a system without openssh installed.
Showing the program we've failed to exec can be handy.
ok stsp@
- Commit:
9743baabb67ab4a15dc84abaf366f43dc19840b0
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
9e81f59ef9b72e1fcc7dcd197da652d216dc4c7a
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.96
- Commit:
0617f4a52e52d3d55f13ca80981705acb84aab40
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
e25480b8d0f1a5f4e9b04988bd34901bb52f1aa1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.96
- Commit:
4ad67b987e6aa51b472d9569815181965b765ee3
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
never write accum_buf on error in got_pack_dump_delta_chain_to_file()
and also avoid to override `err' if fwrite fails.
ok millert, stsp
- Commit:
4f46fcf8880d657db0e339f7e3f0c72dc1dad27a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix use of uninitialized variable in update_blob
spotted by smatch. ok millert@
- Commit:
9f6f4b2b2a23de4b38b50c2e7e3c00ffb8e8f56e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug memory leak in got_pack_dump_delta_chain_to_file()
found by smatch. ok stsp@
- Commit:
9c57c4c6816e643da8209cd6d1b7479cd1672114
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fmt
- Commit:
2de89b6b796bcedcc9ffad40aad86ae0e3d1ebd8
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
pass the argument to calloc in the right order; no-op in practice
reported by smatch.
- Commit:
7a4d2c244110a34fed1abc76faa9824c417d83dc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix logging during gotwebd shutdown
During `rcctl stop gotwebd' the sockets process gets a SIGTERM and
dies, and this makes the parent process assume it exited abnormally.
Instead, catch SIGINT and SIGTERM and exit gracefully.
Issue reported by xs on IRC.
ok jamsek
- Commit:
53f578a6d94eeb340775f5e05c24fb9a5df33236
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: fix colour of target lines in dark mode
reported by xs on IRC, thanks!
- Commit:
75986fe9c4c033eb0f72c9d59e320f7208c445c2
- From:
- James Cook <falsifian@falsifian.org>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Test log -b <path> traversing a merge commit.
This tests for the bug fixed by c8255edc. ok stsp@
- Commit:
bae38d30ef50432e0083cb668dcb58e416fa70ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
handle merge commits that are unrelated to requested changed path history
Problem found and fix tested by James Cook.
- Commit:
2698e19876c3e5680cbec8b2267b360d2cf080ac
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: CI: update FreeBSD image
Bump the FreeBSD image used on Cirrus-CI to FreeBSD-13-2