1
0
Fork 0
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 Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
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 Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
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 [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2024-02-05 16:09:41 +01:00
externalaccount
feed
forgejo [UPGRADE] run sanity checks before the database is upgraded 2024-02-05 14:44:33 +01:00
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 Fix missing issue search index update when changing status (#28325) 2023-12-03 12:22:44 +01:00
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 [GITEA] notifies admins on new user registration 2024-02-05 16:09:28 +01:00
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 Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
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