Commits
- Commit:
5b971887f718b1d124236e851d4bde751213b4b4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sockets_launch: simplify listen() handling
* clean up the SOCKS_BACKLOG versus SOMAXCONN usage
* factor out just one listen() call
* slightly improve the logging by showing the socket "name" too.
ok stsp@
- Commit:
28ad1c18bb74647f37660ec576b5d8e7e6386955
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotsysd-managed repositories readable for the _gotd group
This allows making the repositories readable by other user accounts,
such as _gotwebd, by adding those users to the _gotd group.
- Commit:
8195cfa1795a5f4163bdaec158df17eb06b16ed0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
enable sftp/scp support in the sshd_config file generated by gotsysd
- Commit:
4389a9e5b05416eb17c5030b700a7d52faea2485
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make commit notifications only show the part of history unique to the branch
When a new branch is created, show all commits added on the branch relative
to the HEAD branch, instead of showing just the tip commit.
When branch history is changed with got send -f or git push -f, limit
history traversal to a common ancestor with the HEAD branch, instead
of walking the entire history until a root commit is found.
Stacked branches will still show some extra history until they hit HEAD.
This can be improved later.
ok op@
- Commit:
37f7dbf5f09ff1eb1e37d380b32533e876325ef2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move gotwebd fcgi record parsing into a dedicated process under pledge "stdio"
ok op@
- Commit:
6f4eae69642d0a78da926cf32b3639e883f5fe09
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
set gotwebd pledges according to address families of listening sockets
We were implicitly relying on "inet" to provide "unix". Be more specific.
ok op@
- Commit:
bb32659f4666bd508118a9e15238bb69471b3b14
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix parallel processing of requests in gotwebd
Run just one server process per server declared in gotwebd.conf, instead
of running additional server processes based on the "prefork" setting.
The extra servers weren't actually used since they would all wake up
together, only one of them would manage to accept a connection, and the
others would fail wtth EWOULDBLOCK go back to sleep instead of handling
other connections.
Having a single listening process dispatch request across gotweb processes
in a round-robin fashion actually allows requests to be processed in parallel
as intended. We currently use a round-robin scheme which can still cause
some requests to wait for a busy worker. This will be improved later.
The "prefork" setting now only controls the number of gotweb workers
which will be started.
ok op@
- Commit:
6a5431286b29f74a150aed3c2cb14c6744401e11
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug memory leaks which are making gotwebd regress tests fail
- Commit:
0f01ac5d813fe34a941ee33dbb19dba78ddbe966
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'tog diff' show the repository name in names of patches written to /tmp
ok op@
- Commit:
a906b277aa501d5897960b8e9f4466450d91dcac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got_pack_paint_commits: simplify error handling
ok stsp@
- Commit:
2d67dc3aa72fb921c2b7ddcf2af6814acf2784c2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
fcf073d26ed58fc7c502619e26c71f95fed9dccc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.117
- Commit:
67e1bc05349929c2485ed00e3aa04272da0cabd8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got clone' set a got.conf default branch for fetching only, not sending
This will make 'got send' default to the work tree's current branch or the
HEAD reference if not invoked in a work tree, rather than defaulting to
sending the default branch found while cloning.
Issue pointed out by op@
ok op@
- Commit:
8df39a000dfa5a10c68b3631e1ad316acd69e111
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a gotsysd regress target which rebuilds binaries in the VM
Makes it easier to keep the same VM running for manual testing
while tweaking the code.
- Commit:
01f07c49d05ea96bb44614a92fa53cc62327bc8c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotsysd regress: run make clean in the template directory, else build can fail
Without make clean we would end up running a template binary built on the host
system, which won't run in case libc.so is out sync between host and VM.
- Commit:
f4dfd849913b7ada5a3f441160a74efb8fc9978f
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
regress: git: don't load global/home configs
When running git(1) commands as part of the test suite,
disallow git(1) from loading either the global or home
gitconfig file.
This has the ability to mess with the test and how
they're setup. Each test already sets its own config
so this is the preferred option anyway.
OK stsp@
- Commit:
a0923235a9fef33971f7e2428bcb156b02c85bec
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a todo item for a bug observed in gotd
- Commit:
12f5a70b8d705757d7a6740303ba2c2aa4df930f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
better fix for long loop bug during commit coloring with offloading
Repaint already queued commits in the main process instead of removing them
from the queue. Otherwise we may never converge to a state where all commits
are marked as skipped. Instead such commits can inherit color keep and we'll
keep on asking got-read-pack to paint more commits for a very long time.
ok op@
- Commit:
5abe061a03aa6b587c595d904418740002d94956
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
revert previous change, it breaks 'gotadmin cleanup'; need a better fix
- Commit:
106bfc0e078584381c4fe0789d54d72972bec3bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not let got-read-pack paint parent commits which are not in its pack file
If any parent commit of the current commit is missing, stop iterating
and return control to the main process. Fixes a case where offloading
to got-read-pack resulted in an effectively endless loop.
ok op@
- Commit:
b46b8f09728040b4d8ff7a93ea5236b90412f768
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
improve selection of pack files for pinning in the open pack file cache
If two given pack files contain the same amount of requested commits,
prefer the pack file which contains the larger amount of total objects
to increase our chances of full history traversal.
Also, require the first element of the list of requested commits to be
present in the pack file since the caller will very likely try to process
this commit immediately when we return.
This fixes cases where offloading of commit coloring to got-read-pack was
ineffective, causing us to take the slow path instead.
ok op@
- Commit:
fff7e4bcbac58d0ef1b91d51636955f122c69aea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
hack for got_privsep_recv_painted_commits() to sort queue by color
ok op@
- Commit:
f0f5557675f0e5e85c086e098478bb6a51e00e68
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sort commits not processed by got-read-pack properly
ok op@
- Commit:
a96e9e6e177a70160e11f3edda1b4fe13b535a50
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
pass an exact copy of queued IDs to got-read-pack during commit coloring
ok op@
- Commit:
6bc787f0d15298b43d85f42afbd6d21c0734c705
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add functions which transport object ID queues across the imsg layer
ok op@