Drone

Gitea 1.12 loop

Hello
The new verison of gitea 1.12 is incompatible with drone for the moment.
Sync repos make a huge amount of api request that loop.
Gitea change the call /api/v1/users/repo by adding pagination, this is the cause ?

Thanks
Logs gitea:

web_1    | [Macaron] 2020-06-18 21:41:16: Completed GET /api/v1/user/repos 200 OK in 39.948598ms
    web_1    | [Macaron] 2020-06-18 21:41:16: Started GET /api/v1/user/repos for 212.83.132.254
    web_1    | [Macaron] 2020-06-18 21:41:16: Completed GET /api/v1/user/repos 200 OK in 39.582933ms
    web_1    | [Macaron] 2020-06-18 21:41:16: Started GET /api/v1/user/repos for 212.83.132.254
    web_1    | [Macaron] 2020-06-18 21:41:16: Completed GET /api/v1/user/repos 200 OK in 33.640218ms
    web_1    | [Macaron] 2020-06-18 21:41:16: Started GET /api/v1/user/repos for 212.83.132.254
    web_1    | [Macaron] 2020-06-18 21:41:16: Completed GET /api/v1/user/repos 200 OK in 32.732579ms
    web_1    | [Macaron] 2020-06-18 21:41:16: Started GET /api/v1/user/repos for 212.83.132.254
    web_1    | [Macaron] 2020-06-18 21:41:16: Completed GET /api/v1/user/repos 200 OK in 31.374129ms
    web_1    | [Macaron] 2020-06-18 21:41:16: Started GET /api/v1/user/repos for 212.83.132.254
    web_1    | [Macaron] 2020-06-18 21:41:16: Completed GET /api/v1/user/repos 200 OK in 80.300703ms
    web_1    | [Macaron] 2020-06-18 21:41:16: Started GET /api/v1/user/repos for 212.83.132.254
    web_1    | [Macaron] 2020-06-18 21:41:16: Completed GET /api/v1/user/repos 200 OK in 63.904318ms
    web_1    | [Macaron] 2020-06-18 21:41:16: Started GET /api/v1/user/repos for 212.83.132.254
    web_1    | [Macaron] 2020-06-18 21:41:16: Completed GET /api/v1/user/repos 200 OK in 33.186863ms
    web_1    | [Macaron] 2020-06-18 21:41:16: Started GET /api/v1/user/repos for 212.83.132.254

yes, someone sent us a PR that we will merge

1 Like