mirror of
https://github.com/go-gitea/gitea
synced 2024-08-30 22:15:38 +02:00
The gitea prerecieve and postrecieve hooks and the gitea PushUpdate function require that the PusherID and PusherName are real users. Previously, these environment variables were not being set when using a deploy key - the main result being that pushing to empty repositories meant that is_empty status was not changed. I've also added an integration test to ensure that the is_empty status is updated on pushing with a deploy key. There is a slight issue in that the deploy key is now considered a proxy for the owner - we don't have a way of separating out the deploy key from the owner at present. This can be fixed in another PR. Fix #3795 Signed-off-by: Andrew Thornton art27@cantab.net |
||
---|---|---|
.. | ||
admin.go | ||
cert.go | ||
cmd.go | ||
dump.go | ||
generate.go | ||
hook.go | ||
keys.go | ||
migrate.go | ||
serv.go | ||
web.go | ||
web_graceful.go | ||
web_windows.go |