Commits
- Commit:
9c574a767ec39853cd7c624009e002b8e40030a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't leak the existence of gotd repositories to unrelated user accounts
In particular, this prevents anonymous user accounts from discovering
the existence of other private repositories served by gotd by correctly
guessing the name of a private repository. They still wouldn't have read
or write access but in some cases even knowledge about the existence of
a particular repository could be cause for concern.
ok op@
- Commit:
d59a1c3b458751abda83fa864629003ee9b6ddad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in gotd.8 add an example which illustrates how to create repositories for gotd
- Commit:
27b8b8653569e89544f7d13837918fbe34dcb5f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd regress: fix tests which started failing as of version number 0.100
- Commit:
c69a515c684580b345d95d6a5a738c106c784d50
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd regress: drop redundant test_ prefix from test directory names
- Commit:
1d3ea37243e62e366d681d490699543adfbcf018
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix expected BINDIR when running gotd regress in release tarball sources
- Commit:
dab6d6fcbcba4b0f05c2297301e384ea58e26a33
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in got.1 EXAMPLES, mention how files can be moved or renamed
based on an initial patch by Matthias Schmidt
- Commit:
75bbb53178bc07949826c81f52ea9f5f042b43e4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show hint about update -b if the user attempts to rebase a branch onto itself
Specifically, when 'gut send' suggests 'fetch and rebase required', new users
might try to use 'got fetch' directly followed by 'got rebase' without first
updating the work tree to newly fetched commits. Got would then say "main is
already based on main" without any hint for a way out. Hopefully, pointing
users at the update -b command will make them search the manual for details.
- Commit:
ef4f8ddaffcf814c74e3e3d806e430aeea45d7e8
- From:
- Ted Unangst <tedu@tedunangst.com>
- Date:
switch to using readdir. readdir_r is deprecated.
- Commit:
b808e01085d775b284878dfeea5c06339a9f2ec2
- From:
- Ted Unangst <tedu@tedunangst.com>
- Date:
abort if we see a sha2 hash.
it's incomplete and will lead to an overwrite.
quiets a potential compiler warning.
- Commit:
24fa9165db013fd2fcf6c5161d9167fcd42e317d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
903ff3573f981cced28481e2b6e38f8bceda3ecd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.99
- Commit:
9bce226b9e36a588c77fc2b1a49d937c635a6f8b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist file list
- Commit:
0fb910a41f7587983405793e780968c72b3f4197
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make new pkt read timeout apply only to gotsh, not the client-side helpers
- Commit:
6fefa431eee865872ebe9a069e18cba946baf1df
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use polling read in got_pkt_readn() to avoid endless hangs in gotsh
- Commit:
c811fd62d1fbec7ac5e58e10b242c3d4f8b4cdb4
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
6e5370b0f38658d91de41782c4fec170db11606c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a basic gotd test which uses git clone instead of got clone
- Commit:
7268d4618603a3243f53ced23fc7ccc40f7d0693
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd_request_timeout() should use log_warnx() since errno is not used here
- Commit:
01fd0993d95a7f79f9931ffaebbda0f08a23ccee
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
c025ee6f31e47e1c1d5e835c1f8cf2db3d4ac636
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong function name in errno error message
- Commit:
bcb309261e439efc6ff6b567d9df9f6b837364bf
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
caa6cf11e1afc94b38d5250e9b6fe574a6e5ca80
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure gotd request timeout gets armed even if no request is received
- Commit:
41e288ac19dc1ed47e4e0b2260ebc96a8e0dc2f4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
raise log level of message that is logged when a gotd request times out
- Commit:
841969e1ced43e1e9e2d6c8e3b22541e24337eb9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: rename auth_user -> authenticated_user
ok stsp@
- Commit:
5a810f318bdf6918a86fe0ce770d2eda026e6932
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
c37c2f0a725cab61f43b8fa90096814ca9f24e33
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got stage -p behave the same way in interactive and -F modes for 'q'
Lucas agrees