0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-03 02:05:51 -05:00
forgejo/models/issues
Lunny Xiao 368e9e0f1b
Add transaction when creating pull request created dirty data (#26259) (#26437)
Backport #26259 

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-11 05:27:23 +00:00
..
assignees.go
assignees_test.go
comment.go Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
comment_code.go
comment_list.go
comment_test.go
content_history.go
content_history_test.go
dependency.go
dependency_test.go
issue.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-27 10:36:54 +08:00
issue_index.go
issue_label.go
issue_list.go Improve loadprojects for issue list (#25468) (#25493) 2023-06-26 02:06:58 +00:00
issue_list_test.go Fix empty project displayed in issue sidebar (#25802) (#25854) 2023-07-12 19:07:03 +02:00
issue_lock.go
issue_project.go Fix empty project displayed in issue sidebar (#25802) (#25854) 2023-07-12 19:07:03 +02:00
issue_search.go
issue_stats.go
issue_test.go Fix empty project displayed in issue sidebar (#25802) (#25854) 2023-07-12 19:07:03 +02:00
issue_update.go Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
issue_user.go Fix bug with sqlite load read (#26305) (#26339) 2023-08-05 10:35:08 +03:00
issue_user_test.go Fix bug with sqlite load read (#26305) (#26339) 2023-08-05 10:35:08 +03:00
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
label.go
label_test.go
main_test.go
milestone.go
milestone_test.go
pull.go Add transaction when creating pull request created dirty data (#26259) (#26437) 2023-08-11 05:27:23 +00:00
pull_list.go
pull_test.go Add transaction when creating pull request created dirty data (#26259) (#26437) 2023-08-11 05:27:23 +00:00
reaction.go
reaction_test.go
review.go Add transaction when creating pull request created dirty data (#26259) (#26437) 2023-08-11 05:27:23 +00:00
review_list.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-27 10:36:54 +08:00
review_test.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-27 10:36:54 +08:00
stopwatch.go
stopwatch_test.go
tracked_time.go
tracked_time_test.go