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/git
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
..
branches.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
branches_test.go Use more specific test methods (#24265) 2 years ago
commit_status.go Fix pull request check list is limited (#26179) (#26245) 2 years ago
commit_status_test.go Use context parameter in models/git (#22367) 2 years ago
lfs.go Fix bugs in LFS meta garbage collection (#26122) (#26157) 2 years ago
lfs_lock.go Introduce path Clean/Join helper functions (#23495) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
protected_banch_list_test.go Fix branch protection priority (#24045) 2 years ago
protected_branch.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
protected_branch_list.go Fix branch protection priority (#24045) 2 years ago
protected_branch_test.go Supports wildcard protected branch (#20825) 2 years ago
protected_tag.go Use context parameter in models/git (#22367) 2 years ago
protected_tag_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago