Commits
- Commit:
a8cb983f96ddbebf81276a6fb141b0d259968f19
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.99
- Commit:
ab196b631a6e5d905c683995f2547fca90f7af73
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
ebcf1bf10b67fef86f3a7323edc56d7019667560
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.99
- Commit:
32bc10786b58c3e35b993e2953c1d3d16c7d7197
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync dist file list
- Commit:
c058ae64828249f46fbba71edc14fa4e0bea9dca
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make new pkt read timeout apply only to gotsh, not the client-side helpers
- Commit:
2af18508d34e9c770455b438ce36492c91a28119
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
use polling read in got_pkt_readn() to avoid endless hangs in gotsh
- Commit:
b5a26c03810ac28af0ecc814931f3a23e6d4e1ff
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
fix an issue where 'git fetch' would error or hang against gotd
If Git has more than 16 have-lines to send it will send a flush-pkt
followed by more have-lines. Due to a misunderstanding on my part,
gotd didn't like this because it assumed that the flush-pkt terminates
the list. Add a test coverage in a new file which we can use to test
Git interop issues.
Fixes a problem seen by Thomas Adam upon git fetch from got.g.o.
- Commit:
1ec05d481e26f13ab9ac616612c2a7565dea61ac
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
add a basic gotd test which uses git clone instead of got clone
- Commit:
dcc7c9d031571d50c9c3220d2f509dab928d1b40
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
gotd_request_timeout() should use log_warnx() since errno is not used here
- Commit:
f8d01951c19999cc7d089b363cf6ab4a25b887b9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
prevent spurious failure of gotd test_clone_basic_access_denied
Filter output for a single error message to avoid spurious test
failures which result from output appearing in an unexpected order:
test_clone_basic_access_denied
--- /tmp/gotd-test-clone_basic_access_denied-IkTXPlX5FH/stderr.expected ...
+++ /tmp/gotd-test-clone_basic_access_denied-IkTXPlX5FH/stderr ...
@@ -1,2 +1,2 @@
-got-fetch-pack: test-repo: Permission denied
got: fetch failed
+got-fetch-pack: test-repo: Permission denied
test failed; leaving test data in /tmp/gotd-test-clone_basic_access_denied-IkTXPlX5FH
- Commit:
ca7dfc7246a71d418d456bc820b33ecb5862d082
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
fix wrong function name in errno error message
- Commit:
a6c98a81a9a97c9a6ad6a9e56f5e499f18749512
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
attempt to fix lingering gotd processes from reading clients
When reading clients close the connection early do not ignore
this condition in session_read. The code removed here intended
to handle the case of a writing client uploading a pack file,
and thus does not belong into session_read.c.
I overlooked this when splitting session.c into two files.
This might fix an issue observed on got.g.o where the anonymous
user was no longer connected and left lingering session_read and
repo_read processes hanging around until the request timeout was
reached.
- Commit:
9e03aee7bf92a67f29dd8caedbf048d8fe17970f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
ensure gotd request timeout gets armed even if no request is received
- Commit:
b97d447ea2190d1a067e8384893e11358e4cd25b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
raise log level of message that is logged when a gotd request times out
- Commit:
1a0b777c8b56bb65b213704af778bf17b98cb98c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got-notify-http: rename auth_user -> authenticated_user
ok stsp@
- Commit:
a219eefd27b5f1aafc768c7b6c75ed0e203ee5cb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
add default case to the switch statement in choose_patch()
Just in case the code futher up gets tweaked again such that the
validity check using strchr() will be skipped in some edge case.
Lucas agrees
- Commit:
aeac2f67f6cccbabc915bfd6d54fdaa96d18f180
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make got stage -p behave the same way in interactive and -F modes for 'q'
Lucas agrees
- Commit:
9d61c99e2526730cfa5f256a3b0c37bfb25b8f93
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
make gotd notifications work when 'git push' is used instead of 'got send'
Git clients disconnect earlier, which resulted in session_write exiting before
notifications were sent. Do not treat early EOF as a fatal error if we are
sending notifications. Add regression test coverage for 'git push'.
Problem found by Thomas Adam.
- Commit:
0938a7e202849b4c8369dac2e1583f4c686ba3e4
- From:
- Lucas Gabriel Vuotto <lucas@lgv5.net>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
got: refactor choose_patch
Unify the handling of a response file and interactive use, handle EOF,
fix a memleak and make it easier to extend in the future. In particular,
interactive mode now doesn't loop forever on EOF.
Patch by Lucas Gabriel Vuotto.
Joint work with op.
- Commit:
0c54ff92fbff638e193cf6fe971867948f307e20
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
in gotd.conf(5) use .Sq instead of .Dv when referring to JSON field names
Reads better because .Dv has no discernable effect in terminal or HTML.
discussed with op@
- Commit:
708a729b1a69fe9c7aed6019dfe1ccbe8e3dd05b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
move GOTD_ACCESS_DENIED more bits away from GOTD_ACCESS_GRANTED
A similar change was made to doas(1) recently in response to rowhammer.
- Commit:
007f735f804e64576042d40c130ff1a753138193
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
document common JSON notification object properties separately
Document properties which are always set just once and upfront,
and list the object types and type-specific properties afterwards.
- Commit:
4d88c28344644e770a30ea304c5b82fc82249629
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
in gotd.conf, fix markup of the branch-deleted notification field list
This list was using -compact which was inconsistent with the lists for
other notification types.
- Commit:
c29409f9fb2acedc978ae8232c2ba5f958c83445
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
require -u option when invoking got-notify-http
The authenticated username is always available so it makes little
sense to treat it as an optional parameter.
Suggested by op@
- Commit:
bdf7ef6f884f541cbc9915752a2667570b3572c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
expose authenticated gotd user account in HTTP notifications
ok op@