Commits
- Commit:
822aa840f7ea5462378efd3cc4d908c8323ea595
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add another pre-commit check idea to the gotd TODO list
- Commit:
47f028303ca0cb504743f84d2658e815f23ae53b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid traversing enumerated commits more than once in got-read-pack
Keep track of parent commits that will be processed as part
of looping over the commit queue provided by the main process,
and do not add these commits to the queue again.
Fixes pointless traversal of commits on the queue which will
simply be skipped. The end result is the same either way.
ok tracey
- Commit:
4088ab23bf2d330dc66483a747e0efb6c185eed8
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix missing commits in pack files created with packed object enumeration
got-read-pack forgot to send a tree-enumeration-done message to the
main process if the tree of a given commit had already been traversed.
The main process would then not add the corresponding commit to the
pack file, even though it should be added.
Found while using 'got send' towards gotd in order to populate an
empty repository on the server with non-trivial history, where some
commits always ended up missing due to this bug.
ok tracey
- Commit:
d4becbee8b30bfddd42b47a5d8cc47e3cfbc7077
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
cmd_tag: avoid unnecessary strdup of signer_id
ok jrick
- Commit:
717bfe1fc5d8b17816b1976027e99de75e670213
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
0c3124f53a5c7f280d51f7e0c02fafbdca778d83
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.82
- Commit:
3c075bf72751649efcf67cd74fdc8f6f17b25c1a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.8: fix Xr typo http.conf -> httpd.conf
- Commit:
370cf400336871636b72a1e09da3df3d31c79b8c
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got merge: call the right usage_*() function
Diff from Mikhail, thanks!
- Commit:
33da44fec326d6e39487bb31e947ad1256bd4b5c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
b4dee235187dcd69ce427e645021501012c61e00
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.82
- Commit:
8b56c8f497bb215c0e3504455ac22a3f25646a5b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make read errors in gotsh serve_write() fatal, as was done for serve_read()
- Commit:
1f1613cf295163e120025e06b138cda25d5e52f1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make gotd store own PID after daemon(3), and avoid calling daemon(3) needlessly
ok op, jamsek
- Commit:
70f07862e9430765dc7788416a3718ddf6e14520
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got: don't leak pathlist in commit and revert commands
ok stsp@
- Commit:
6ec3d39ca03fd5b2f4bf0d896a3b9171644390cd
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
don't print empty line when exiting tog
Reported and tested by dv: rather than print a new line to avoid clobbering
the shell prompt when exiting tog with the alternate screen buffer disabled^,
adopt naddy's vi(1) solution by looping through visible views to delete the
topmost line, which inserts an empty line at the bottom so we don't need to
print an empty line to ensure a clean prompt.
^: xterm -xrm 'XTerm*titeInhibit: 1' or run tog in the console
ok naddy@
- Commit:
f2d06bef0f9de303eb6de9523de85da21645850f
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: display action report on user toggleable event
If the diff algorithm, ignore whitespace-only changes, force ASCII text diff,
show committer/author, or reference sort order keymaps are toggled, report
action to the bottom left of screen. Based on initial patch by Mikhail.
ok + tweaks op@
- Commit:
b185e033101e0834eb18f8b75f5c7a243f7c2208
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: fix typo that makes condition always false
In view_loop(), we initialise at a refresh rate of one tenth per second before
dropping to one second updates; the reduction was never hit due to the typo.
Reviewed as part of the following diff adding action reports to user events.
ok op@
- Commit:
6e58d3c9404cfe3f05729f28b8478e6b8c2155d2
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotsh: move apply_unveil right after the first pledge
and while here drop the second pledge() call since unveil is already
locked by apply_unveil.
ok stsp
- Commit:
c8fcdde846ed3f6e2694cb0a3f7e6508b32098bf
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotsh: avoid a temporary buffer for the socket path
ok stsp
- Commit:
a72fb3943aac447913520efc133b9b010beb8001
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a test for ssh connections without a repo path argument
would have caught the fixed failure in disposing early-closed
connections in gotd.
ok jamsek, stsp
- Commit:
214d733a8e368034e6afa52b6c9ac25e071fd0c7
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotsh: validate with parse_command before connecting
Export parse_command (now got_serve_parse_command) from lib/serve.c and
use it to validate the command line in gotsh instead of just checking
that the -c argument starts with 'git-receive-pack' or 'git-upload-pack'.
Invalid usage now always fails before opening the socket, while before
it wasn't always the case. This also means that invalid usage doesn't
count towards the limits.
ok jamsek, stsp
- Commit:
f5f71a04830c68cddf72cca7f77c8dec97451abb
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd: disconnect on client EOF too
Otherwise gotd keeps the (client-closed) sockets around and may prevent
new connections from being established since they still count for the
limits.
ok jamsek, stsp
- Commit:
8efb3dc0bc74c64b086dbee78912ab594bae37bd
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fmt; fold long line
- Commit:
42814e017658a8b924881e7675afac062eae984b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: avoid full history traversal in briefs/commits
This purposefully breaks the 'previous' button in the commits and briefs
page. It's hard to find the parent of a commit since they can only be
iterated forward. The way the previous button was generated was to walk
the history from the HEAD down to the specified commit. This is costly
but more importantly leads to issue when dealing with paths that were
deleted from the repository.
Discussed with stsp and tracey, ok jamsek.
- Commit:
b4d10c2be91fc52b9f65798b6a4f55afbdd9f3eb
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: don't got_ref_list per-commit in got_get_repo_commits
It's wasteful since `refs' is already populated before the loop, and
released after. It also leaks the content of `refs' the first time the
loop is entered.
ok jamsek
- Commit:
53bf32b82a90b42a6feff46808c401af5d59f2c6
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: turn gotweb_get_time_str into gotweb_render_age
ok jamsek