Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34
Commitff06042
Improve ci (#40)
* Use new Transifex CLI toolThe Python implementation named transifex-client uses Transifex'sAPIv2, which is deprecated and will sunset in november 2022.The new tool, called Transifex CLI, is written in Golang and isAPIv3-ready. So adjusting the CI and requirements.txt is required.* Fix condition in the merge jobHaving the proper condition is important to have the translationupdate in the latest Python version (python-newest project), andthe condition wouldn't match the current repository.Co-authored-by: Maciej Olko <maciej.olko@affirm.com>* Update sphinx-intl required versionLast released sphinx-intl uses old transifex-client, which usesthe deprecated Transifex APIv2. There is a fix committed, butit is unreleased. So using specific commit where new TransifexCLI tool works.* Update script to work with the new TX commandPrevious solution of patching .tx/config does not work with thenew client, so the script had to be updated with new solution.Now, translations are pulled into a sub-directory of cpython, andthen installed in the languages's repository.Also using 'realpath' tool in ROOTDIR to retrieve absolute path,which actually eases referencing the repository root directory.* Update actions versionsOne of the reason is that some of them use node.js 12, which isnow deprecated. Actions is displaying warnings about it.v4 of setup-python is particular useful because it introducespackage caching, which reduces the time of workflow run.* Disable pushing translationsSource files auto-update is now done elsewhereCo-authored-by: Maciej Olko <maciej.olko@affirm.com>1 parent5a36eec commitff06042
File tree
3 files changed
+30
-26
lines changed- .github/workflows
- scripts
3 files changed
+30
-26
lines changedLines changed: 18 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 |
| |
39 | 45 |
| |
40 | 46 |
| |
| |||
79 | 85 |
| |
80 | 86 |
| |
81 | 87 |
| |
82 |
| - | |
| 88 | + | |
83 | 89 |
| |
84 | 90 |
| |
85 | 91 |
| |
86 |
| - | |
| 92 | + | |
87 | 93 |
| |
88 | 94 |
| |
89 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
90 | 102 |
| |
91 | 103 |
| |
92 | 104 |
| |
| |||
103 | 115 |
| |
104 | 116 |
| |
105 | 117 |
| |
106 |
| - | |
| 118 | + | |
107 | 119 |
| |
108 | 120 |
| |
109 | 121 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 | 1 |
| |
3 |
| - | |
| 2 | + | |
4 | 3 |
| |
5 | 4 |
| |
6 | 5 |
|
Lines changed: 11 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
| 28 | + | |
| 29 | + | |
41 | 30 |
| |
42 |
| - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + |
0 commit comments
Comments
(0)