Redirect issue if repo has configured external tracker. (#9247)

* Redirect issue if repo has configured external tracker.

* Handle error

* Add tests for redirect

* Fix test consistency
This commit is contained in:
David Svantesson 2019-12-07 05:21:18 +01:00 committed by techknowlogick
parent 82e0383d21
commit 9cb418e623
91 changed files with 2150 additions and 8 deletions

View file

@ -36,4 +36,17 @@
head_branch: branch2
base_branch: master
merge_base: 0abcb056019adb83
has_merged: false
-
id: 4
type: 0 # gitea pull request
status: 2 # mergable
issue_id: 9
index: 1
head_repo_id: 48
base_repo_id: 48
head_branch: branch1
base_branch: master
merge_base: abcdef1234567890
has_merged: false