forked from gitea/gitea
1
0
Fork 0
gitea/services/issue
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>
2023-08-10 02:39:21 +00:00
..
assignee.go Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
assignee_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
comments.go Delete `issue_service.CreateComment` (#26298) 2023-08-04 13:34:34 +00:00
commit.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
commit_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
content.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
issue.go Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
issue_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
label.go Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
label_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
milestone.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
milestone_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
status.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
template.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2023-05-09 01:30:14 +02:00