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/services/pull
6543 10e2f29144
Cache PullRequest Divergence (#10914)
* Cache PullRequest Divergence

* only re-calc divergence if AddTestPullRequestTask() is exec

* migrate already open pulls

* finalize

* take care of closed&not-merged+deleted-branch pull requests

* fix nil pointer exeption

Signed-off-by: 6543 <6543@obermui.de>

* try this

* no error its a warn

* init gitea-repositories-meta

* dont use gitDivergence type

* CI.restart()

* CI.restart()

* CI.restart()

* CI.restart()

* check IsUserAllowedToUpdate independend from CommitsBehind
5 years ago
..
check.go Only update merge_base in checker if not already merged (#10908) 5 years ago
check_test.go Only check for conflicts/merging if the PR has not been merged in the interim (#10132) 5 years ago
commit_status.go Fix bug on pull view when required status check no ci result (#10648) 5 years ago
lfs.go Add basic repository lfs management (#7199) 5 years ago
main_test.go Move some pull request functions from models to services (#9266) 5 years ago
merge.go Load pr Issue Poster on API too (#11033) 5 years ago
patch.go Generate Diff and Patch direct from Pull head (#10936) 5 years ago
pull.go Cache PullRequest Divergence (#10914) 5 years ago
pull_test.go Move PushToBaseRepo from models to services/pull (#9352) 5 years ago
review.go Display pull request head branch even the branch deleted or repository deleted (#10413) 5 years ago
temp_repo.go Prevent deadlock in pull_service.GetDiverging(pr) (#10905) 5 years ago
update.go Prevent deadlock in pull_service.GetDiverging(pr) (#10905) 5 years ago