forgejo/services
caicandong 13359581df
refactor improve NoBetterThan (#26126)
- The `NoBetterThan` function can only handle comparisons between
"pending," "success," "error," and "failure." For any other comparison,
we directly return false. This prevents logic errors like the one in
#26121.
- The callers of the `NoBetterThan` function should also avoid making
incomparable calls.

---------

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: puni9869 <80308335+puni9869@users.noreply.github.com>
2023-07-26 08:52:07 +00:00
..
actions Implement auto-cancellation of concurrent jobs if the event is push (#25716) 2023-07-25 11:15:55 +08:00
agit Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
asymkey
attachment
auth
automerge
context
convert refactor improve NoBetterThan (#26126) 2023-07-26 08:52:07 +00:00
cron Replace gogs/cron with go-co-op/gocron (#25977) 2023-07-24 04:13:41 +00:00
externalaccount
forms Allow Organisations to have a E-Mail (#25082) 2023-07-25 08:26:27 +00:00
gitdiff
issue Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
lfs
mailer
markup
migrations Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
mirror
org
packages
pull Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
release
repository Fix bugs in LFS meta garbage collection (#26122) 2023-07-26 07:02:53 +00:00
task
user
webhook
wiki