0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-19 04:42:32 -05:00
forgejo/services
Jason Song 286d09203f Sync branches to DB immediately when handle git hook calling (gitea#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>
2024-03-18 17:38:01 +01:00
..
actions Make runs-on support variable expression (#29468) 2024-03-11 23:36:59 +07:00
agit 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) 2024-02-26 22:30:26 +01:00
asymkey
attachment Add support for API blob upload of release attachments (#29507) 2024-03-06 12:10:46 +08:00
auth Replace more gt- with tw- (#29678) 2024-03-11 23:36:59 +07:00
automerge
context Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-11 23:36:59 +07:00
contexttest Make "/user/login" page redirect if the current user has signed in (#29583) 2024-03-11 23:36:58 +07:00
convert Fix incorrect relative/absolute URL usages (#29531) 2024-03-06 12:10:46 +08:00
cron Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
doctor
externalaccount
feed
forgejo
forms Add option to set language in admin user view (#28449) 2024-03-06 12:10:46 +08:00
gitdiff Fix incorrect diff expander for deletion of last lines in a file (#29501) 2024-03-06 12:10:45 +08:00
indexer
issue Allow non-admin users to delete review requests (#29057) 2024-02-26 22:30:27 +01:00
lfs Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
mailer Rename Str2html to SanitizeHTML and clarify its behavior (followup) 2024-03-06 12:10:45 +08:00
markup Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
migrations [Windows] prevent ? in testdata path 2024-03-15 13:15:46 +01:00
mirror Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-11 23:36:59 +07:00
notify
org
packages remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
pull Fix commit_status problem when testing (#29672) 2024-03-11 23:36:59 +07:00
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) 2024-02-26 22:30:26 +01:00
repository Sync branches to DB immediately when handle git hook calling (gitea#29493) 2024-03-18 17:38:01 +01:00
secrets
task
uinotification
user Skip email domain check when admins edit user emails (#29609) 2024-03-11 23:36:58 +07:00
webhook [BUG] Packagist webhook: support all events 2024-03-13 09:27:12 +01:00
wiki Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-11 23:36:59 +07:00