forgejo/models
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
activities Avoid issue info panic (#29625) 2024-03-11 23:36:58 +07:00
admin
asymkey [GITEA] Add noreply email address as verified for SSH signed Git commits 2024-02-05 16:09:40 +01:00
auth remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
avatars
db Partially enable MSSQL case-sensitive collation support (#29238) 2024-03-11 23:36:59 +07:00
dbfs
fixtures Store webhook event in database (#29145) 2024-03-11 23:36:59 +07:00
forgejo/semver [SEMVER] store SemVer in ForgejoSemVer after a database upgrade 2024-02-05 14:44:33 +01:00
forgejo_migrations [GITEA] Allow changing the repo Wiki branch to main 2024-02-05 16:57:47 +01:00
git Sync branches to DB immediately when handle git hook calling (gitea#29493) 2024-03-18 17:38:01 +01:00
issues [BUG] Use correct headcommitid 2024-03-14 16:15:56 +01:00
migrations add test for webhook migration 2024-03-11 23:37:00 +07:00
organization Remove unused KeyID. (#29167) 2024-02-16 15:20:52 +01:00
packages Fix incorrect relative/absolute URL usages (#29531) 2024-03-06 12:10:46 +08:00
perm Users with read permission of pull requests can be assigned too (#27263) 2024-02-26 22:30:27 +01:00
project Partially enable MSSQL case-sensitive collation support (#29238) 2024-03-11 23:36:59 +07:00
pull [GITEA] GetScheduledMergeByPullID may involve a system user 2024-02-05 16:09:41 +01:00
repo remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
secret Make runs-on support variable expression (#29468) 2024-03-11 23:36:59 +07:00
shared/types Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
system
unit Add a direct link from repo header to unit settings 2024-02-13 22:42:09 +01:00
unittest [Windows] prevent ? in testdata path 2024-03-15 13:15:46 +01:00
user Skip email domain check when admins edit user emails (#29609) 2024-03-11 23:36:58 +07:00
webhook Store webhook event in database (#29145) 2024-03-11 23:36:59 +07:00
error.go Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
repo_transfer_test.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00