Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix gen_tld.py on non-unicode locale encodings | Nikita Kozlovskiy | 2023-06-28 | 1 | -11/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix gen_tld.py on non-unicode locale encodings In python versions prior to 3.7, as well as when using non-unicode locale encodings, the `gen_tld.py` script fails: ``` ydb/ydb/library/cpp/tld % git rev-parse head 97b1a695d3be4edc08550d3ae7d200f6d9f3d42e ydb/ydb/library/cpp/tld % LC_CTYPE=C ~/.pyenv/versions/3.6.15/bin/python gen_tld.py tlds-alpha-by-domain.txt|md5 Traceback (most recent call last): File "gen_tld.py", line 57, in <module> main() File "gen_tld.py", line 39, in main sys.stdout.write('%s*/\n' % str.rstrip()) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128) ``` This pull request fixes this behevaiour by explicit set output encoding to utf-8. To ensure that I do not break anything, I checked the MD5 hash of the generated file before and after making my changes: ``` ydb/ydb/library/cpp/tld % git rev-parse head 97b1a695d3be4edc08550d3ae7d200f6d9f3d42e ydb/ydb/library/cpp/tld % python3 gen_tld.py tlds-alpha-by-domain.txt|md5 564242d355d842db790977df3642a405 ``` After ``` ydb/ydb/library/cpp/tld % git rev-parse head 1096dd7f034c573aabdf3bac2dc4b181a6688c71 ydb/ydb/library/cpp/tld % python3 gen_tld.py tlds-alpha-by-domain.txt|md5 564242d355d842db790977df3642a405 ydb/ydb/library/cpp/tld % LC_CTYPE=C ~/.pyenv/versions/3.6.15/bin/python gen_tld.py tlds-alpha-by-domain.txt|md5 564242d355d842db790977df3642a405 ``` Pull Request resolved: #279 | ||||
* | add ymake export to ydb | alexv-smirnov | 2023-06-13 | 2 | -0/+34 |
| | |||||
* | External build system generator release 29 | robot-ya-builder | 2023-04-19 | 1 | -1/+1 |
| | | | Update tools: yexport | ||||
* | Revert ymake build from ydb oss export | alexv-smirnov | 2023-03-28 | 2 | -34/+0 |
| | |||||
* | External build system generator release 21 | robot-ya-builder | 2023-03-17 | 1 | -3/+3 |
| | | | Update tools: yexport | ||||
* | add library/cpp/actors, ymake build to ydb oss export | alexv-smirnov | 2023-03-15 | 2 | -0/+34 |
| | |||||
* | Intermediate changes | robot-piglet | 2023-03-09 | 2 | -0/+35 |
| | |||||
* | Intermediate changes | robot-piglet | 2023-03-07 | 3 | -2/+2 |
| | |||||
* | External build system generator release 17 | robot-ya-builder | 2023-03-06 | 1 | -1/+1 |
| | | | Update tools: yexport | ||||
* | Intermediate changes | robot-piglet | 2023-02-07 | 3 | -21/+21 |
| | |||||
* | Intermediate changes | robot-piglet | 2023-02-07 | 3 | -21/+21 |
| | |||||
* | External build system generator release 12 | robot-ya-builder | 2023-01-31 | 1 | -1/+1 |
| | | | Update tools: yexport | ||||
* | External build system generator release 8 | robot-ya-builder | 2023-01-17 | 4 | -4/+4 |
| | | | Update tools: yexport | ||||
* | Port gen_tld to py3 | svidyuk | 2022-12-16 | 4 | -18/+18 |
| | |||||
* | Sync linux-headers instead of using system ones | thegeorg | 2022-12-15 | 4 | -25/+108 |
| | |||||
* | intermediate changes | arcadia-devtools | 2022-03-22 | 1 | -64/+15 |
| | | | | ref:a25e02cb9e00a4378514ae6347e8caf5a7808f72 | ||||
* | intermediate changes | arcadia-devtools | 2022-03-15 | 2 | -34/+0 |
| | | | | ref:ca7a95e8c9a9d780f96497136a152091d54e61b5 | ||||
* | Improve SystemCommand check in YDB CLI, KIKIMR-14321 | pnv1 | 2022-03-01 | 1 | -0/+8 |
| | | | | ref:fe5ed49138dce046a93c364cc8879fad3abf3eef | ||||
* | intermediate changes | arcadia-devtools | 2022-02-24 | 1 | -1/+1 |
| | | | | ref:70ac1bca1acbb458c863fb4686263967ea009057 | ||||
* | intermediate changes | arcadia-devtools | 2022-02-22 | 1 | -3/+1 |
| | | | | ref:a2def34fe7b595460d7ee820cdd054755d790eeb | ||||
* | intermediate changes | arcadia-devtools | 2022-02-18 | 1 | -0/+27 |
| | | | | ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3 | ||||
* | Restoring authorship annotation for <chelentano@yandex-team.ru>. Commit 2 of 2. | chelentano | 2022-02-10 | 1 | -36/+36 |
| | |||||
* | Restoring authorship annotation for <chelentano@yandex-team.ru>. Commit 1 of 2. | chelentano | 2022-02-10 | 1 | -36/+36 |
| | |||||
* | Restoring authorship annotation for <ashagarov@yandex-team.ru>. Commit 2 of 2. | ashagarov | 2022-02-10 | 1 | -23/+23 |
| | |||||
* | Restoring authorship annotation for <ashagarov@yandex-team.ru>. Commit 1 of 2. | ashagarov | 2022-02-10 | 1 | -23/+23 |
| | |||||
* | Restoring authorship annotation for <abolkhovityanov@yandex-team.ru>. Commit ↵ | abolkhovityanov | 2022-02-10 | 7 | -1586/+1586 |
| | | | | 2 of 2. | ||||
* | Restoring authorship annotation for <abolkhovityanov@yandex-team.ru>. Commit ↵ | abolkhovityanov | 2022-02-10 | 7 | -1586/+1586 |
| | | | | 1 of 2. | ||||
* | Restoring authorship annotation for <abogutskiy@yandex-team.ru>. Commit 2 of 2. | abogutskiy | 2022-02-10 | 1 | -1/+1 |
| | |||||
* | Restoring authorship annotation for <abogutskiy@yandex-team.ru>. Commit 1 of 2. | abogutskiy | 2022-02-10 | 1 | -1/+1 |
| | |||||
* | Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 2 of 2. | mowgli | 2022-02-10 | 3 | -38/+38 |
| | |||||
* | Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 1 of 2. | mowgli | 2022-02-10 | 3 | -38/+38 |
| | |||||
* | Restoring authorship annotation for Nikita Slyusarev ↵ | Nikita Slyusarev | 2022-02-10 | 1 | -4/+4 |
| | | | | <nslus@yandex-team.com>. Commit 2 of 2. | ||||
* | Restoring authorship annotation for Nikita Slyusarev ↵ | Nikita Slyusarev | 2022-02-10 | 1 | -4/+4 |
| | | | | <nslus@yandex-team.com>. Commit 1 of 2. | ||||
* | Restoring authorship annotation for <alzobnin@yandex-team.ru>. Commit 2 of 2. | alzobnin | 2022-02-10 | 1 | -3/+3 |
| | |||||
* | Restoring authorship annotation for <alzobnin@yandex-team.ru>. Commit 1 of 2. | alzobnin | 2022-02-10 | 1 | -3/+3 |
| | |||||
* | Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2. | yazevnul | 2022-02-10 | 1 | -4/+4 |
| | |||||
* | Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2. | yazevnul | 2022-02-10 | 1 | -4/+4 |
| | |||||
* | Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 2 of 2. | eeight | 2022-02-10 | 1 | -2/+2 |
| | |||||
* | Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2. | eeight | 2022-02-10 | 1 | -2/+2 |
| | |||||
* | Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. ↵ | Ilnur Khuziev | 2022-02-10 | 2 | -2/+2 |
| | | | | Commit 2 of 2. | ||||
* | Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. ↵ | Ilnur Khuziev | 2022-02-10 | 2 | -2/+2 |
| | | | | Commit 1 of 2. | ||||
* | Restoring authorship annotation for <cerevra@yandex-team.ru>. Commit 2 of 2. | cerevra | 2022-02-10 | 4 | -6/+6 |
| | |||||
* | Restoring authorship annotation for <cerevra@yandex-team.ru>. Commit 1 of 2. | cerevra | 2022-02-10 | 4 | -6/+6 |
| | |||||
* | Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. ↵ | Anton Samokhvalov | 2022-02-10 | 5 | -55/+55 |
| | | | | Commit 2 of 2. | ||||
* | Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. ↵ | Anton Samokhvalov | 2022-02-10 | 5 | -55/+55 |
| | | | | Commit 1 of 2. | ||||
* | Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2. | orivej | 2022-02-10 | 1 | -1/+1 |
| | |||||
* | Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2. | orivej | 2022-02-10 | 1 | -1/+1 |
| | |||||
* | intermediate changes | Devtools Arcadia | 2022-02-07 | 7 | -0/+1762 |
ref:cde9a383711a11544ce7e107a78147fb96cc4029 |