woodpecker/server
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
..
api Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697) 2022-01-17 23:46:59 +01:00
grpc Fix pipeline timestamps (#730) 2022-01-31 15:38:39 +01:00
logging Add linter structcheck (#537) 2021-11-26 00:27:43 +01:00
model Fix pipeline timestamps (#730) 2022-01-31 15:38:39 +01:00
plugins Ignore items from WOODPECKER_ENVIRONMENT only containing a key and no value (#781) 2022-02-23 08:59:52 +01:00
pubsub Add linter staticcheck (#535) 2021-11-25 17:15:36 +01:00
queue gofumpt -w -l -extra . (#661) 2022-01-05 21:50:23 +01:00
remote View better error if repo was deleted/renamed (#780) 2022-02-24 14:54:05 +01:00
router Show yml config of pipeline in UI (#649) 2022-01-09 03:59:45 +01:00
shared Add support for default clone image environment variable (#769) 2022-02-10 17:05:19 +01:00
store Let non required migration tasks fail and continue (#729) 2022-01-31 15:50:10 +01:00
swagger Add linter misspell (#530) 2021-11-24 02:01:12 +01:00
web gofumpt -w -l -extra . (#661) 2022-01-05 21:50:23 +01:00
config.go Add support for default clone image environment variable (#769) 2022-02-10 17:05:19 +01:00