Commits
- Commit:
bb958056527fca453ea20b8f92f2cb03dd41a45b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid needless use of STAILQ_FOREACH_SAFE, we are not removing elements here
- Commit:
c1f3b0bfad7a8052e11c77552c4b095a1515020c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid the needless check for set membership in got-read-pack as well
The list of ids traversed here won't contain IDs already present in the set.
- Commit:
d60b4329437936f4c90fe1c112ef27be6b86ddf7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid a needless check for set membership in got_pack_repaint_parent_commits()
The list of ids traversed here won't contain IDs already present in the set.
- Commit:
3271b564404407796a381db56201ee59a950b6bc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reduce indentation in got_pack_repaint_parent_commits(); no functional change
- Commit:
67ffbc7745017d516ae151546e3add5c8691b48b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reduce indentation in repaint_parent_commits(); no functional change
- Commit:
7222c2df59f59fd201ffc9fe0be4e4b5edaff9d5
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
in repaint_parent_commits(), handle some errors properly
- Commit:
6605806560809260b88f55d90db98463d6771fa2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
need to hop to the done: label upon error in a nested loop
- Commit:
317dd7445e47bf1d9f9e99fbc570ed31d8ffe0a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove unused parameter 'nqueued' from pin_pack_for_commit_painting()
- Commit:
20b176d5c92c33da5ed03237b023fe8da90f66b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix number of queued ids passed from findtwixt() to got_pack_paint_commits()
- Commit:
33dc8d040ba1b3229b5496aaf43d4f6f460b79f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remote unused parameter 'nids' from got_pack_find_pack_for_commit_painting()
- Commit:
defb6deb66187bde874fc8c8985fabe46ceec2d2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
handle missing parent commits while coloring commits in got-read-pack
When a parent is not present in the pack file, handle this situation
gracefully rather than erroring out. Fixes a regression introduced
with recent got-read-pack coloring changes where commands such as
'got send' could fail with 'got-read-pack: object not found'.
- Commit:
c3e15b4b25193f9fad9f3114b1635ac5b2a45f9b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix a double-free introduced with changes to got-read-pack coloring
- Commit:
532c57c6a9069368bff908ee684e60d98ed3794c
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
whitespace and unwrap a line; no functional changes
- Commit:
d22b3dbc4e92ed8f515c9fd4cd2e22bbb40cb441
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rework got-read-pack's commit coloring loop
Port the parent commit coloring fix to got-read-pack, and ensure that
it starts off with the same state as the main process.
got-read-pack did not have access to the main process's ids array, and
was thus working with a different initial state. With these changes the
same commit traversal happens regardless of whether coloring is "offloaded"
to got-read-pack or not (verified manually by placing debug printfs).
ok jamsek
- Commit:
88b16410211fb0741a604736b34531fe3d56b8fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix pack exclusion via an ancestor commit
When a commit is first discovered as a commit which should be included
in the pack, but is later found to be a parent of a commit which should
be excluded from the pack, gotadmin pack correctly excluded the commit
itself but failed to exclude this commit's parents.
This bug is the reason why our test suite did not notice that gotd
was not protecting references when clients did not send a pack file.
In our test case, these parents are in the 'keep' set already and
were never added to the 'skip' set. A useless pack was built which
included those parents and nothing else.
Add a test which triggers the bug via gotadmin pack.
ok jamsek
- Commit:
81a1b9add11a52cde9675b1a2c85cae35e644418
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style(9) only; no functional changes
Reflow lines exceeding 80 columns; replace Allman with K&R braces;
and line continuation whitespace.
ok stsp@
- Commit:
0ef3ddaa20b027c211debfaffe4c5b9e454f23b3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix gotd failing to protect references when the client sends an empty pack
Found by martijn@
ok jamsek
- Commit:
532314d10e3c028a2b6d79e0a23714baef90cfba
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
expand test coverage of possible protect statement syntax in gotd.conf
- Commit:
8603059233b53566b8b79eb02f49d5501c7987b6
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
fad17fea5c64ac142e0ce48fd9db3462becac38b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.108
- Commit:
27d18ca830370ecfb78ef37663e0cc0d49b8ea8d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix a typo in CHANGES
- Commit:
87175bacef8995e40139154c8a1bd739ff6cb3e7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
7256f9d3028bbaaa913d6c2b6033700363e1bfbc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.108
- Commit:
bd73cd25aef6e58f6c2ff46ec9df22367e772976
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync dist file list
- Commit:
b1290c0c60618341880dbd6fc0b36a782469d61a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
change references to git-repack to gotadmin cleanup and explain more details