aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/tld
Commit message (Collapse)AuthorAgeFilesLines
* fix gen_tld.py on non-unicode locale encodingsNikita Kozlovskiy2023-06-281-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 ydbalexv-smirnov2023-06-132-0/+34
|
* External build system generator release 29robot-ya-builder2023-04-191-1/+1
| | | Update tools: yexport
* Revert ymake build from ydb oss exportalexv-smirnov2023-03-282-34/+0
|
* External build system generator release 21robot-ya-builder2023-03-171-3/+3
| | | Update tools: yexport
* add library/cpp/actors, ymake build to ydb oss exportalexv-smirnov2023-03-152-0/+34
|
* Intermediate changesrobot-piglet2023-03-092-0/+35
|
* Intermediate changesrobot-piglet2023-03-073-2/+2
|
* External build system generator release 17robot-ya-builder2023-03-061-1/+1
| | | Update tools: yexport
* Intermediate changesrobot-piglet2023-02-073-21/+21
|
* Intermediate changesrobot-piglet2023-02-073-21/+21
|
* External build system generator release 12robot-ya-builder2023-01-311-1/+1
| | | Update tools: yexport
* External build system generator release 8robot-ya-builder2023-01-174-4/+4
| | | Update tools: yexport
* Port gen_tld to py3svidyuk2022-12-164-18/+18
|
* Sync linux-headers instead of using system onesthegeorg2022-12-154-25/+108
|
* intermediate changesarcadia-devtools2022-03-221-64/+15
| | | | ref:a25e02cb9e00a4378514ae6347e8caf5a7808f72
* intermediate changesarcadia-devtools2022-03-152-34/+0
| | | | ref:ca7a95e8c9a9d780f96497136a152091d54e61b5
* Improve SystemCommand check in YDB CLI, KIKIMR-14321pnv12022-03-011-0/+8
| | | | ref:fe5ed49138dce046a93c364cc8879fad3abf3eef
* intermediate changesarcadia-devtools2022-02-241-1/+1
| | | | ref:70ac1bca1acbb458c863fb4686263967ea009057
* intermediate changesarcadia-devtools2022-02-221-3/+1
| | | | ref:a2def34fe7b595460d7ee820cdd054755d790eeb
* intermediate changesarcadia-devtools2022-02-181-0/+27
| | | | ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
* Restoring authorship annotation for <chelentano@yandex-team.ru>. Commit 2 of 2.chelentano2022-02-101-36/+36
|
* Restoring authorship annotation for <chelentano@yandex-team.ru>. Commit 1 of 2.chelentano2022-02-101-36/+36
|
* Restoring authorship annotation for <ashagarov@yandex-team.ru>. Commit 2 of 2.ashagarov2022-02-101-23/+23
|
* Restoring authorship annotation for <ashagarov@yandex-team.ru>. Commit 1 of 2.ashagarov2022-02-101-23/+23
|
* Restoring authorship annotation for <abolkhovityanov@yandex-team.ru>. Commit ↵abolkhovityanov2022-02-107-1586/+1586
| | | | 2 of 2.
* Restoring authorship annotation for <abolkhovityanov@yandex-team.ru>. Commit ↵abolkhovityanov2022-02-107-1586/+1586
| | | | 1 of 2.
* Restoring authorship annotation for <abogutskiy@yandex-team.ru>. Commit 2 of 2.abogutskiy2022-02-101-1/+1
|
* Restoring authorship annotation for <abogutskiy@yandex-team.ru>. Commit 1 of 2.abogutskiy2022-02-101-1/+1
|
* Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 2 of 2.mowgli2022-02-103-38/+38
|
* Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 1 of 2.mowgli2022-02-103-38/+38
|
* Restoring authorship annotation for Nikita Slyusarev ↵Nikita Slyusarev2022-02-101-4/+4
| | | | <nslus@yandex-team.com>. Commit 2 of 2.
* Restoring authorship annotation for Nikita Slyusarev ↵Nikita Slyusarev2022-02-101-4/+4
| | | | <nslus@yandex-team.com>. Commit 1 of 2.
* Restoring authorship annotation for <alzobnin@yandex-team.ru>. Commit 2 of 2.alzobnin2022-02-101-3/+3
|
* Restoring authorship annotation for <alzobnin@yandex-team.ru>. Commit 1 of 2.alzobnin2022-02-101-3/+3
|
* Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.yazevnul2022-02-101-4/+4
|
* Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.yazevnul2022-02-101-4/+4
|
* Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 2 of 2.eeight2022-02-101-2/+2
|
* Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2.eeight2022-02-101-2/+2
|
* Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. ↵Ilnur Khuziev2022-02-102-2/+2
| | | | Commit 2 of 2.
* Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. ↵Ilnur Khuziev2022-02-102-2/+2
| | | | Commit 1 of 2.
* Restoring authorship annotation for <cerevra@yandex-team.ru>. Commit 2 of 2.cerevra2022-02-104-6/+6
|
* Restoring authorship annotation for <cerevra@yandex-team.ru>. Commit 1 of 2.cerevra2022-02-104-6/+6
|
* Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. ↵Anton Samokhvalov2022-02-105-55/+55
| | | | Commit 2 of 2.
* Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. ↵Anton Samokhvalov2022-02-105-55/+55
| | | | Commit 1 of 2.
* Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.orivej2022-02-101-1/+1
|
* Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.orivej2022-02-101-1/+1
|
* intermediate changesDevtools Arcadia2022-02-077-0/+1762
ref:cde9a383711a11544ce7e107a78147fb96cc4029