Commits
- Commit:
dfd77022fc31b33c39f1e800698a2d43644666fa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix typo in previous
- Commit:
c5e111b920bf4b059fe47aa7dcee5630ad5c3363
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: merge host() and get_addrs(); use * instead of "" for any addr
ok plus tweaks stsp@
- Commit:
af09dd3fec1090c7273f680a0ae5bf50d2183390
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: disable listening on interfaces
ok stsp@
- Commit:
63c6b10f7b78b600251e3eb2622e0db7db0f8aa0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce gotwebd pledges to the minimum currently required; with op@
- Commit:
6fe3b58aaa9bdb466eabad75eb65bce86d7155af
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
b1c090542f4ecaf993fc81468338839febcb8e37
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow setting variables in gotd.conf; code from gotwebd/parse.y
ok op@
- Commit:
a3dc2f5de198c4a5c70d7b2be4db9179531c4456
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: remove dead ipproto handling in host() and host_if()
ipproto is always -1, so delete the dead code. ok stsp@
- Commit:
91f3651eacab82fa74052cacf1b8b5fdf9b05267
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use ibuf_fd_set() instead of reaching into the ibuf struct
discussed with tb@
- Commit:
ac4f092c7c8e090ee733c90b8b0f0274872c8662
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't redundantly set wbuf->fd to -1
ibuf_dynamic() (called by imsg_create()) already initializes fd to -1.
- Commit:
2161bc24065b9b58f71cbffbb8b65a9546e134f2
- From:
- Omar Polo <op@omarpolo.com>
- 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:
e2766b2cfe846879e3e4de660bc7e7af350a384b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd TODO: category grouping support
- Commit:
14eb0fefd04d63b1a8d626e72c953a811a403f7d
- From:
- "Lorenz (xha)" <me@xha.li>
- Via:
- Stefan Sperling <stsp@stsp.name>
- 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:
ad4e3a354f1e08e1a53e4864a5f004659d17acc6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style
- Commit:
41208069f572694ef8847dbe9d9a47337f7083bd
- From:
- Omar Polo <op@omarpolo.com>
- 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:
23b95dce1cd50b4b3fbd7402c34b6eb155e3dbc8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
i can't count