Commit 0d1aa26
committed
fix(preprod): Understand ghe.com as github_enterprise
To determine vcs_provider we use part of the origin of the URL:
https://github.com/foo/bar -> github
https://gitlab.com/abcdef -> gitlab
This adds special handling for github enterprize remotes. Now instead
of:
https://foo.ghe.com/foo/bar -> ghe
we end up with:
https://foo.ghe.com/foo/bar -> github_enterprise
as the backend expects.1 parent c4ca248 commit 0d1aa26
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
| |||
1085 | 1091 | | |
1086 | 1092 | | |
1087 | 1093 | | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1088 | 1101 | | |
1089 | 1102 | | |
1090 | 1103 | | |
| |||
1125 | 1138 | | |
1126 | 1139 | | |
1127 | 1140 | | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
1128 | 1150 | | |
1129 | 1151 | | |
1130 | 1152 | | |
| |||
0 commit comments