Commits
- Commit:
ea1b5cf5005faca9f93f85077f7758697a39c622
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: inline got_output_file_blob into gotweb_process_request
ok jamsek
- Commit:
1cd5d437cd303d5c73dd23294496c760a641f7ca
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: templateify gotweb_render_blame
ok and tweak from jamsek
- Commit:
b09f5680b0faed8e85a339b02c8a146926f9a61d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
zap empty line
- Commit:
18e466eb6a2dc223f99d645f35ebf2f2f44a9f77
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: templateify gotweb_render_summary
ok jamsek
- Commit:
b3ba36c380dd6686b46f27d33ed4e8ee67d7426d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: bubble up got_get_repo_tags
This bubbles up the call to got_get_repo_tags from gotweb_render_tags to
its caller, gotweb_process_request and gotweb_render_summary. It helps
simplifying gotweb_render_summary and making it easier to templateify,
but also helps in untangling a bit the code.
At this point gotweb_render_tags becomes just a wrapper to
gotweb_render_tags_tmpl so switch completely to it.
ok jamsek
- Commit:
00abe30b6011e389018622a47995f9390b166182
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: templateify gotweb_render_branches
no functional change intended. Bubble up the allocation of the reflist
from gotweb_render_branches to gotweb_render_summary (its only caller)
and rewrite it as a template.
ok tracey@
- Commit:
92a569072371e5e179a2b20bf0b80990f42f4038
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got: style(9) and cleanup failure leaks lib/diff.c
Spotted while implementing diffstat plus one introduced with diffstat code.
Don't leak 'change' on got_pathlist_append() error. And don't leak modestr{1,2}
and l{1,2} char pointers in diff_blobs() and got_diff_tree(), respecitvely.
Regarding modestr leaks, rather than free at all error return points, use op's
suggestion to lift modestr vars to function scope.
ok op@
- Commit:
e643a76a2e696177d9ba6c2dcf6c13bfaa717570
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got: set error on asprintf() failure
ok op@
- Commit:
fcbb06bf6925b542428b937afc9f37446058e748
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
replace malloc+memcpy with strndup. no functional change intended
ok stsp@
- Commit:
7fc9410615d293f182da728eb3576f2e228cbfcb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got.1: Add example which lists recently modified branches. I use this a lot.
- Commit:
27b11d77adb941c1219dd82ceb47e8243ea37caf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use just one pointer variable to keep track of a client's repo process
ok op@
- Commit:
7b1db75e88420c57858703ddfec2851107c6577d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
update client state tracking in the gotd parent process
The session process takes over the old state definitions under
a new name ("session state"). The parent only needs to keep
track of whether a client has been granted access, so it only
uses two states: NEW, and ACCCESS_GRANTED which is set as soon
as the auth process has granted repository access and before
the session and repo_read/repo_write children are started.
Because 'gotctl info' can no longer observe the session state
remove support code for printing it.
ok op@
- Commit:
8652e5612d19bb8c006bbb4efcbb3554c67888b1
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd: delete trailing blanks spotted while re-reading
- Commit:
64d3958760b50d1c4319d8f68e55db60facf68cc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: show committer instead of author in BRIEFS
- Commit:
54ffadaf00bcf7065810251e5bc3e2200e6addd3
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: use from/via in gotweb_render_commits too
like the previous, show also the committer if different from the author.
- Commit:
f7ee760463c69e0dd834e1c13f93229fe08822b3
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: make commit page more like `got log' / tog
- drop the "diff commit1 commit2" header; it's already showed in the
body of the diff.
- hide the tree id (not that useful to show.)
- show the committer if different from the author.
- use From/Via for Committer/Author.
discussed with jamsek, stsp, tracey
ok jamsek tracey
- Commit:
c115f13dfefb091ce3bfb4f72a9fe2082ca1c4f7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove support for showing client capabilities in 'gotctl info'
The gotd parent process has lost access to client capabilities.
Take the easy way out and remove related code. If needed, client
capabilities can still be found in the debug log with 'gotd -v'.
ok op, jamsek
- Commit:
0e762e67cef9321f74d4fcec9f27811c9a7fbd9d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: fix {first,last}_displayed_line dead store
Both are already assigned just above in open_diff_view()
ok op@
- Commit:
48a59395643b13d6ebd067b1e4fcb8b5b373db1f
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
typo: pass rejectfile--not outfile--to got_ferror()
ok stsp@
- Commit:
c0ce8a2bcad97c245acf33698ddcc903a46fce22
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
catch a few missed got_pathlist_append() error checks
ok stsp@
- Commit:
1a0805676b811f75437d3194775020a0341ace96
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
typo: zap double semi-colon
- Commit:
a6f2507874172f4882c921af072a2d97eaa57029
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
do not forget to initialize delta_cache_fd in the session process
- Commit:
3c726c84512abc4fe4b64d1bd40d2077a53f0a5a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove now unused fields from struct gotd_client
- Commit:
dccd05b41565bcdbfb7863bdb923ce83139e6a1f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: templateify gotweb_render_diff
ok tracey@; rebased after recent changes.
- Commit:
42de9bd19210157b96f7ec4a7727af30e8d54b73
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got: zap dead variable in add_branch()
ok stsp@ op@