<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp/yt/string/string.cpp, branch CLI_2.22.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.22.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.22.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-05-12T14:41:42Z</updated>
<entry>
<title>YT-22593: Migrate HTTP headers to std::string</title>
<updated>2025-05-12T14:41:42Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2025-05-12T14:06:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=f206f4d5846545715fd46266938ba92bc49b522d'/>
<id>urn:sha1:f206f4d5846545715fd46266938ba92bc49b522d</id>
<content type='text'>
[diff:runtime]
commit_hash:262b2e671526b138d7a9631daf5d34400fc2208c
</content>
</entry>
<entry>
<title>YT-22593: More trivial TString-&gt;std::string migrations</title>
<updated>2025-02-22T14:48:29Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2025-02-22T14:28:25Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=59afaa0cb7cd89146dd10f5446256afcce33bd0e'/>
<id>urn:sha1:59afaa0cb7cd89146dd10f5446256afcce33bd0e</id>
<content type='text'>
[nodiff:runtime]
commit_hash:1ba799aed1703ab7c6304b6da7090b3337f768dd
</content>
</entry>
<entry>
<title>YT-21233: Issues and tidying up of rXXXXXX</title>
<updated>2024-12-25T08:15:51Z</updated>
<author>
<name>arkady-e1ppa</name>
<email>arkady-e1ppa@yandex-team.com</email>
</author>
<published>2024-12-25T07:19:49Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=47a8704130b3d47dcb4eb806c3eae41292e90eb4'/>
<id>urn:sha1:47a8704130b3d47dcb4eb806c3eae41292e90eb4</id>
<content type='text'>
commit_hash:19481c9fbb008aab4f4d676f1a3a242f6e90e90e
</content>
</entry>
<entry>
<title>YT-21233: Adjust (To/From)ErrorAttributeValue CPOs, revert ConvertTo becoming CPO, move TErrorCode and TError to library/cpp/yt/error</title>
<updated>2024-12-25T04:31:55Z</updated>
<author>
<name>arkady-e1ppa</name>
<email>arkady-e1ppa@yandex-team.com</email>
</author>
<published>2024-12-25T04:12:23Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b5dd91799751f9924acb7c17ddad16ddb2086bba'/>
<id>urn:sha1:b5dd91799751f9924acb7c17ddad16ddb2086bba</id>
<content type='text'>
\[nodiff:caesar\]

List of changes:

 1) Make `ConvertTo` a normal function again (basically, a revert of previous change). It turned out to be very inconvenient entry point

 2) Introduce concept for "Primitive types" which are handled without yt/core module. Please note that inclusion of core **does not** affect work with primitive types (otherwise we would be facing and ODR violation). These are numerics, duration, instant, string-like objects and guid

 3) Introduce `FromErrorAttributeValue` which is a substitute to `ConvertTo` with special behavior (see below)

 4) Scheme for (de-)serialization has changed:

    1) Primitive types are handled via `ConvertToTextYsonString` and `ConvertFromTextYsonString`

    2) Other types are not supported without yt/core. Otherwise `ConvertToYsonString(value, EYsonFormat::Text)` used for serialization and `ConvertTo&lt;T&gt;(value)` for deserialization.

 5) New format of attribute value storage allows to not care about concrete type of the attribute (text yson strings can be detected since they start with `\"` and deserialized so are text yson bools, everything else is already human readable). This drops dependency on `TTokenizer`

 6) Some small parts (e.g. enums or constants or aliases) of yt/core/misc files were moved to library/cpp/yt/\* locations and re-included to drop dependencies of stripped\_error on them

 7) `TErrorAttributes` is now a simple hash map instead of a handle to `IAttributeDictionary`

 8) `ExtractFromAttributes` weak symbol is finally moved to library/cpp/yt/error due to point 9 allowing to fully drop dependency on `IAttributeDictionary`. Combined with point 7 this drops dep on yt/core/ytree altogether

 9) Moved `TErrorCode` to library/cpp/yt/error. There is a logger there which forces dep on library/cpp/yt/logging. It is not required really, and can be later removed

10) Moved `TError` with format and macroes to library/cpp/yt/error. It still (and probably forever will) depend on yson.

What can be done next: Switch TYsonString to TString and move ConvertTo/FromTextYsonString to library/cpp/yt/error. This would remove dep on library/cpp/yt/yson\_string
commit_hash:6f11dc478ab782a1f98a5aedcd45a4800d3f4e7b
</content>
</entry>
<entry>
<title>YT-21233: Remove TSimpleException and teach TCompositeException storing simple attributes</title>
<updated>2024-03-28T06:58:54Z</updated>
<author>
<name>arkady-e1ppa</name>
<email>arkady-e1ppa@yandex-team.com</email>
</author>
<published>2024-03-28T06:47:08Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=48212452a70da88a5e4b814979dd82f22379801f'/>
<id>urn:sha1:48212452a70da88a5e4b814979dd82f22379801f</id>
<content type='text'>
Expand the CompositeException
9a10ec65bfc1df854e03bb3a4d8d0a0c0e4a3a5d
</content>
</entry>
<entry>
<title>Natively support %x and %X in Format</title>
<updated>2022-08-26T07:04:55Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2022-08-26T07:04:55Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=af6b0b93037268a9ca1343dd09629cf910c944d9'/>
<id>urn:sha1:af6b0b93037268a9ca1343dd09629cf910c944d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;savrus@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:48Z</updated>
<author>
<name>savrus</name>
<email>savrus@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2ee4b26133812e990e7958fc1863d8d5f8ee7f7b'/>
<id>urn:sha1:2ee4b26133812e990e7958fc1863d8d5f8ee7f7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;savrus@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:48Z</updated>
<author>
<name>savrus</name>
<email>savrus@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2056f5ae3bf6e5a65e9885e0add085c708cca5b8'/>
<id>urn:sha1:2056f5ae3bf6e5a65e9885e0add085c708cca5b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;sandello@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:49:52Z</updated>
<author>
<name>sandello</name>
<email>sandello@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:52Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=9541fc30d6f0877db9ff199a16f7fc2505d46a5c'/>
<id>urn:sha1:9541fc30d6f0877db9ff199a16f7fc2505d46a5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;sandello@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:49:52Z</updated>
<author>
<name>sandello</name>
<email>sandello@yandex-team.ru</email>
</author>
<published>2022-02-10T13:49:52Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=0cdbcf332f1f329f0a3d6759462ad71e7867ac08'/>
<id>urn:sha1:0cdbcf332f1f329f0a3d6759462ad71e7867ac08</id>
<content type='text'>
</content>
</entry>
</feed>
