python-docs-ja
python-docs-ja copied to clipboard
Improve ci
- 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.
@m-aciek Thanks for the suggestion.
Possibly we also need to change format of .tx/config file for new CLI. Is it generated automatically?
@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.
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.