python-docs-ja icon indicating copy to clipboard operation
python-docs-ja copied to clipboard

Improve ci

Open rffontenelle opened this issue 2 years ago • 3 comments

  • Use the new Transifex CLI toll: The Python implementation named transifex-client uses Transifex's APIv2, which is deprecated and will sunset in november 2022. The new tool, called Transifex CLI, is written in Golang and is APIv3-ready. So adjusting the CI and requirements.txt is required.
  • Fix condition in the merge job]: Having the proper condition is important to have the translation update in the latest Python version (python-newest project), and the condition wouldn't match the current repository.

rffontenelle avatar Oct 19 '22 11:10 rffontenelle

@m-aciek Thanks for the suggestion.

rffontenelle avatar Oct 20 '22 12:10 rffontenelle

Possibly we also need to change format of .tx/config file for new CLI. Is it generated automatically?

m-aciek avatar Oct 20 '22 13:10 m-aciek

@m-aciek Currently .tx/config is recreated when scripts/update.sh runs the sed command outputting to .tx/config. Still, some changes are necessary to fit the new tx client, so thanks for bringing this up.

rffontenelle avatar Oct 21 '22 01:10 rffontenelle

The last commit disables pushing source files to Transifex (tx push) because translations are now updated via rffontenelle/docspush-transifex, as discussed in Python's translation mailing list.

rffontenelle avatar Nov 12 '22 11:11 rffontenelle