<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp/tld, branch docs-quickstart-add-mkdir</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=docs-quickstart-add-mkdir</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=docs-quickstart-add-mkdir'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2023-06-28T14:27:42Z</updated>
<entry>
<title>fix gen_tld.py on non-unicode locale encodings</title>
<updated>2023-06-28T14:27:42Z</updated>
<author>
<name>Nikita Kozlovskiy</name>
<email>nikitka@gmail.com</email>
</author>
<published>2023-06-28T14:27:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=61de4a67fa045e1281fb392df8cbfbcd890bc104'/>
<id>urn:sha1:61de4a67fa045e1281fb392df8cbfbcd890bc104</id>
<content type='text'>
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 &lt;module&gt;
    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</content>
</entry>
<entry>
<title>add ymake export to ydb</title>
<updated>2023-06-13T08:05:01Z</updated>
<author>
<name>alexv-smirnov</name>
<email>alex@ydb.tech</email>
</author>
<published>2023-06-13T08:05:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0'/>
<id>urn:sha1:bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>External build system generator release 29</title>
<updated>2023-04-19T11:10:48Z</updated>
<author>
<name>robot-ya-builder</name>
<email>robot-ya-builder@yandex-team.com</email>
</author>
<published>2023-04-19T11:10:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=887be65957040bac40fa22a2af242de88920eba7'/>
<id>urn:sha1:887be65957040bac40fa22a2af242de88920eba7</id>
<content type='text'>
Update tools: yexport</content>
</entry>
<entry>
<title>Revert ymake build from ydb oss export</title>
<updated>2023-03-28T19:25:04Z</updated>
<author>
<name>alexv-smirnov</name>
<email>alex@ydb.tech</email>
</author>
<published>2023-03-28T19:25:04Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b8a17f9b1c166d2e9a26b99348a4c29d972caf55'/>
<id>urn:sha1:b8a17f9b1c166d2e9a26b99348a4c29d972caf55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>External build system generator release 21</title>
<updated>2023-03-17T16:38:27Z</updated>
<author>
<name>robot-ya-builder</name>
<email>robot-ya-builder@yandex-team.com</email>
</author>
<published>2023-03-17T16:38:27Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=26147c4e01ae75f397d4dd999da238bf2c61c851'/>
<id>urn:sha1:26147c4e01ae75f397d4dd999da238bf2c61c851</id>
<content type='text'>
Update tools: yexport</content>
</entry>
<entry>
<title>add library/cpp/actors, ymake build to ydb oss export</title>
<updated>2023-03-15T16:59:12Z</updated>
<author>
<name>alexv-smirnov</name>
<email>alex@ydb.tech</email>
</author>
<published>2023-03-15T16:59:12Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11'/>
<id>urn:sha1:056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2023-03-09T09:42:44Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2023-03-09T09:42:44Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6324d075a5e80b6943b5de6b465b775050fe83df'/>
<id>urn:sha1:6324d075a5e80b6943b5de6b465b775050fe83df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2023-03-07T09:53:35Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2023-03-07T09:53:35Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=33ed6077e694c2f1286c01ebe1be30b189850e77'/>
<id>urn:sha1:33ed6077e694c2f1286c01ebe1be30b189850e77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>External build system generator release 17</title>
<updated>2023-03-06T13:56:18Z</updated>
<author>
<name>robot-ya-builder</name>
<email>robot-ya-builder@yandex-team.com</email>
</author>
<published>2023-03-06T13:56:18Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=cbc0c479c131a1e63ca86fe98b031e1bcac725d8'/>
<id>urn:sha1:cbc0c479c131a1e63ca86fe98b031e1bcac725d8</id>
<content type='text'>
Update tools: yexport</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2023-02-07T18:14:00Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2023-02-07T18:14:00Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=9f448c9c675e670d53bba7a8d74a995b2d9a3606'/>
<id>urn:sha1:9f448c9c675e670d53bba7a8d74a995b2d9a3606</id>
<content type='text'>
</content>
</entry>
</feed>
