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/services
Jason Song 5bdf805e05
Sync branches to DB immediately when handle git hook calling (#29493)
Unlike other async processing in the queue, we should sync branches to
the DB immediately when handling git hook calling. If it fails, users
can see the error message in the output of the git command.

It can avoid potential inconsistency issues, and help #29494.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
11 months ago
..
actions Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 11 months ago
agit A small refactor for agit implementation (#29614) 11 months ago
asymkey Move some asymkey functions to service layer (#28894) 11 months ago
attachment Add support for API blob upload of release attachments (#29507) 11 months ago
auth Move some asymkey functions to service layer (#28894) 11 months ago
automerge Simplify how git repositories are opened (#28937) 1 year ago
context Make PR form use toast to show error message (#29545) 11 months ago
contexttest Make "/user/login" page redirect if the current user has signed in (#29583) 11 months ago
convert Enable/disable owner and repo projects independently (#28805) 11 months ago
cron Move some asymkey functions to service layer (#28894) 11 months ago
doctor Move some asymkey functions to service layer (#28894) 11 months ago
externalaccount Revert "Support SAML authentication (#25165)" (#29358) 12 months ago
feed More `db.DefaultContext` refactor (#27265) 1 year ago
forms Make wiki default branch name changable (#29603) 11 months ago
gitdiff Fix incorrect diff expander for deletion of last lines in a file (#29501) 11 months ago
indexer Fix missing issue search index update when changing status (#28325) 1 year ago
issue Add missing database transaction for new issue (#29490) 11 months ago
lfs Move context from modules to services (#29440) 12 months ago
mailer Move context from modules to services (#29440) 12 months ago
markup Move context from modules to services (#29440) 12 months ago
migrations remove util.OptionalBool and related functions (#29513) 11 months ago
mirror Simplify how git repositories are opened (#28937) 1 year ago
notify Update status and code index after changing the default branch (#27018) 1 year ago
org Delete repos of org when purge delete user (#27273) 1 year ago
packages remove util.OptionalBool and related functions (#29513) 11 months ago
pull Add user blocking (#29028) 11 months ago
release Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
repository Sync branches to DB immediately when handle git hook calling (#29493) 11 months ago
secrets Refactor deletion (#28610) 1 year ago
task Fix incorrect ctx usage in defer function (#27740) 1 year ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Skip email domain check when admins edit user emails (#29609) 11 months ago
webhook remove util.OptionalBool and related functions (#29513) 11 months ago
wiki Make wiki default branch name changable (#29603) 11 months ago