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
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259)
Fix #26129
Replace #26258 

This PR will introduce a transaction on creating pull request so that if
some step failed, it will rollback totally. And there will be no dirty
pull request exist.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2 years ago
..
actions Fix the bug when getting files changed for `pull_request_target` event (#26320) 2 years ago
agit Add context parameter to some database functions (#26055) 2 years ago
asymkey Add context cache as a request level cache (#22294) 2 years ago
attachment Preserve file size when creating attachments (#23406) 2 years ago
auth Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
automerge Improve queue and logger context (#24924) 2 years ago
context Replace `interface{}` with `any` (#25686) 2 years ago
convert Fix API leaking Usermail if not logged in (#25097) 2 years ago
cron Allow package cleanup from admin page (#25307) 2 years ago
externalaccount Replace `interface{}` with `any` (#25686) 2 years ago
forms Allow Organisations to have a E-Mail (#25082) 2 years ago
gitdiff Display human-readable text instead of cryptic filemodes (#26352) 2 years ago
issue Add transaction when creating pull request created dirty data (#26259) 2 years ago
lfs Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
mailer Replace `interface{}` with `any` (#25686) 2 years ago
markup Decouple the different contexts from each other (#24786) 2 years ago
migrations Add context parameter to some database functions (#26055) 2 years ago
mirror Sync branches when mirroring (#25722) 2 years ago
org Refactor rename user and rename organization (#24052) 2 years ago
packages Allow package cleanup from admin page (#25307) 2 years ago
pull Add transaction when creating pull request created dirty data (#26259) 2 years ago
release Less naked returns (#25713) 2 years ago
repository Show branches and tags that contain a commit (#25180) 2 years ago
task Add `Retry` button when creating a mirror-repo fails (#26228) 2 years ago
user add unit test for user renaming (#26261) 2 years ago
webhook Add pull request review request webhook event (#26401) 2 years ago
wiki Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 2 years ago