Commits
- 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@
- Commit:
0e1d99b70d096dc74c53436437b7836ed9189543
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotwebd.css styling consistent across all window sizes
Patch by op@, who is at the wrong computer right now
- Commit:
42300e501b05cf157853de0eaf4a4d5360b0793f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
slight code simplification, seeing that clear_meta(NULL) is fine
- Commit:
9c1b133592069eb8885b5bec922d06995ece91e1
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in got_pack_create()
Patch by: Kyle Ackerman
- Commit:
6d00e361b51b0e4d5aabc05aebef7ecb6b7d4392
- From:
- Bradley Taunt <bt@btxx.org>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
minor gotwebd.css styling changes for some QoL updates on mobile devices
Patch by Bradley Taunt
ok op@
- Commit:
c450903bc2ce2dadb398b935473a6e355894e243
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug memory leaks in 'got fetch' and 'got send'
Check for duplicate items added to pathlists, and free associated data
in case we were attempting to add a duplicate.
Patch by: Kyle Ackerman
- Commit:
5ddd7ddb3ce581cbbd07e4e5e88839c05e2a62b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a todo item for the 'got send' command
- Commit:
dee20ba57d802d92bea16998db24eb96d5da7339
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not call fmemopen(3) with a zero size argument
Calling fmemopen(3) with a size of zero leads to an "Invalid argument" error.
One symptom of this issue are failing gotd notifications:
gotd[48539]: render notification: fmemopen: Invalid argument
Add an email notification test case which triggers the above error.
Reported by Mischa Peters
- Commit:
aae9823b00f5988597d2f2fac63dd14e16b0a003
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug some leak around imsg_init() error paths
tested and ok stsp@
- Commit:
940b434ba83d5c4db2de3ce75baab3b5dd4279d3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tidy up error handling and reporting in repo_write_dispatch() a bit
ok op@
- Commit:
28f88a8012eef7b02f7ada4a4e8a89d1d4342f70
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug fd leak on OOM
- Commit:
e17fe79ed2af35cc59b6e45c577a715377c2e63f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
delete trailing whitespaces
done mechanically with
$ find . -iname \*.[ch] -exec sed -i -E 's/[[:space:]]+$//' {} +
with some revert for bundled files and a manual tweak for got-fetch-http.c
- Commit:
197402aa5d504d7a3c4d10d6066757443632a777
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
regress: got {revert,unstage} -p binary file; ok stsp@
- Commit:
441adc5c23cd0a3e8accffe63ec1a34bb95961ae
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
don't iterate binary file changes with (un)stage/revert -p
As reported by Johannes Thyssen Tishman, 'got stage -p $binaryfile'
iterates each hunk, and produces unexpected behaviour when answering
'y'. Instead, present the standard "Binary files differ" message and
only allow staging (or unstaging or reverting) the entire binary file.
Includes tests for stage -p but unstage and revert -p tests are still
needed.
tweak + ok stsp@
- Commit:
e37a5589c16266235a9b0d3b6d7be7ec67b46390
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update EWAH todo item
- Commit:
5955ddd3f68be116821bc250060f67a5f54bcdfe
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add todo item for ewah bitmaps