<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-private, branch 1.1.3</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.1.3</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.1.3'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2015-11-29T16:00:11Z</updated>
<entry>
<title>drop some needlessly public declarations in libapt-private</title>
<updated>2015-11-29T16:00:11Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-29T15:57:58Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f6777222f82f6279c104138216b0e5e50d8caa67'/>
<id>urn:sha1:f6777222f82f6279c104138216b0e5e50d8caa67</id>
<content type='text'>
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>move 'unmet' handling into libapt-private</title>
<updated>2015-11-29T14:49:55Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-29T14:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0a778f71f935900ff8a90a958f0e7da700d84f9f'/>
<id>urn:sha1:0a778f71f935900ff8a90a958f0e7da700d84f9f</id>
<content type='text'>
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>do not override exact targetrelease matches with lesser matches</title>
<updated>2015-11-29T12:36:28Z</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>andreas.cadhalpun@googlemail.com</email>
</author>
<published>2015-11-29T12:36:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=321213f0dcdcdaab04e01663e7a047b261400c9c'/>
<id>urn:sha1:321213f0dcdcdaab04e01663e7a047b261400c9c</id>
<content type='text'>
The relevant testcases are in test/integration/test-apt-get-source.
There is a test for #731853 that is supposed to "ensure that apt will
pick the higher version number" of 0.0.1 (stable) and 0.1 (stable).
However, this works by pure chance, as simply reversing the order
of the two insertsource lines makes the test fail.
So #731853 isn't really fixed, yet.

Actually, that's related to the problem I reported, as the underlying
issue for both is the same:
In the FindSrc function apt chooses a new 'best hit', if either
 * there is a target release and it matches the release of the package,
 * or the version of the package is higher than the last best hit.

Consider having 1.0 (stable), 2.0 (unstable) and 1.5 (unstable),
in this order.

Looking for the version in stable, apt first selects 1.0, because the
release matches the target release, but then subsequently selects 2.0,
because the version is higher.

Looking for the version in unstable, apt first selects 2.0, because the
release matches the target release, but then subsequently selects 1.5,
because the release also matches the target release.

The correct way would be to choose a new 'best hit', if either
 * there is a target release and it matches the release of the package,
 * or there is no target release
and the version is higher than the last best hit.

Closes: 746412
Mail-Reference: &lt;565A604B.7090104@googlemail.com&gt;
Mail-Archive: https://lists.debian.org/debian-devel/2015/11/msg00470.html
</content>
</entry>
<entry>
<title>use function pointers instead of weak symbols for cmdline parsing</title>
<updated>2015-11-29T12:12:38Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-29T12:12:38Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=90986d4dbbd38e2e89f986d621e301304210452e'/>
<id>urn:sha1:90986d4dbbd38e2e89f986d621e301304210452e</id>
<content type='text'>
Passing function pointers around while working on this was very icky,
but if weak symbols are too much to ask for…

Reverts "do not use "-Wl,-Bsymbolic-functions" during the build to avoid
breakage" aka a5fc9be36211a290a7abc3ca2a8bf98943bc1f57.
</content>
</entry>
<entry>
<title>Revert "Revert "appease adequate with some weak symbols for -private""</title>
<updated>2015-11-28T21:36:25Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-11-28T21:36:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dca07c4d676ac7bbc3543dff359735c0275e90fd'/>
<id>urn:sha1:dca07c4d676ac7bbc3543dff359735c0275e90fd</id>
<content type='text'>
This reverts commit 7ac9386cb6e272625490fcf3e8183b45e28bbc43.
</content>
</entry>
<entry>
<title>Revert "appease adequate with some weak symbols for -private"</title>
<updated>2015-11-28T21:27:15Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-11-28T21:27:15Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=7ac9386cb6e272625490fcf3e8183b45e28bbc43'/>
<id>urn:sha1:7ac9386cb6e272625490fcf3e8183b45e28bbc43</id>
<content type='text'>
This reverts commit 28f24d3dad1844af316337d565ba2ebc11c8ce97.

This fails on Ubuntu as they build with -Bsymbolic-functions.
</content>
</entry>
<entry>
<title>appease adequate with some weak symbols for -private</title>
<updated>2015-11-27T13:02:49Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-27T13:02:49Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=28f24d3dad1844af316337d565ba2ebc11c8ce97'/>
<id>urn:sha1:28f24d3dad1844af316337d565ba2ebc11c8ce97</id>
<content type='text'>
Closes: #806422
</content>
</entry>
<entry>
<title>show potentially arch-qualified fullname in 'apt show'</title>
<updated>2015-11-21T17:15:22Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-21T17:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=90139c7075afb283428d561b81037039bc7ba149'/>
<id>urn:sha1:90139c7075afb283428d561b81037039bc7ba149</id>
<content type='text'>
We do not show the architecture as a dedicated field as this is rather
technical information, but as packagename it makes sense to show the
architecture as other part of apt will refer to it in this way.
</content>
</entry>
<entry>
<title>apply various suggestions made by cppcheck</title>
<updated>2015-11-05T11:21:33Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-04T20:08:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=258b9e512c4001e806c5c0966acecd3d742ec6e9'/>
<id>urn:sha1:258b9e512c4001e806c5c0966acecd3d742ec6e9</id>
<content type='text'>
Reported-By: cppcheck
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>drop privileges in copy:// method as we do for file://</title>
<updated>2015-11-05T11:21:33Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-04T12:19:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=30c8107e9c56d7d78dcf9136f94aeed9d631dfb3'/>
<id>urn:sha1:30c8107e9c56d7d78dcf9136f94aeed9d631dfb3</id>
<content type='text'>
Continueing on the track of dropping privileges in all methods, lets
drop it in copy, too, as the reasoning for it is very similar to file
and the interaction between the too quiet interesting as copy kinda
surfed as a fallback for file not being able to read the file. Both now
show a better error message as well as it was previously claiming to
have a hashsum mismatch, given that it couldn't read the file.

Git-Dch: Ignore
</content>
</entry>
</feed>
