-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch #9927
Conversation
3f2c159
to
41292b8
Compare
Codecov Report
@@ Coverage Diff @@
## master #9927 +/- ##
=========================================
Coverage ? 42.26%
=========================================
Files ? 610
Lines ? 80364
Branches ? 0
=========================================
Hits ? 33969
Misses ? 42217
Partials ? 4178
Continue to review full report at Codecov.
|
It's ready to review now. |
7c834c3
to
3b822df
Compare
@guillep2k @zeripath done. |
…lated pull requests when delete branch
3b822df
to
74754bd
Compare
@guillep2k done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…lated pull requests when delete head repository or head branch (go-gitea#9927) * fix pull view when head repository or head branch missed and close related pull requests when delete branch * fix pull view broken when head repository deleted * close pull requests when head repositories deleted * Add tests for broken pull request head repository or branch * fix typo * ignore special error when close pull request Co-authored-by: Lauris BH <lauris@nix.lv>
also fix #2466 |
…lated pull requests when delete head repository or head branch (#9927) (#9974) * fix pull view when head repository or head branch missed and close related pull requests when delete branch * fix pull view broken when head repository deleted * close pull requests when head repositories deleted * Add tests for broken pull request head repository or branch * fix typo * ignore special error when close pull request Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lauris BH <lauris@nix.lv>
Fix #9914