githaven-fork/services/repository
Lunny Xiao f2d12f7b03
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#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>
2020-01-25 10:48:22 +08:00
..
generate.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
main_test.go Move transfer repository and rename repository on a service package and start action notification (#8573) 2019-11-15 16:06:11 +08:00
repository.go Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) 2020-01-25 10:48:22 +08:00
transfer_test.go Move transfer repository and rename repository on a service package and start action notification (#8573) 2019-11-15 16:06:11 +08:00
transfer.go Move RepoWorkingPool to services/repository package (#9754) 2020-01-15 04:14:50 +01:00