Commits
- 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
- Commit:
f6ff692887f92c043fc96ebb8038bd4075bbdac0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove (undocumented) support for setting an SMTP relay in gotsys.conf
SMTP relays for email notifications will only be configured server-side.
- Commit:
0524cad60d38ddbecaf896473f1d59e61a98f482
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove a TODO item that is done
- Commit:
64ae8493022d713e2b5f69d829d7b26213f01da4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not clobber changes staged via stage -p during 'got revert'
While we must install staged blob contents during revert if there are
staged changes, the base blob ID recorded in the file index must always
reflect the actual base blob from the base commit. Setting the base blob
ID to that of a staged blob causes problems. The staged blob's ID is
tracked in a separate field.
ok op@
- Commit:
2f46ecd27c3d285e0a82670ff8dc042db5e58d5d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix test failures related to clone -a introduced with previous commits
Use a dedicated flag to keep track of HEAD ref creation state, rather
than checking pe == NULL.
- Commit:
37de562ead5a95ca95e8779e7a8e218876166ff7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not report the default branch as ignored in debug log, we will fetch it
- Commit:
cd154312d1af8f1612bb73c728a1394608539da3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
attempt to create HEAD reference in case the server did not announce a symref
- Commit:
ec9e97005c78048a84eebd1889f6d149c337ac8e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
only pick a non-symbolic HEAD reference as the default branch to fetch
- Commit:
55ff12a650e3bd5e4a81811caf98904a627c59e3
- From:
- Martijn van Duren <martijn@openbsd.org>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
pick a default branch to clone when the server does not advertise HEAD symref
Avoids the need to use got clone -b to get anything at all from a
server implementation which does not advertise a HEAD symref.
Patch by martijn@
- Commit:
fe389d9e9b32033b8ea536ca04677a62243d42a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotd branch protection rejecting commits that already exist on server
When a reference update sends an empty pack file because the objects
already exist on a different branch, gotd was wrongly rejecting the
reference update. The logic which protects references from moving
kicked in, but didn't account for this particular case. Run a YCA
check to ensure the client is only appending new commits to the
branch and allow the ref update to proceed if so. Add test coverage.
Problem reported by martijn@
- Commit:
1247ca2fed601968ea335d0623ffac2973b1b5bc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix bogus "bad offset in pack file" errors wrongly raised by gotd
Because copy_ref_delta() was forgetting to update the *outsize output
parameter, when clients sent ref-deltas gotd was miscalculating the
on-disk size of the pack file and would report "bad offset in pack file"
if an object was stored at an offset beyond the miscalculated smaller size.
- Commit:
72edd51a1ae363f5b108c859edbb1fc284bc41b7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a TODO item for a bug between stage -p and revert
- Commit:
4f35873aad55b1c8e6ac0a0725bc45c0dc0f2be9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make our pack-refs header format align with the expectations of git 2.50.0
Fixes regress failures due to 'git gc' complaining, as of 2.50.0:
'# pack-refs with:' does not start with '# pack-refs with: '
reported by naddy@
ok op@
- Commit:
bcd8b7f9afad7734beae751c90cee2ed01466845
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
59e093ad4f25e23fbff23b4c903a77c811222f88
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.115
- Commit:
62994af7ea42c1c4572bf7d55a6b30a00e9e81dc
- From:
- Renato Aguiar <renato@renatoaguiar.net>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix segfault due to double-free in got-read-gotconfig
Could be triggered by running 'got fetch' with a "send" block in got.conf.
The functions free_fetch_config() and free_send_config() were freeing data
via the global "remote" variable instead of their own argument as intended.
Patch by Renato Aguiar
- Commit:
1d26dbd4b176e993c088a1b058223d613ef9365c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add global repository access rules to gotsysd.conf
This feature can be used by server administrators to override or
augment access permissions set in gotsys.conf if needed.
- Commit:
c343b6811380169034b3341781bac5f3a347e7f6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a test case for deny rules in gotsys.conf
Deny rules in gotsys.conf didn't actually work until recently and were
lacking test coverage.
- Commit:
df9fee32dd219ae70b3e0c8d7a0bd95a8d063f68
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix looping in got-read-pack's version of repaint_parent_commits() as well
This can be observed during 'got send' or 'gotadmin pack/cleanup' in some
cases. We would keep processing the same parent commits over and over.