Commits
- Commit:
ceda7883426ddd62fbad61fd7b4855f18b7244ad
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix one error being ignored in got_privsep_recv_gitconfig_remotes
- Commit:
1d84e08292747f0be91c166aaf820a3f0e87325d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got.1: use typewriter-style quoting in got.conf author example
Otherwise copy/pasting from the man page to got.conf produces syntax errors.
Noticed by mlarkin@
- Commit:
f46da2e2c90f543ad25f6f27279cedcdb4703e43
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: move got_comat header include
- Commit:
3bb9eb8b6af322c1fa4de61ab5e59b4efb865c65
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: compat: update imsg
Update imsg from libutils via OpenBSD. Needed for some imsg->fd
handling.
- Commit:
e6ff8549d99775dce8770bb6ddd458cae19543dc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-read-patch: use imsg_get_fd(), move FILE handling in main
also improves the error message in case of no fd was passed.
ok stsp@
- Commit:
44f875ad4b93ddb8d0e717a6ca564ce84de7f4e2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid opening objects in the gotd session process for no reason
The session process opened an object as part of a sanity check and
simply closed it again. Opening an object involves decompression
and combination of deltas. Add a new interface which checks whether
an object ID exists without such overhead and call it from gotd.
- Commit:
84a2cae442d6c7544bc5e515da4e4465f69ec128
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.8: improve EXAMPLES sections
tweaks and ok stsp
- Commit:
c6c5c5fd9c8ee7a991803e2a8221453bd04f6153
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: retire max_repos setting
Unlike max_repos_display which limits the number of items per page,
max_repos is an hard-limit on the number of repos gotwebd would
process.
"kill it with fire" tracey@ about the idea
ok stsp
- Commit:
b2d220cf5cce7755b132e4a26b7cde2cbdc09cba
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.conf.5: show defaults, improve EXAMPLES
Show the default value for each setting where it is documented and
so trim the EXAMPLES section down to bits that are actually
understandable.
While here, some minor tweaks like fixing the syntax in one example,
s/IP4/IPv4 and s/FCGI TCP/FastCGI.
ok and tweaks stsp@
- Commit:
e85a14fab54d116e5aa188fbc1c8f319042a197a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: add knob for the number of tags and commits in the summary page
ok jamsek
- Commit:
e2ac8a3da0010ac9a2d6ed0457d75d71b3a27ce5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: remove PAGE handling
The page querystring parameter is long gone and currently unused.
It was replaced mith the "more" buttons in all the views, except
INDEX that uses `index_page'.
ok jamsek
- Commit:
72657dc95c57d4424da879f2d70ea0510077562f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix swapped format string arguments in gotd verify_imsg_src()
- Commit:
bb12a5063c996cf9604bfcb3c6c459d8dbf1771d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make the gotd auth process provide the user's account name for later use
with tweaks from + ok op@
- Commit:
a7cf3076b06abc153debc994e54adfb606bd77f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
do not crash when a meta-data file in the .got directory is empty
Reported by Matthias Schmidt
ok tb@
- Commit:
2a2e593352ba687c161d743f54bf5addc8f06d7d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
ensure tmp file is closed and fix UB in diff error path
As reported by op, we fail to close a tmp file in some diff failure case. Also
spotted by op and stsp, set FILE pointer to NULL after fclose(3) failure so we
no longer attempt to access the stream or close it again in close_diff_view().
fix plus ok op@ and stsp@
- Commit:
8a1f36275eaed118cb07b7249c136e3da8d0ef62
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
util/got-build-regress.sh: add missing make server-install
- Commit:
27071064d2aba91ac9c656821b66c626eb76f711
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
change got_packidx_match_id_str_prefix not to reset the stailq
Since it appends to the given stailq, the ownership is moved and
so don't initialize/reset it at the start and neither on error.
The caller has to take care of the contents. (kind of) follow up
to 2234939fb4.
Based upon an original diff from jamsek; ok jamsek
- Commit:
8cbbef47c4779325cf718162b688c5bedab91c30
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
whitespace
- Commit:
7438da3b00bb4e411aec9e3153a76273294ec492
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug object id queue leak when iterating pack index files
We need to free the matched object id queue on each pack index iteration--not
only when the objects/pack dir modification time has changed--otherwise the ids
are leaked when we reinitialise the queue in got_packidx_match_id_str_prefix().
tweaked by + ok op@
- Commit:
ce631d355cc5c9d10e40a7d35b331afba2f3d964
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug leak of commit object in 'tog diff' error path
tweaked by + ok op@
- Commit:
6f04a9f3014abece8f6e4cecccc3d7e7e35c9984
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: plug object id leak in diff view; ok op@
- Commit:
ae3e7fba59fd6f2a5e61d99860600e21e69b4722
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: plug commit object leak in 'tog tree'; ok op@
- Commit:
450db6a5ec819c2284da080ddf11a2feae97ce0c
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: plug colors memleak in log view; ok op@
- Commit:
370dd2e6a3e6f92f4dad349235c7b9d3f4f1a583
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-build-regress.sh: ron gotd regress suite too with -G
Needs doas to elevate privileges.
ok stsp@
- Commit:
cd292c73dd8b6a746eb45b8f4026240442026e98
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: use nitems() instead of ACTIONS__MAX
I feel safer by using the explicit size of the table rather than
an hypothetical maximum value given by the enum. Mostly because
in the past I edited a table and forgot to remove the corresponding
enum value.
ok stsp@