woodpecker/server/remote
qwerty287 28e96a3851
View better error if repo was deleted/renamed (#780)
If the repo was renamed, there's an issue with Gitea: it redirects the /api/v1/repos/<owner>/<repo>/hooks POST request to a GET request at the same URL.
This URL returns the list of all hooks, thus the Gitea SDK can't parse the response into a single gitea.Hook type.

A better error is also visisble if the repo was deleted.
2022-02-24 14:54:05 +01:00
..
bitbucket Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697) 2022-01-17 23:46:59 +01:00
bitbucketserver Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697) 2022-01-17 23:46:59 +01:00
coding Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697) 2022-01-17 23:46:59 +01:00
common Allow to change status context again (#674) 2022-01-29 20:37:36 +01:00
gitea View better error if repo was deleted/renamed (#780) 2022-02-24 14:54:05 +01:00
github Remove unused flags / options (#693) 2022-01-31 15:38:00 +01:00
gitlab Remove unused flags / options (#693) 2022-01-31 15:38:00 +01:00
gogs Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697) 2022-01-17 23:46:59 +01:00
mocks Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697) 2022-01-17 23:46:59 +01:00
errors.go Refactor: move remote/ to server/remote/ (#344) 2021-09-23 18:25:51 +02:00
remote.go Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697) 2022-01-17 23:46:59 +01:00