Giter VIP home page Giter VIP logo

drone-crowdin's Introduction

drone-crowdin

Go Doc Go Report Build Status

Drone plugin to update translation files at Crowdin. For the usage information and a listing of the available options please take a look at the docs.

Build

Build the binary with the following commands:

go build

Docker

Build the Docker image with the following commands:

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-crowdin
docker build --rm -t jonasfranz/crowdin .

drone-crowdin's People

Contributors

jonasfranz avatar techknowlogick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

drone-crowdin's Issues

V2 API keys do not work

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: crowdin/crowdin-api-client-js#76

Please update to Crowdin API v2.

Wrong setting in docs examples

Where: https://github.com/jonasfranz/drone-crowdin/blob/master/DOCS.md

Current:

pipeline:
  crowdin:
    image: jonasfranz/crowdin
    project_identifier: example
    project_key: 1bc29b36f623ba82aaf6724fd3b16718
    files:
      example: options/example.ini
      example2: options/example2.ini

Should be

pipeline:
  crowdin:
    image: jonasfranz/crowdin
    settings:
      project_identifier: example
      project_key: 1bc29b36f623ba82aaf6724fd3b16718
      files:
        example: options/example.ini
        example2: options/example2.ini

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.