You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/private
wxiaoguang 6d5aa9218e
Refactor request context (#32956)
Introduce RequestContext: is a short-lived context that is used to store
request-specific data.

RequestContext could be used to clean form tmp files, close context git
repo, and do some tracing in the future.

Then a lot of legacy code could be removed or improved. For example:
most `ctx.Repo.GitRepo.Close()` could be removed because the git repo
could be closed when the request is done.
2 months ago
..
tests/repos Fix verifyCommits error when push a new branch (#26664) 2 years ago
actions.go Clean up log messages (#30313) 11 months ago
default_branch.go Fix git error handling (#32401) 4 months ago
hook_post_receive.go Make git push options accept short name (#32245) 5 months ago
hook_post_receive_test.go Enable tenv and testifylint rules (#32852) 2 months ago
hook_pre_receive.go Move some errors to their own sub packages (#32880) 2 months ago
hook_proc_receive.go Make sure git version&feature are always prepared (#30877) 10 months ago
hook_verification.go Clean up log messages (#30313) 11 months ago
hook_verification_test.go Adjust object format interface (#28469) 1 year ago
internal.go Refactor request context (#32956) 2 months ago
internal_repo.go Refactor request context (#32956) 2 months ago
key.go Refactor names (#31405) 8 months ago
mail.go Split mail sender sub package from mailer service package (#32618) 3 months ago
main_test.go make writing main test easier (#27270) 1 year ago
manager.go Refactor names (#31405) 8 months ago
manager_process.go Move context from modules to services (#29440) 1 year ago
manager_unix.go Move context from modules to services (#29440) 1 year ago
manager_windows.go Move context from modules to services (#29440) 1 year ago
restore_repo.go Move context from modules to services (#29440) 1 year ago
serv.go Add pure SSH LFS support (#31516) 5 months ago
ssh_log.go Move context from modules to services (#29440) 1 year ago