Commits
- Commit:
af800df5a11beb2e4b8f519f7b5171a41095afb6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: use from/via in gotweb_render_commits too
like the previous, show also the committer if different from the author.
- Commit:
49632cd3b1c81b19229e3a4a523e411d29cd8827
- From:
- Omar Polo <op@omarpolo.com>
- 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:
ee0b2e502f3be1d01835e96bdcd38afed67429f7
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
2e6043e87514d1a49e1c8a037d7c4e20869b07ad
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: fix {first,last}_displayed_line dead store
Both are already assigned just above in open_diff_view()
ok op@
- Commit:
910d235d362fb7951e997ce08e3dfb4b8cb24c5d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
typo: pass rejectfile--not outfile--to got_ferror()
ok stsp@
- Commit:
38ef2333dd2b85b1e6aed14ef36bca80cb8eb551
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
catch a few missed got_pathlist_append() error checks
ok stsp@
- Commit:
d0407b8677a44f0789c2f4cd238db49b3a28d6b1
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
typo: zap double semi-colon
- Commit:
2fc51af0411e9e5ab6f12a7cdb303fabd86571d7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not forget to initialize delta_cache_fd in the session process
- Commit:
4da0355e93f589e30bffceac65bfb1a6f2395f36
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove now unused fields from struct gotd_client
- Commit:
587550a5041e8aba39cd1338a22e85b6405d879f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_diff
ok tracey@; rebased after recent changes.
- Commit:
fd20239feff11b69919be913807aa1f371b06fb9
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: zap dead variable in add_branch()
ok stsp@ op@
- Commit:
ae7c1b785440d9b4e2289d935ca85725f45680f1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a gotd session process, split off from the parent process
The new session process is able to manipulate files in the repository
and keeps track of the read/write client session state.
The parent process now restricts its view of the filesystem to the
absolute path stored in argv[0], and combines this with unveil "x"
on this path. As a result the parent process can only re-exec itself.
small tweaks + ok op@
- Commit:
75b17c2a7d14fc0476cba0375a5a031cf0c13a00
- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress: strip trailing / from GOT_TEST_ROOT
otherwise most test fails because of double "/" ending in paths and
tricking some check into thinking that's failed.
ok jamsek stsp
- Commit:
34d80a0ff3357761ddb975a1a96d3ee795218e41
- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress: use `local' for some variables
- Commit:
6b37f13aa48dd88d4cc6c8176104a3101d7a260c
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
add regress for 'got diff -d' and minor output fix
Ensure an actual file path is displayed in the 'got diff -d -c commit path ...'
case when one of the specified paths is a deleted file. Prior to this, the
unhelpful "/dev/null" label was shown instead. Includes some copypasta fixes
noted by op.
ok stsp@ op@
- Commit:
d8bacb933720b8819f0c4e76b004775aa1885b9b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: minor refactor of got_pathlist_free() API
Accept flag parameter to optionally specify which pointers to free. This saves
callers looping through the list to free pointers.
ok + fix stsp@
- Commit:
9114dd430297e408815019c3bc1df29ba10a9fb8
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
fix uninitialised fildes variables in libexec helpers
Reviewed and uncovered as part of the diff in the forthcoming commit
(pathlist API refactor).
ok stsp@
- Commit:
a76e88e58fb716d5dded83442b153b60687283cb
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: expand diffstat -d option to 'got diff'
Like got log -d, add the switch to 'got diff' to display a diffstat of changes;
as per stsp's suggestion, we always include diff output with the diffstat.
Disabled in gotwebd (for now :) Includes tweaks from op@
ok stsp@
- Commit:
5dd8d22b08edd56b5b81f36643ab026dd6dc5047
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak a gotd regress test to cover incremental 'got fetch'
Previously the gotd tests were only running fresh clones.
- Commit:
3a975a9fcbb052d6cbf4d9bc062683250a23f466
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix tempfile handling in gotd's got_object_raw_open()
There was a bug where we reused a file stored in *outfd from a
previous call, resulting in a raw object backed by a file but
with tempfile_idx -1. This then caused bad confusion during
deltification. Fix this by passing tempfd to read_raw() functions
and only setting *outfd in case it is actually required, and
returning tempfd to the repository tempfile pool otherwise.
ok tracey
- Commit:
dc07f76c4f8d4418ce30fd4eb087756fe9fb6ded
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_tag
ok tracey@
- Commit:
067396e6118227d9aa15a49c7d49238c0fff8d94
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_tags
ok tracey@
- Commit:
60c140aebbd1069094e75d8358cb305bc305b7f8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a caller-specified size limit for mapped files in got_object_raw_alloc()
Without this we end up being confused about whether a raw object has
been mapped into memory, leading to crashes.
ok op@
- Commit:
e98a81e6856357207df4b28256b3f472b90f0408
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
adjust a misleading error message in got_object_raw_alloc()
ok op@
- Commit:
95bdb85df1b522e11e264cba3c300f919cde4503
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix *size not being passed out of read_packed_object_raw()
ok op@