Commits
- Commit:
0a87cb1863f9131026e9ca1cae7f22b537ecd79c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.109
- Commit:
57f6f8ec4b1d8698d32f59ab274c97d1bf9321d7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid use of an undefined variable in test_tag_created and test_tag_changed
- Commit:
0907144484e18e77a7d91662083201065b020bac
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
a2aed3b255f4f95efe010264516a6f64bedbfef0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.109
- Commit:
980063060d75612255f6fe397354a82ca6fbdf1a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: preserve 'folder=' parameter when following More links
When navigating commits made to a file in a subdirectory the More
link wouldn't work as it looked for the file path in the repository
root directory rather than the subdirectory.
- Commit:
744e8ee85035203d79f9c02b4fc6f1f395508acc
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix diffstat path order bug in field width computation
The order in which get_diffstat() receives paths may not be the same as
the lexicographic order of the changed paths path list, so do not use
RB_MAX() to get the path that will be used in the current max path len
check. Use the path entry returned by the current got_pathlist_insert()
call instead. In such cases that get_diffstat() does not receive paths
in lexicographic order, this can produce a bogus diffstat max_path_len
if the last lexicographically sorted path entry doesn't have the longest
pathname of all changed paths in the diff, which manifests as misaligned
diffstat path separators as reported by stsp on IRC.
ok stsp@
- Commit:
5b9c302980f3cf3d8df39dad1c4fb33ec357b731
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress/cmdline: diffstat test for long, nested paths
Although ostensibly a test to ensure long paths are properly aligned,
the bug prompting this was due to computing the max path length of
an already checked path due to an incorrect RB_MAX() call (fix in the
next commit): get_diffstat() may not receive paths in lexicographic
order, in which case the bad RB_MAX() call returns a path that has
already been length checked, which is not the most recently added path.
So we would sometimes end up with a max_path_len that was not actually
the longest path, which manifested in misaligned path separators in the
diffstat and was reported by stsp on IRC.
ok stsp@
- Commit:
984dc60f4f97b89e1e9fe13698f2e234bffeef31
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix a bogus "received unexpected privsep message" error from gotsh
Ensure that gotsh receives its end of the pack file data pipe before
repo_read starts sending pack file creation progress messages.
Messages of type GOTD_IMSG_PACKFILE_PROGRESS would end up being
received in gotsh's recv_done() function, where such messages are
not expected.
- 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