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/models
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>
1 year ago
..
actions remove util.OptionalBool and related functions (#29513) 1 year ago
activities Rename Action.GetDisplayName to GetActDisplayName (#29540) 1 year ago
admin Next round of `db.DefaultContext` refactor (#27089) 2 years ago
asymkey Move some asymkey functions to service layer (#28894) 1 year ago
auth remove util.OptionalBool and related functions (#29513) 1 year ago
avatars Refactor some legacy code and remove unused code (#28622) 1 year ago
db Add slow SQL query warning (#27545) 1 year ago
dbfs make writing main test easier (#27270) 1 year ago
fixtures Fix projects mode bugs (#29593) 1 year ago
git Sync branches to DB immediately when handle git hook calling (#29493) 1 year ago
issues Add user blocking (#29028) 1 year ago
migrations Make wiki default branch name changable (#29603) 1 year ago
organization Add user blocking (#29028) 1 year ago
packages Fix incorrect relative/absolute URL usages (#29531) 1 year ago
perm Add user blocking (#29028) 1 year ago
project remove util.OptionalBool and related functions (#29513) 1 year ago
pull Add support for sha256 repositories (#23894) 1 year ago
repo Make wiki default branch name changable (#29603) 1 year ago
secret Use db.Find instead of writing methods for every object (#28084) 1 year ago
shared/types Refactor locale&string&template related code (#29165) 1 year ago
system Refactor deletion (#28610) 1 year ago
unit Make actions default enabled for newly created repository if global configuraion enabled (#27482) 1 year ago
unittest Workaround to clean up old reviews on creating a new one (#28554) 1 year ago
user Skip email domain check when admins edit user emails (#29609) 1 year ago
webhook remove util.OptionalBool and related functions (#29513) 1 year ago
error.go Add merge style `fast-forward-only` (#28954) 1 year ago
fixture_generation.go Replace more db.DefaultContext (#27628) 1 year ago
fixture_test.go Replace more db.DefaultContext (#27628) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
org.go Add user blocking (#29028) 1 year ago
org_team.go Add user blocking (#29028) 1 year ago
org_team_test.go Add user blocking (#29028) 1 year ago
org_test.go Add user blocking (#29028) 1 year ago
repo.go Refactor deletion (#28610) 1 year ago
repo_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
repo_transfer.go Add user blocking (#29028) 1 year ago