<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib, 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-05-01T16:27:11Z</updated>
<entry>
<title>apt-pkg: methods: fixed many minor memleaks</title>
<updated>2026-05-01T16:27:11Z</updated>
<author>
<name>Herman Semenoff</name>
<email>GermanAizek@yandex.ru</email>
</author>
<published>2026-04-08T10:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e79f9bb22375fd72330b534e17dcd3ceace432e8'/>
<id>urn:sha1:e79f9bb22375fd72330b534e17dcd3ceace432e8</id>
<content type='text'>
Static analysis has shown that there are many minor memleaks.
</content>
</entry>
<entry>
<title>apt: modernize to make_unique C++17</title>
<updated>2026-04-08T10:41:43Z</updated>
<author>
<name>Herman Semenoff</name>
<email>GermanAizek@yandex.ru</email>
</author>
<published>2026-04-08T09:58:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=23dba65f031954df896bc3c6dfb1a9705574886b'/>
<id>urn:sha1:23dba65f031954df896bc3c6dfb1a9705574886b</id>
<content type='text'>
References:
- https://stackoverflow.com/questions/79700634/pros-and-cons-of-make-unique-vs-direct-constructor-call-in-c17
- https://towardsdev.com/why-std-make-unique-beats-new-in-modern-c-7e2ba653737e
- https://www.sololearn.com/en/Discuss/3334779/where-make_unique-is-better-than-unique_ptrraw-pointer
</content>
</entry>
<entry>
<title>apt: push to emplace C++11 if possible</title>
<updated>2026-04-08T10:40:55Z</updated>
<author>
<name>Herman Semenoff</name>
<email>GermanAizek@yandex.ru</email>
</author>
<published>2026-04-08T08:51:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ef70431f02e2ec13ecedab7ac342574e52d1877b'/>
<id>urn:sha1:ef70431f02e2ec13ecedab7ac342574e52d1877b</id>
<content type='text'>
References:
- https://www.reddit.com/r/cpp_questions/comments/pm63yx/why_clangtidy_says_use_emplace_back_instead_of/
- https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-emplace.html
</content>
</entry>
<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>hashes: Use std::span instead of std::basic_string_view</title>
<updated>2026-04-07T09:46:07Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2026-04-07T09:46:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f2c87504c4c3517a8420d789e40411f74fe45e19'/>
<id>urn:sha1:f2c87504c4c3517a8420d789e40411f74fe45e19</id>
<content type='text'>
std::basic_string_view should not be initialized locally, only
in the std library. Replace it with a simple span instead.

This should fix compilation with LLVM 18+.

Supersedes: https://salsa.debian.org/apt-team/apt/-/merge_requests/511
</content>
</entry>
<entry>
<title>Copyright changes</title>
<updated>2026-03-02T21:53:49Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2026-03-02T21:53:49Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=140e4e2f84813c85d96488031e6d3e0359f7b6d5'/>
<id>urn:sha1:140e4e2f84813c85d96488031e6d3e0359f7b6d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce JSONL performance counter logging</title>
<updated>2026-02-10T19:59:03Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2026-01-11T11:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=60a7d1c3be8f6c7eb697c7d5160fc560097cc70e'/>
<id>urn:sha1:60a7d1c3be8f6c7eb697c7d5160fc560097cc70e</id>
<content type='text'>
Introduce a scoped object that starts measuring performance counters
and then dumps them into a JSONL file for later analysis.

Add performance contexts for APT::Solver and pkgDepCache::Init()
as starting points.
</content>
</entry>
<entry>
<title>macros: Introduce must_succeed() macro</title>
<updated>2026-01-05T21:20:24Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-12-29T11:04:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6ceaa78088ebdaea6cb887a7e8066fc29e0f984d'/>
<id>urn:sha1:6ceaa78088ebdaea6cb887a7e8066fc29e0f984d</id>
<content type='text'>
This is like assert() but never compiled out so can be used with
function calls that have side effects.
</content>
</entry>
<entry>
<title>weakptr: Simplify destructor to use range-based for</title>
<updated>2025-11-10T10:33:07Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-11-07T06:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=50be87de727141d16d9f4f4907d631161d2d1032'/>
<id>urn:sha1:50be87de727141d16d9f4f4907d631161d2d1032</id>
<content type='text'>
Explicit iterators considered harmful :)
</content>
</entry>
<entry>
<title>Move split() to APT::String::Split()</title>
<updated>2025-10-25T18:42:14Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-07-28T10:06:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=50d8703c785898d06463513896e37cbe7cedd471'/>
<id>urn:sha1:50d8703c785898d06463513896e37cbe7cedd471</id>
<content type='text'>
This splits based upon contiguous whitespace as separators
</content>
</entry>
</feed>
