<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-private, 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-08T10:40:55Z</updated>
<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>Drop warning about unstable CLI interface</title>
<updated>2026-04-07T09:40:15Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2026-02-24T18:25:21Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f0c71b95ca00bae2b364c4b4858c51d84b002387'/>
<id>urn:sha1:f0c71b95ca00bae2b364c4b4858c51d84b002387</id>
<content type='text'>
A specific CLI version can now be requested using the --cli-version
flag, and old versions can be deprecated on a reasonable cadence.
Therefore, a warning is no longer necessary.

Gbp-Dch: full
</content>
</entry>
<entry>
<title>Change GetKindString to not use .data() call</title>
<updated>2026-04-07T09:39:14Z</updated>
<author>
<name>Simon Johnsson</name>
<email>simon.johnsson@canonical.com</email>
</author>
<published>2026-02-19T11:15:20Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=58821c2dfc9fefb09d6ff6655e435bacdfabe173'/>
<id>urn:sha1:58821c2dfc9fefb09d6ff6655e435bacdfabe173</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Optimize ShortenCommand</title>
<updated>2026-04-07T09:39:14Z</updated>
<author>
<name>Simon Johnsson</name>
<email>simon.johnsson@canonical.com</email>
</author>
<published>2026-02-19T11:11:21Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ad4800b814f1abbe561a962305e6d4c03401a73d'/>
<id>urn:sha1:ad4800b814f1abbe561a962305e6d4c03401a73d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Scale history-list to screen width</title>
<updated>2026-04-07T09:39:14Z</updated>
<author>
<name>Simon Johnsson</name>
<email>simon.johnsson@canonical.com</email>
</author>
<published>2026-02-18T14:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e2e4e3ced75bb5e9db28cc35b6ebf371e8e5be94'/>
<id>urn:sha1:e2e4e3ced75bb5e9db28cc35b6ebf371e8e5be94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>apt-private/private-download.cc: support unlimited space tmpfs</title>
<updated>2026-01-05T21:28:03Z</updated>
<author>
<name>Johannes Schauer Marin Rodrigues</name>
<email>josch@mister-muffin.de</email>
</author>
<published>2025-09-17T20:58:17Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=68968d8af49500c949d679de184a2201d9e56cbe'/>
<id>urn:sha1:68968d8af49500c949d679de184a2201d9e56cbe</id>
<content type='text'>
Test like this:

sudo mount -t tmpfs -o size=0 tmpfs rootfs

cat &lt;&lt; 'END' &gt; run.sh
set -exu
export LD_LIBRARY_PATH=/home/josch/git/apt/build/apt-pkg
mkdir -p "$1/etc/apt" "$1/var/cache" "$1/var/lib/dpkg/"
echo "Dir \"$(cd "$1" &amp;&amp; pwd)\";" &gt; "$1/apt.conf"
echo "deb [signed-by=/usr/share/keyrings/debian-archive-keyring.pgp] http://deb.debian.org/debian/ unstable main" &gt; "$1/etc/apt/sources.list"
APT_CONFIG="$1/apt.conf" build/cmdline/apt-get update
APT_CONFIG="$1/apt.conf" build/cmdline/apt-get --yes --download-only install '?essential'
END

./run.sh rootfs
</content>
</entry>
<entry>
<title>A special cow for a special week</title>
<updated>2025-11-10T10:33:07Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-11-04T10:21:06Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=753d76f3d3b9be05d2e3517e4f1e4669531f92a3'/>
<id>urn:sha1:753d76f3d3b9be05d2e3517e4f1e4669531f92a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix missing includes</title>
<updated>2025-10-28T05:14:32Z</updated>
<author>
<name>Ruoyu Zhong</name>
<email>zhongruoyu@outlook.com</email>
</author>
<published>2025-10-28T05:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=aa142694c08158b173dff009d3075e605bc97e3c'/>
<id>urn:sha1:aa142694c08158b173dff009d3075e605bc97e3c</id>
<content type='text'>
This was missed in 4b22a1e36 (apt-team/apt!522), and caused the
following error when built with GCC 12:

    /var/tmp/apt-20251026-9687-pc954n/apt-3.1.10/apt-private/private-cmndline.cc:544:23: error: ‘optional’ is not a member of ‘std’
      544 | static std::pair&lt;std::optional&lt;long unsigned int&gt;, std::optional&lt;long unsigned int&gt;&gt; parseCliVersion(std::string_view version)
          |                       ^~~~~~~~
    /var/tmp/apt-20251026-9687-pc954n/apt-3.1.10/apt-private/private-cmndline.cc:27:8: note: ‘std::optional’ is defined in header ‘&lt;optional&gt;’; did you forget to ‘#include &lt;optional&gt;’?
       26 | #include &lt;apti18n.h&gt;
      +++ |+#include &lt;optional&gt;
       27 |                                                                         /*}}}*/

While at it, also add missing &lt;utility&gt; include for std::pair.

Discovered in https://github.com/Homebrew/homebrew-core/pull/251162 by
Anton Melnikov.

Co-authored-by: Anton Melnikov &lt;antonsm21@gmail.com&gt;
Signed-off-by: Ruoyu Zhong &lt;zhongruoyu@outlook.com&gt;
</content>
</entry>
<entry>
<title>Enable the new solver by default in 0.31, 1.21, 2.11, 3.1</title>
<updated>2025-10-25T20:16:54Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2025-10-25T15:42:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c5c5d10d1b2ac0a589102315840c4f2a075b18c1'/>
<id>urn:sha1:c5c5d10d1b2ac0a589102315840c4f2a075b18c1</id>
<content type='text'>
Enable the new solver by default and remove the vendor-specific
configuration change in Ubuntu's drop-in.
</content>
</entry>
</feed>
