Commits
- Commit:
08f1c78e511357d5bd17bf80440ee6e6c00a5d3f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: disable listening on interfaces
ok stsp@
- Commit:
9cfaa6380d1d5dd7099dc202d5abe01963cea9b8
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reduce gotwebd pledges to the minimum currently required; with op@
- Commit:
79e60db648de07c38759b79dd9acefb3b82e04f2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix gotwebd unveil permissions
The main process doesn't need write access anywhere and /tmp is not needed.
The sockets process didn't use unveil at all so far, but is happy with
just "x" for libexec helpers and "r" for each server's repository path.
Input from op@
Tested by myself and Kyle Ackerman who also reviewed the diffs.
Prompted by questions from mlarkin@
ok mlarkin@, op@
- Commit:
072028198fd35dfd25c9920dc6b65202ab5fabc7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow setting variables in gotd.conf; code from gotwebd/parse.y
ok op@
- Commit:
13b527d9f7a404e302b54452dd2eb9fc65ed9bab
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: remove dead ipproto handling in host() and host_if()
ipproto is always -1, so delete the dead code. ok stsp@
- Commit:
2c29eec0530d2a05c4729d8414aa3f3a6540971e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use ibuf_fd_set() instead of reaching into the ibuf struct
discussed with tb@
- Commit:
64c827b3c0cbf84a063d81619ae309a543511a82
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
don't redundantly set wbuf->fd to -1
ibuf_dynamic() (called by imsg_create()) already initializes fd to -1.
- Commit:
4772e63102e55e56d471f3f92e401821db956791
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix some fd leaks in error paths and avoid some double close
Sweep done after a few were spotted by tb@, thanks!
ok stsp@
- Commit:
4cd0a25206f726d56a0acf66355ec6e6f7e58fe7
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd TODO: category grouping support
- Commit:
f52e24d844b8acbff9e1322c3f5e2507d9cd4b5f
- From:
- "Lorenz (xha)" <me@xha.li>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
simplify usage of the 'mesg' histedit script command
The 'mesg' script command now requires a commit ID as its argument,
rather than being tied to a preceding 'pick' or 'edit' command.
The old model was too confusing for new users, in particular for people
used to Git's rebase -i squash semantics.
The 'mesg' command is now semantically equivalent to the 'pick' command
and additionally opens the log message in an editor.
The new syntax is simpler to use but also requires that we drop support
for one-line log messages inside the histedit script, with a commit ID
taking its place in the argument space. We don't believe this feature was
used much, and that a simplified usage model is more beneficial overall.
Patch by Lorenz (xha)
ok jamsek
- Commit:
a80c83ad3e4a8f4b5cc64106e5b128e667e0e06c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style
- Commit:
235b06458a4e60a61dced04eccef13dfe62c270e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
patch: handle NULs in lines
got patch assumes that lines can be encoded as strings, so embedded
NUL bytes truncates what got sees of the line.
While here, add some minor semplification to the logic by splitting
the type out of the line string and change linecmp into lines_eq
(name suggested by stsp@)
ok stsp@
- Commit:
d50c8991ddc68e92266707a26186b792429d767f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
i can't count
- Commit:
bc92b8cebfc24436a0c74d1665dc98b113acffbb
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix gotadmin cleanup -a documentation: it also removes pack files
ok stsp@
- Commit:
a7245e84638203d5ac6335048a939f4a3436d392
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'tog diff' release the work tree lock earlier
Avoids 'work tree is already locked' errors from got commands while
the 'tog diff' command remains running.
- Commit:
efba105ab196c6eb41746c1bf4e45164573715f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
slightly reword 'got merge' documentation to hopefully be more clear
- Commit:
4cc0851e23123ddf7f312ece3b974f652d01c6b9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: render all the datetimes in a time tag
fixes an unused variable that should have been dropped in previous
commit too.
ok stsp@
- Commit:
10fa70e266dcd8539efd48ef30628e48068cb5b4
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: inline the only use of TM_RFC822
- Commit:
cbe7b7d7141fcd8437b7ea83d5c1f4f84b9e6981
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: typo; fix closing of dd tag
- Commit:
8295dece153624d0efa4d5df11e73119adcf1764
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: make patience the default diff algorithm
As discussed on IRC. It makes nicer diffs and the performance hit should
only be noticeable with the odd large diff. It might also be a motivator
in trying to speed up the patience implementation.
ok stsp@
- Commit:
d1e03b8cc3ffd9122ab07adab47d84534f70bd67
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
replace "(cd path && git cmd)" with "git -C path cmd"
This matches the existing use of "got -r path cmd" and
"git_commit path args".
- Commit:
d7a689ea907503c998ff3b75af65066ce8ec680d
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
honor fetch_all_branches configuration again
Fix a regression in db82695e31945b3ce001a5fb69674c3638622368 where
the fetch_all_branches configuration setting from got.conf was dropped
and always defaulted to "no".
Add corresponding regression test.
ok stsp
- Commit:
0097ceb4e430158c1e35f0c951364b1848cd8dab
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
put actions in test_fetch_all into more logical order
ok stsp
- Commit:
47138b8352a91fbeb4d8cb2ed508b464c561caf0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
vertical align briefs age and author
- Commit:
a77903c9966763710b6ec7500228274cc73a8aa0
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add --enable-cvg flag
Just while cvg is being developed, mask the building of this via a flag
to ./configure -- this is not intended to be used by any packagers, but
rather, provide a means for developers for testing.
This flag will go away once cvg is considered releasable.