<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/ftparchive, branch main</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=main</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2026-04-08T08:37:24Z</updated>
<entry>
<title>apt: funcs called with a string literal consisting of a single character</title>
<updated>2026-04-08T08:37:24Z</updated>
<author>
<name>Herman Semenoff</name>
<email>GermanAizek@yandex.ru</email>
</author>
<published>2026-04-08T08:37:24Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=af5b9453a1908021cf75c348522c1a12eeb0dee4'/>
<id>urn:sha1:af5b9453a1908021cf75c348522c1a12eeb0dee4</id>
<content type='text'>
Benchmark:
- https://stackoverflow.com/questions/62058906/why-my-performance-benchmark-gives-me-wrong-results

References:
- https://clang.llvm.org/extra/clang-tidy/checks/performance/prefer-single-char-overloads.html
</content>
</entry>
<entry>
<title>Bump CMAKE_CXX_STANDARD to 23 and fix code</title>
<updated>2025-05-25T09:21:24Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-05-25T09:15:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=115b7257d9f29bd17b97b1cda727a67e29021f8c'/>
<id>urn:sha1:115b7257d9f29bd17b97b1cda727a67e29021f8c</id>
<content type='text'>
ftparchive/contents.h failed with operator&lt; defined only,
so define operator&lt;=&gt; instead.

The operator and FileCopyType constructor both had a warning
about not throwing and adding a noexcept, so add one
</content>
</entry>
<entry>
<title>apt-ftparchive: Do not output locale dependent dsc file size</title>
<updated>2025-02-21T17:26:03Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2025-02-21T17:14:24Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=fdcdce3bfecd8f7ea577bfa1d1dc7f04e9cf7d45'/>
<id>urn:sha1:fdcdce3bfecd8f7ea577bfa1d1dc7f04e9cf7d45</id>
<content type='text'>
Removal of std::to_string avoids the temporary std::string,
but it leads to locale-dependent output that parsers (including ours)
are not prepared to encounter especially as number formatting
can be highly ambiguous due to different rules surrounding '.' and ','.

In the distant future (c++20) this could be replaced with a variant of
std::format, which incidentally is also what std::to_string becomes
an alias for in an even more distant future (c++26).

Regression-of: 729a5c8f4fb8c841497d26170e1a47c41617ecd9
Reported-By: Stefan Lippers-Hollmann and Kel Modderman on IRC
</content>
</entry>
<entry>
<title>Run unifdef -DAPT_PKG_ABI=700 again</title>
<updated>2025-02-15T08:40:15Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-02-15T08:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6e877571bc2dd50e38f2f35675c401d74dbe233d'/>
<id>urn:sha1:6e877571bc2dd50e38f2f35675c401d74dbe233d</id>
<content type='text'>
main picked up a couple new ifdefs since the branch started; so
clean them up again.
</content>
</entry>
<entry>
<title>string{=&gt; _view} flNotDir(string{=&gt; _view}). Configuration::{Cnd,}Set(Value: string{=&gt; _view})</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T19:50:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=729a5c8f4fb8c841497d26170e1a47c41617ecd9'/>
<id>urn:sha1:729a5c8f4fb8c841497d26170e1a47c41617ecd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Drop usage of macro APT_OVERRIDE for simple override</title>
<updated>2025-01-05T22:16:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2024-12-26T19:41:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f73593a4034d9eec0ec4466b8e173d4a4daece1f'/>
<id>urn:sha1:f73593a4034d9eec0ec4466b8e173d4a4daece1f</id>
<content type='text'>
We were rather inconsistent in using it and as our public headers
contain deduction guides (a c++17 feature) it seems silly to try to hide
a c++11 feature in a macro, so lets stop this charade and drop the
macro and while we are changing all these lines lets apply [[nodiscard]]
(another c++17 feature) and other suggestions from clang-tidy and
formatting for a little more consistency.
</content>
</entry>
<entry>
<title>ftparchive: writer: Remove line length limit on file lists</title>
<updated>2024-11-20T14:04:28Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-11-11T13:06:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=918a13883a6d657bba2b9d786a9468332ab0f06e'/>
<id>urn:sha1:918a13883a6d657bba2b9d786a9468332ab0f06e</id>
<content type='text'>
LP: #2087848
</content>
</entry>
<entry>
<title>ftparchive: cachedb: Remove 600-byte key limit</title>
<updated>2024-11-20T14:04:28Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-11-11T13:09:41Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=709adda89a575e6c542310e6632c090632bb9732'/>
<id>urn:sha1:709adda89a575e6c542310e6632c090632bb9732</id>
<content type='text'>
Instead of snprintf() into a fixed-size buffer, construct an
std::string using assign() and append().

A previous version used strprintf() which would have been
hilariously inefficient.

LP: #2087848
</content>
</entry>
<entry>
<title>ftparchive: override: Remove fixed-size line buffers</title>
<updated>2024-11-18T20:11:18Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-11-11T12:53:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b888c66c7244de9b20d174555ffdc22829d6c222'/>
<id>urn:sha1:b888c66c7244de9b20d174555ffdc22829d6c222</id>
<content type='text'>
LP: #2087848
</content>
</entry>
<entry>
<title>Merge branch 'noref' into 'main'</title>
<updated>2024-11-14T19:02:57Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2024-11-14T19:02:57Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=4f0f7d2ba3ec25068e5cfe72bf403b1966a21dbf'/>
<id>urn:sha1:4f0f7d2ba3ec25068e5cfe72bf403b1966a21dbf</id>
<content type='text'>
std::string_view const &amp; -&gt; std::string_view

See merge request apt-team/apt!397</content>
</entry>
</feed>
