Commits
- Commit:
7589a830f7540d89143109e3696cc17828768175
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.94
- Commit:
36d7ed1e4ca16170bfdc637695cc21f41a871593
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: update dist configuration
When running 'make dist', ensure we automatically pass through the
relevant configure options so that the relevant files are included.
- Commit:
89e7c39ce31c96de7905deda5a068d82f039891b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
531058edb8b3f7a5025981d70d2626d128439602
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.94
- Commit:
1e687637d8abb1b2b4b0236dd1e21b5b13645e03
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync dist file list
- Commit:
619437c17366c6d09fad4a3f974461c4395a0f34
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
adjust expected output to make 2 failing gotd regression tests pass
The repo_write process still announces HEAD twice, once with its symref
target and once with the resolved symref object hash. I cannot recall if
this is deliberate but let's accept it for now to avoid test failures
being flagged due to this issue, which is mostly cosmetic.
- Commit:
405e082cb943841a1874081fa7554076000780f6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
detect concurrent changes to the set of pack files while matching object IDs
This should prevent a use-after-free crash I observed in gotwebd.
ok op@
- Commit:
efc1d9908de092d2d93d33277070ea6c3be6b90f
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: template: use got_compat.h
- Commit:
5f50119f48cfb35cc3187fc1adca02c9840d62e9
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add got_compat.h where necessary
Where new files have appeared, etc., in -portable, "got_compat.h" needs
to be added.
- Commit:
b69b73ef940f81c5e2f740df4166d2cf68677683
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: update imsg from OpenBSD libutil
Sync latest changes of imsg from OpenBSD, as some of its newer fd
handling is required.
- Commit:
da3a2e80620226ae030a658f2034613a1d8debc9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
don't ignore err in got_privsep_recv_painted_commits
- Commit:
ea827802c0280cb0d5539553eabb137f990fb926
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: fix broken signal catching due to a pasto
While here, remove completely the libevent handling of SIGPIPE in
favour of the already existing signal(3) call to ignore it; there's
no point in logging a SIGPIPE.
- Commit:
3f69050e707b0f3c73aecf3053782433bc7b328b
- From:
- Kyle Ackerman <kackerman0102@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix memory leak on error in got_privsep_recv_painted_commits()
Diff from Kyle Ackerman, thank you!
I've added a imsg_free() call before the break too.
- Commit:
16753fcd1c448414735e656a5c4a33048d93d029
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove 'bind interface removal' TODO item
- Commit:
d1d263eac7f7f573e50efe916ebdb779ced7f247
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: inline and remove IMSG_SIZE_CHECK()
I always find confusing if IMSG_SIZE_CHECK() takes pointers or not,
and we had at least a few instances of wrong usages, so inline (with
exact size checks) and remove the macro.
ok stsp@
- Commit:
ab5bda7ecb7748b16898b3af71948dc94ce96296
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove the gotwebd repository cache
It only had 4 slots so was never quite useful, and sharing of sock->pack_fds
across cached repositories seems problematic.
with help from + ok op@
- Commit:
aea518b5677939b97a7c9068389ec98a00dc0ffc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
whitespace fix
- Commit:
f422fd17f5e761577489af8e09480ed6cd2f61bf
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: ignore SIGPIPE in the sockets processes too
- Commit:
25ebe4706865b1d548e3acb329275fd001378a30
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: send a UNIQUE temp fd
main_compose_sockets() has the 'feature' of implicitly dup(2)'ing
the passed file descriptior. But it's not what we need for the
temp fds, since those needs to be unique per-children.
debugged with stsp@
- Commit:
1962c34091c4aed0109904507f57275774661700
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: don't chdir to / before spawning the child processes
allows to run gotwebd from the got checkout again.
- Commit:
aada9b0335c17c413099d33e3bf242a160871115
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: move log_init() even earlier. I can't read...
- Commit:
f1e20d011992c8e84558cc639c80e53420e2054b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: define constant instead of using the magic number 3
suggested by stsp@
- Commit:
3bb657abe5b3a3d888deadbdc094637dd505dce0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: make main_compose_sockets() close the fd on error
concern raised by stsp@
- Commit:
f85c939fb7758c7cad91e0705b4d932d52597867
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: get rid of proc.[ch]
proc.c really shines when there's a network of different types of
processes, potentially with a various number of instances each,
that needs to exchange messages. Gotwebd instead has a much simpler
design, and using proc.c causes more overhead (/headaches) than it
solves.
So, this attempts to provide the same functionalities but with a
much simpler implementation that fits gotwebd better.
ok stsp@
- Commit:
b38e9a2a1732c7dd3d16d76facf977f5a4c4a454
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: improve gotwebd_assign_querystring()
This prevents the issues that we just hit with forgetting to remove
PREVID: instead of relying on the enum value to yield the size of
a table, use nitems(). Also, quit as soon as the matching key was
found, no need to iterate further.
ok stsp@