forgejo/services/repository
Gusted a064065cb9
[GITEA] Remove redundant syncBranchToDB
- The transaction in combination with Git push was causing deadlocks if
you had the `push_update` queue set to `immediate`. This was the root
cause of slow integration tests in CI.
- Remove the sync branch code as this is already being done in the Git
post-receive hook.
- Add tests to proof the branch models are in sync even with this code
removed.

(cherry picked from commit 90110e1f44)
2023-12-18 14:39:08 +01:00
..
archiver Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
files Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
adopt.go
adopt_test.go
avatar.go
avatar_test.go
branch.go [GITEA] Remove redundant syncBranchToDB 2023-12-18 14:39:08 +01:00
cache.go
check.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
collaboration.go
collaboration_test.go
commit.go
create.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
create_test.go Remove unnecessary parameter (#27671) 2023-10-18 15:03:10 +00:00
delete.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
delete_test.go Delete repos of org when purge delete user (#27273) 2023-10-19 13:16:11 +00:00
fork.go
fork_test.go
hooks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
lfs.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
lfs_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 2023-12-07 15:27:36 +08:00
main_test.go
push.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
repository.go Remove unnecessary parameter (#27671) 2023-10-18 15:03:10 +00:00
repository_test.go
review.go
review_test.go
template.go
transfer.go
transfer_test.go