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
Giteabot 060026995a
Fix pull request check list is limited (#26179) (#26245)
Backport #26179 by @CaiCandong

In the original implementation, we can only get the first 30 records of
the commit status (the default paging size), if the commit status is
more than 30, it will lead to the bug #25990. I made the following two
changes.
- On the page, use the ` db.ListOptions{ListAll: true}` parameter
instead of `db.ListOptions{}`
- The `GetLatestCommitStatus` function makes a determination as to
whether or not a pager is being used.

fixed #25990

Co-authored-by: caicandong <50507092+CaiCandong@users.noreply.github.com>
2 years ago
..
check.go Improve queue and logger context (#24924) 2 years ago
check_test.go Improve queue and logger context (#24924) 2 years ago
comment.go Make more functions use ctx instead of db.DefaultContext (#24068) 2 years ago
commit_status.go Fix pull request check list is limited (#26179) (#26245) 2 years ago
edits.go Implement FSFE REUSE for golang files (#21840) 2 years ago
lfs.go Refactor and tidy-up the merge/update branch code (#22568) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
merge.go Avoid amending the Rebase and Fast-forward merge if there is no message template (#25779) (#25809) 2 years ago
merge_merge.go Refactor and tidy-up the merge/update branch code (#22568) 2 years ago
merge_prepare.go Refactor merge/update git command calls (#23366) 2 years ago
merge_rebase.go Merge message template support for rebase without merge commit (#22669) 2 years ago
merge_squash.go Improve squash merge commit author and co-author with private emails (#22977) 2 years ago
merge_test.go Support template for merge message description (#22248) 2 years ago
patch.go Refactor and tidy-up the merge/update branch code (#22568) 2 years ago
patch_unmerged.go Implement FSFE REUSE for golang files (#21840) 2 years ago
pull.go Fix pull request check list is limited (#26179) (#26245) 2 years ago
pull_test.go Support template for merge message description (#22248) 2 years ago
review.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2 years ago
temp_repo.go Refactor and tidy-up the merge/update branch code (#22568) 2 years ago
update.go Refactor and tidy-up the merge/update branch code (#22568) 2 years ago
update_rebase.go Refactor and tidy-up the merge/update branch code (#22568) 2 years ago