Commits
- Commit:
9530fd041d6cad2b6bd30d1e0ae2ea57e557e2b0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not call imsgbuf_clear() before got_privsep_send_error() in helpers
Fixes cosmetic test failures, such as in cmdline/tree.sh.
- Commit:
81a2a66238493b3dd4cb68b5427617b12324797a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix exit code of got-fetch-pack in case of errors
- Commit:
c3492d10555b6430f054e34e547cddc1baf6d1d6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump version number
- Commit:
e9ace9bb970fdc8adf86e50c58320653ad6a14d2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
CHANGES for 0.106
- Commit:
39b18c7c0c3039efb57a18c79cc86e677515b015
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in gotd, use a polling loop around imsgbuf_write() instead of imsgbuf_flush()
Avoids potential endless loops with non-blocking I/O.
- Commit:
15fbb79b06dceefaebabb71fcd744fe8d47c6a9e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong function name in error message
- Commit:
fd8decfcec52d58463ceffa5d5298bb49f6b13b2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
set GOT_NOTIFY_TIMEOUT to a more reasonable value to prevent test failures
- Commit:
d1e848871a89381c9d0e349abddd7339eb7e1551
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent gotd from exiting with pending notifications if client disconnects
- Commit:
37b4ccba4a069ecbe9ee46da8b91850668400ccc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
connect the notifier only if the session process is writing to the repo
fixes "gotd: unexpected imsg 40" in logs
- Commit:
32fdf3fddec1fabda12ee185d866d1db180cfe7d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use GOT_NOTIFY_TIMEOUT for both notification helpers
Fixes timeout setting used by http notification helper during tests.
- Commit:
d63901c24a5fd0343f35bab89971bd373bf6748c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a missing allow_fdpass(); fixes serving of writes in gotd
- Commit:
faf7fad5925f20b61d71682cd984c40b3043484d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use imsgbuf_flush instead of imsgbuf_write; fixes end-of-file errors
- Commit:
33c550942db6fa1f76a1581d4bc0d0493aad2fff
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
return an error instead of calling abort()
- Commit:
eae27e22da0f76777f865b7ed519858dd06257d1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove dangling include statement
- Commit:
fd9f46f196aef97157fc2532b99e727b72ea32b2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert got to new imsg API; build now requires OpenBSD -current
Patch by op@, committing on his behalf and will be adding fixes on top
- Commit:
6f86da294d3b81aba4c403d76e423598958c2100
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove got_pathlist_append()
Remove got_pathlist_append(). This leaves got_pathlist_insert() to add
items to a pathlist, making it very easy to swap got_pathlist from a
TAILQ to a RB_TREE.
Patch by Kyle Ackerman
- Commit:
799728f7aeb4842a6458eccfc51df84e5cbc40d0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotwebd: improve performance of repository age calculations
Instead of sorting refs by name and then hunting for the youngest
commits in that list, obtain an appropriately sorted list via
got_ref_cmp_by_commit_timestamp_descending and then pick the first
ref from this list.
And in the case were we already know which ref to check, just open
this ref directly instead of listing all the refs.
Easier to read and should improve performance in both cases.
ok op, jamsek
- Commit:
ece731b025b35fd112ea1faebfabb163b61aacbe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove unused imsgbuf
ok jamsek, stsp
- Commit:
3065f08c041aa183200511b6371a883e945f3187
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
gotwebd: ensure child procs inherit non-default config
If a non-default config filepath is specified with -f, it is effectively
ignored as child processes always either parse the default config file
(/etc/gotwebd.conf) if it exists, or use defaults. Options specified in
the config file used by server procs (e.g., chroot, user) are ignored.
If -f is used with a non-default config file, pass it to child procs.
ok stsp@
- Commit:
87e823f249effd48cf55c950a1a24cbfa39267c0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix bogus "reference not found" error from 'got send'
When a reference exists on the server but not locally, 'got send' could
fail to ignore this reference as intended, raising an error instead.
Add a test case for this isssue.
- Commit:
ddd27308ca0444e5b5e57acbd19a846eb24dbc35
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a typo in CHANGES, spotted by teajaygray@rap.social
- Commit:
a0bcd23d709f37a194545dcb4392c60ff65063f3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
b7368299fd320a97f2da447cb2f62166f3805517
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.105
- Commit:
47450175a80904ac2ae82257a97bb0b9dfcdde3d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
whitespace
- Commit:
e42da5dbbf61c98edf34a31aa0c905099f9e91a4
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
plug memory leaks in 'got fetch' and 'got send'
In addition to the previous commit [c450903bc2] that plugged fetch and
send leaks, free what would be the path entry's path member, which is
leaked when attempting to add a duplicate. And in the fetch case, free
refname and id when got_pathlist_insert() returns err.
ok stsp@