Skip to content

transifex-client must be replaced with transifex CLI tool #2091

@rffontenelle

Description

@rffontenelle

The old transifex-client uses the Transifex APIv2 which is deprecated as of January 2022 and will sunset in the end of November 2022. It is recommended to update your automation workflow to install the new transifex CLI tool, which is implemented in Go language. See Introduction to the Client for more information about this client.

The summarize the steps I see so far:

  1. Set to install the new client:
 - name: Instala el cliente Transifex
   run: curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
   working-directory: /usr/local/bin
  1. Change requirements.txt removing "transifex-client" (old client)
  2. Change requirements.txt replacing "sphinx-intl" with git+https://github.com/sphinx-doc/sphinx-intl@6b3913fea5a8c9b819818b9b28b6d0d0b6f022b3 (that's the first yet-unreleased commit of sphinx-intl that supports the new Transifex CLI tool)
  3. Update CONTRIBUTING.rst to make sure it mentions the installation of the new client, as well as the instructions are updated with the output of the new client.

Keep an eye on sphinx-intl #75; as soon as released, revert step 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions