<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/cachefilter-patterns.h, branch 2.9.26</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=2.9.26</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=2.9.26'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2025-01-05T22:16:08Z</updated>
<entry>
<title>Add pkgCache::{Priority,DepType}_NoL10n to avoid duplication</title>
<updated>2025-01-05T22:16:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2024-12-26T20:43:34Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6828ae2c2f9268c8187f0fa91b3c464ed84a8476'/>
<id>urn:sha1:6828ae2c2f9268c8187f0fa91b3c464ed84a8476</id>
<content type='text'>
We don't have many places, but lets reduce the amount of duplicating
these short strings, so that we may find all the places we have to
change if that ever happens.
</content>
</entry>
<entry>
<title>patterns: Safely peek ahead one byte</title>
<updated>2024-11-18T18:23:01Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-11-18T18:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dc980fb9ad9f8590a9d438c3f10ef98418e44934'/>
<id>urn:sha1:dc980fb9ad9f8590a9d438c3f10ef98418e44934</id>
<content type='text'>
The pattern tree parser was written using string_views in a no-copy
fashion. However, at various places we assume that we can index one
byte after the end of the string_view and get a NUL-byte there.

This works fine in practice because we only ever pass it zero-terminated
string_views, but it fails if you compile with -Wp,-D_GLIBCXX_ASSERTIONS
because it will do bounds checks.

So instead, do our own bounds checks here and always return '\0'
if requesting one byte too many.

Reported-by: Christian Heusel &lt;christian@heusel.eu&gt;
</content>
</entry>
<entry>
<title>apt-pkg/cachefilter-patterns.h, apt-pkg/cachefilter-patterns.cc: prepare for APT::StringView -&gt; std::string_view</title>
<updated>2024-11-12T19:36:19Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2024-11-12T16:59:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9ae21ac6043eda2ee7cb591209a29b473bef41aa'/>
<id>urn:sha1:9ae21ac6043eda2ee7cb591209a29b473bef41aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Modernize standard library includes</title>
<updated>2024-02-20T12:49:04Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-02-20T12:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=40a75722c43ae24cb9a99d6730a3b25b65819c49'/>
<id>urn:sha1:40a75722c43ae24cb9a99d6730a3b25b65819c49</id>
<content type='text'>
This was automated with sed and git-clang-format, and then I had to
fix up the top of policy.cc by hand as git-clang-format accidentally
indented it by two spaces.
</content>
</entry>
<entry>
<title>Add the ?security pattern</title>
<updated>2024-02-13T13:28:06Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-02-13T11:33:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=82f4cfc971ef6a2e56b34227d9e0b1a594dc2265'/>
<id>urn:sha1:82f4cfc971ef6a2e56b34227d9e0b1a594dc2265</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a new ?phasing pattern</title>
<updated>2024-02-13T13:28:06Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2024-02-13T11:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=422e68f569f374f697b84332f7e68c6fe5f7389f'/>
<id>urn:sha1:422e68f569f374f697b84332f7e68c6fe5f7389f</id>
<content type='text'>
This selects all packages that are being kept back due to phasing
on your system.
</content>
</entry>
<entry>
<title>make ?installed pattern match installed version only when narrowed</title>
<updated>2023-01-13T11:27:55Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2023-01-13T11:23:43Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=73f7408f6d164e595fb2e3a3df856a8f8168fcb9'/>
<id>urn:sha1:73f7408f6d164e595fb2e3a3df856a8f8168fcb9</id>
<content type='text'>
This is the correct behavior, but it was overlooked when aptitude
patterns where ported. I remember wondering about this, but I checked
the aptitude code and saw a check that CurrentVer != 0 or something
and then apparently did not notice another implementation for version
matching.
</content>
</entry>
<entry>
<title>Document tagfile-keys.h as internal to apt</title>
<updated>2022-04-01T12:15:26Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2022-03-28T13:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f6438ea9e726a1c13ce8d90ac78cc272346ab0f8'/>
<id>urn:sha1:f6438ea9e726a1c13ce8d90ac78cc272346ab0f8</id>
<content type='text'>
The previous regime of the file was to sort it on insert, but that
changes the values in the generated enum, which is fine as long as we
only use it in libapt itself, but breaks on other users.

The header was always intended to be private to apt itself, so we just
document this here now and lay the ground work to have the file in the
future only appended to, so that it remains sufficiently ABI stable that
we can use it outside the library in our apt tools.

We also remove some fields apt is unlikely to need or only uses in
certain cases outside of any (speed) critical path to have enough room
to add more fields soon as currently we are limited to 128 fields max
and it would be sad if we use up that allowance entirely already.
</content>
</entry>
<entry>
<title>add pattern to select packages by codename (closes: #1002646)</title>
<updated>2021-12-26T21:04:21Z</updated>
<author>
<name>Johannes Schauer Marin Rodrigues</name>
<email>josch@mister-muffin.de</email>
</author>
<published>2021-12-26T15:29:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ed282548bc4b8f96ac531c9f73b42d968eadea98'/>
<id>urn:sha1:ed282548bc4b8f96ac531c9f73b42d968eadea98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add pattern to select packages by priority (closes: #989558)</title>
<updated>2021-10-04T21:39:04Z</updated>
<author>
<name>Johannes Schauer Marin Rodrigues</name>
<email>josch@mister-muffin.de</email>
</author>
<published>2021-09-07T18:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cdfae5a9624e7283d372fce261efd018841d21cb'/>
<id>urn:sha1:cdfae5a9624e7283d372fce261efd018841d21cb</id>
<content type='text'>
</content>
</entry>
</feed>
