<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/versionmatch.cc, branch 1.3</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.3</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.3'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2015-08-10T15:25:25Z</updated>
<entry>
<title>simplify Origin matchmaking for status files</title>
<updated>2015-08-10T15:25:25Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-06-17T17:22:13Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ddb286525d196b53683533648425c5c8f5288839'/>
<id>urn:sha1:ddb286525d196b53683533648425c5c8f5288839</id>
<content type='text'>
The old check is overly complicated nowadays as we have a pretty
defining difference between packages from a Packages files coming
from with a Release file (even if the file itself doesn't exist) and
packages coming from the dpkg.status or directly out of *.deb's
as these have no associated Release file.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>versionmatch: Extract version match checking out of Find()</title>
<updated>2015-08-10T09:19:11Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-08-10T09:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=5bfd306ee16fd1be012dd2cd01ae52ff4179176a'/>
<id>urn:sha1:5bfd306ee16fd1be012dd2cd01ae52ff4179176a</id>
<content type='text'>
Refactor version matching to allow us to check if a version matches
a pin. This will aid the per-version pinning implementation.
</content>
</entry>
<entry>
<title>store Release files data in the Cache</title>
<updated>2015-06-12T14:33:37Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-06-12T00:08:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b07aeb1a6e24825e534167a737043441e871de9f'/>
<id>urn:sha1:b07aeb1a6e24825e534167a737043441e871de9f</id>
<content type='text'>
We used to read the Release file for each Packages file and store the
data in the PackageFile struct even through potentially many Packages
(and Translation-*) files could use the same data. The point of the
exercise isn't the duplicated data through. Having the Release files as
first-class citizens in the Cache allows us to properly track their
state as well as allows us to use the information also for files which
aren't in the cache, but where we know to which Release file they
belong (Sources are an example for this).

This modifies the pkgCache structs, especially the PackagesFile struct
which depending on how libapt users access the data in these structs can
mean huge breakage or no visible change. As a single data point:
aptitude seems to be fine with this. Even if there is breakage it is
trivial to fix in a backportable way while avoiding breakage for
everyone would be a huge pain for us.

Note that not all PackageFile structs have a corresponding ReleaseFile.
In particular the dpkg/status file as well as *.deb files have not. As
these have only a Archive property need, the Component property takes
over this duty and the ReleaseFile remains zero. This is also the reason
why it isn't needed nor particularily recommended to change from
PackagesFile to ReleaseFile blindly. Sticking with the earlier is
usually the better option.
</content>
</entry>
<entry>
<title>cleanup headers and especially #includes everywhere</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-05T21:11:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=453b82a388013e522b3a1b9fcd6ed0810dab1f4f'/>
<id>urn:sha1:453b82a388013e522b3a1b9fcd6ed0810dab1f4f</id>
<content type='text'>
Beside being a bit cleaner it hopefully also resolves oddball problems
I have with high levels of parallel jobs.

Git-Dch: Ignore
Reported-By: iwyu (include-what-you-use)
</content>
</entry>
<entry>
<title>various simple changes to fix cppcheck warnings</title>
<updated>2013-03-10T11:24:13Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-03-10T11:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=69c2ecbdc937e3c73fe67d3c9bce12a80d3ec7ec'/>
<id>urn:sha1:69c2ecbdc937e3c73fe67d3c9bce12a80d3ec7ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>do not pollute namespace in the headers with using (Closes: #500198)</title>
<updated>2011-09-19T11:31:29Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-09-19T11:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=8f3ba4e8708cb72be19dacc2af4f601ee5fea292'/>
<id>urn:sha1:8f3ba4e8708cb72be19dacc2af4f601ee5fea292</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge with debian/experimental</title>
<updated>2011-09-13T15:52:22Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-09-13T15:52:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=74b220028595342028e3309002e4ec359af328f9'/>
<id>urn:sha1:74b220028595342028e3309002e4ec359af328f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reorder includes: add &lt;config.h&gt; if needed and include it at first</title>
<updated>2011-09-13T08:09:00Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-09-13T08:09:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ea54214002c09eeb4dd498d97a564471ec9993c5'/>
<id>urn:sha1:ea54214002c09eeb4dd498d97a564471ec9993c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cppcheck complains about some possible speed improvements which could be</title>
<updated>2011-08-11T18:53:28Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-08-11T18:53:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f7f0d6c7560a8f71707e7852a512469147aa9f84'/>
<id>urn:sha1:f7f0d6c7560a8f71707e7852a512469147aa9f84</id>
<content type='text'>
done on the mirco-optimazation level, so lets fix them:
 (performance) Possible inefficient checking for emptiness.
 (performance) Prefer prefix ++/-- operators for non-primitive types.
</content>
</entry>
<entry>
<title>check for length of Data to avoid the validness of</title>
<updated>2010-09-02T13:19:51Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2010-09-02T13:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=99aa69c74f27a70d585510b817561fbf20ac7fb5'/>
<id>urn:sha1:99aa69c74f27a70d585510b817561fbf20ac7fb5</id>
<content type='text'>
Pin: origin "
(no error displayed). We already know in this method that
Data is at least one char long, so we avoid the length counting
as long as the string doesn't start with "
</content>
</entry>
</feed>
