jonasfranz / drone-crowdin

Drone plugin for updating crowdin translations
MIT License
6 stars 0 forks source link

V2 API keys do not work #6

Open lcomrade opened 1 year ago

lcomrade commented 1 year ago

This plugin uses Crowdin API v1, which is marked as deprecated. You cannot generate a v1 key now, only a v2 key. The old v1 keys still work.

The problem is that the v2 key does not allow you to use the v1 API.

Drone CI pipline logs:

latest: Pulling from jonasfranz/crowdin

Digest: sha256:84e08cd6f4374a9eb1e74118c26a2b83890e2d4d0c629f8d2a7df9f9514efb90

Status: Image is up to date for jonasfranz/crowdin:latest

2022/12/01 08:56:22 error while building languages: Error from crowdin: Requested project doesn't exist or the API key is invalid (error code 1)

The same problem, but in a different library: https://github.com/crowdin/crowdin-api-client-js/issues/76

Please update to Crowdin API v2.

lcomrade commented 1 year ago

It turned out to be easier to write it all over again: https://git.lcomrade.su/root/drone-crowdin-v2

My Drone plugin has nothing to do with jonasfranz/drone-crowdin, everything is made from scratch.