Commits
- Commit:
19a06f5a748377744d95510219851c924ec85f3a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.116
- Commit:
3a34ebda2e48de7971e4150e2f20f7fd6d4e675a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist file list
- Commit:
87a2e886e5c23f35d8b4292523c7605a5ca18d89
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing include of stddef.h for ptrdiff_t in gotsys/parse.y
- Commit:
c0ceb4cc12a674224e0ffdd91d8dc4946620fa22
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use standard integer type in validate_hmac_secret(); from op@
- Commit:
7da96131ebafc5eadf4c20c3f11db53d81dc21fa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a better idiom to find a NUL-terminator; from op@
- Commit:
4f3d4d3a79b413ef883104bbbcaec8606cc1f7b7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing casts to ctype function arguments in gotsys parse.y
spotted by op@
- Commit:
8b4b261f2806a6ddbcf0994f02f3ba4502828e8e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for notifications to gotsysd and gotsys.conf
gotsys.conf now supports email and HTTP/JSON notifications
ok op@
- Commit:
41fda6f0f9b9dd737c3e67642f92562b4fac35f7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotsysd behaviour when the anonymous user is removed from gotsys.conf
The gotsys-useradd process would run into a bogus error regarding an
invalid user name "anonymous" instead of locking the anonymous user
account as expected.
Add test coverage.
- Commit:
4b6c492110655391bfc6554d0b4968e305ef4b55
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
replace ftruncate+lseek with equivalents from opentemp.c, where available
- Commit:
cf66e481a770754af14cc8eb754d916b40bfe825
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename test "large loose objects" to "large files"
We might have more large file test cases eventually. And the existing test
involves packing the loose objects. So the former name was not ideal.
- Commit:
459c522ff2347e7f7f379bc0b60682c3ac389db9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix off-by-one during deltification in maximum stretch size calculation
Fix an off-by-one which causes invalid deltas to be written when common
file sections exceed the maximum size which can be represented in a
base-copy delta operation.
This bug causes an invalid pack file to be written which neither gotadmin
nor git will index successfully.
Add a test which triggers the problem:
got-index-pack: delta application result size mismatch: \
actual: 65536 expected: 16777216: bad delta
ok op@
- Commit:
5bbc921fd639779edc5a26c49cdc6ca3c5961e70
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show expected and actual sizes when delta application fails
ok op@
- Commit:
fc3816d11747d0bdf205724cad7de56d51b4fcb7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid clobbering earlier errors in got_delta_apply and got_delta_apply_in_mem
ok op@
- Commit:
ae784b42e06f525e360bf478bb382845f718fc09
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix more missing resets of file position to zero after truncating files
ok op@
- Commit:
590e3746314124e5c82cdda11846c8678e53e27c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reset file position when reusing per-repository temporary files
When reusing a temporary file, do not forget to reset its file position
to zero. Otherwise, opening multiple raw objects in a row can fail during
delta application with an unexpected file size reported by stat(2).
Problem reported by Aaron Lin
Problem reproduced and fix verified with a repository provided by Aaron.
I have unsuccessfully tried to write a regression test for this.
ok op@
- Commit:
529f16d393fbab504621b40449967a0a33f4041c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix lseek(2) calls which had "offset" and "whence" arguments swapped
- Commit:
c506644a01c93e409523d0bf841f1776c94cb078
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotd reload when /etc/gotd-secrets.conf is used
When sending the configuration to the newly reloaded gotd process we must
send the path to the secrets file if it is being used. Otherwise, the new
process will die with "unexpected amount of data received in imsg" errors.
Test coverage will be added later as part of some new gotsysd tests
which I have in progress.
- Commit:
c63cd1cb979149999684e3cd77464f872e8ff9aa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'gotctl reload -s secrets' failing once gotd has failed to reload once
Reset reload secrets state on reload failure, such that the next reload
attempt will not be rejected with an 'unexpected imsg' error.
- Commit:
82e9b6ff0ab571ef441ed5356a0725736d00016f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
forbid the '$' and '#' symbols in gotsys.conf reference names
These symbols are also part of configuration file syntax and should
therefore be avoided.
- Commit:
ce39a4c074fdcf028556a8303ab564bb84efa5a0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update gotwebd favicons to show the smiley fish only
- Commit:
514c147c9a89ee6e6986d8641897e5718b3e75a2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document additional reference name restriction details in git-repository.5
- Commit:
59d7decb8c1564998e913d8ea3ddb85dc7a254c6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document restrictions imposed on reference names in gotsys.conf
- Commit:
00fc2bb90963db33831c38e507e38a9391a433ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce gotsys_ref_name_is_valid()
We need to enforce additional restrictions on reference names specified
in gotsys.conf in order to prevent escaping to arbitrary gotd.conf syntax.
Add test coverage.
- Commit:
97b40d32ed205c32841ce663899df2669f835253
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove hidden gotsys.conf draft text about a "publish" directive
This directive will not be implemented in the final design. Instead we
will be adding authentication to gotwebd with associated config syntax.
- Commit:
0cb1fb1b6112af8387982ced1d8515176cca06c4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show examples for reference protection rules in gotsys.conf manual