<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/cachefilter-patterns.h, branch 3.1.1</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=3.1.1</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=3.1.1'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2025-03-03T10:21:55Z</updated>
<entry>
<title>refactor obsolete checks to use VerFileIterator::Downloadable()</title>
<updated>2025-03-03T10:21:55Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-02-26T11:18:02Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=10755b590311356ecdaa38dbfdf552b6b8fdaddc'/>
<id>urn:sha1:10755b590311356ecdaa38dbfdf552b6b8fdaddc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing #include &lt;string_view&gt;</title>
<updated>2025-02-15T15:57:45Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-02-15T15:57:45Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=957de0abd4a3c5fe9142b48455165498ea785b3c'/>
<id>urn:sha1:957de0abd4a3c5fe9142b48455165498ea785b3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BaseRegexMatcher: Use std::optional [ABI]</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-01-13T19:12:45Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=973d506288c8868a086a7fd62603773701abf4f4'/>
<id>urn:sha1:973d506288c8868a086a7fd62603773701abf4f4</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
