<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg, branch 2.3.2</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=2.3.2</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=2.3.2'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2021-04-23T15:13:55Z</updated>
<entry>
<title>Support deconfiguring Essential packages</title>
<updated>2021-04-23T15:13:55Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2021-04-23T15:06:40Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a7f2152f0ce46322791f0574d76aadfdfbde6bec'/>
<id>urn:sha1:a7f2152f0ce46322791f0574d76aadfdfbde6bec</id>
<content type='text'>
dpkg 1.20.8 also made --force-remove-essential optional for
deconfiguring essential packages, so let's do this.

Also extend the test case to make sure we actuall pass
auto-deconfigure and do not make any --remove calls, or
pass --force-remove to dpkg.
</content>
</entry>
<entry>
<title>Do not pass --force-remove-protected with --auto-deconfigure</title>
<updated>2021-04-21T09:49:50Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2021-04-14T08:48:15Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6cb80d1eb2e8abcd4246fe39af3d1cd0398e1188'/>
<id>urn:sha1:6cb80d1eb2e8abcd4246fe39af3d1cd0398e1188</id>
<content type='text'>
dpkg 1.20.8 no longer requires this.
</content>
</entry>
<entry>
<title>Automatically retry failed downloads 3 times</title>
<updated>2021-04-15T17:36:47Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2021-04-15T17:23:21Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=10631550f1f9788bdfd64d2434237a1448ab0626'/>
<id>urn:sha1:10631550f1f9788bdfd64d2434237a1448ab0626</id>
<content type='text'>
Enable the Acquire::Retries option by default, set to 3.
This will help with slightly unreliable networking; future
work is needed for adding backoff and SRV/IP rotation.

LP: #1876035
Gbp-Dch: full
</content>
</entry>
<entry>
<title>Error on packages without a Size field (option Acquire::AllowUnsizedPackages)</title>
<updated>2021-04-13T14:00:41Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2021-04-09T16:16:10Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1412cf51403286e9c040f9f86fd4d8306e62aff2'/>
<id>urn:sha1:1412cf51403286e9c040f9f86fd4d8306e62aff2</id>
<content type='text'>
Repositories without Size information for packages are not
proper and need fixing. This ensures people see an error in
CI, and get notifications and hence the ability to fix it.

It can be turned off by setting Acquire::AllowUnsizedPackages
to true.
</content>
</entry>
<entry>
<title>Merge the three RAII vectors managing args lifetime</title>
<updated>2021-03-09T12:44:30Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2021-03-09T12:26:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=676f716717b7f138661ee5cb01edb0051f96ca49'/>
<id>urn:sha1:676f716717b7f138661ee5cb01edb0051f96ca49</id>
<content type='text'>
Having three different vectors littered over the method to manage
various parts of the lifetime of the argument vector we are creating is
a bit dangerous as it means a simple code change could result in a
desync of these three, so by moving the functionality of them all into a
wrapper class should prevent us from making such mistakes.
</content>
</entry>
<entry>
<title>Handle multi-arch pkgnames for dpkg call via RAII</title>
<updated>2021-03-09T12:38:13Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2021-03-09T10:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=302b1edcb1afe8098ddc2ddd576e56b898c1d90b'/>
<id>urn:sha1:302b1edcb1afe8098ddc2ddd576e56b898c1d90b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use RAII to clean up tmp dir for dpkg recursive install</title>
<updated>2021-03-09T12:36:52Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2021-03-09T10:40:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3312607159410eda3c634a0c6fe3c2b1a4fd3cc3'/>
<id>urn:sha1:3312607159410eda3c634a0c6fe3c2b1a4fd3cc3</id>
<content type='text'>
One less thing to remember to do in all branches.
</content>
</entry>
<entry>
<title>Replace multi-statement macro with lambda</title>
<updated>2021-03-09T10:45:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2021-03-09T10:39:29Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a5346a50c4f3ef15e71c16a9bf88723ae1153776'/>
<id>urn:sha1:a5346a50c4f3ef15e71c16a9bf88723ae1153776</id>
<content type='text'>
It is easy to make mistakes while dealing with such macros regardless of
how much you guard them, so just using a lambda removes a lot of
concerns here basically for free.
</content>
</entry>
<entry>
<title>Ensure all index files sent custom tags to the methods</title>
<updated>2021-03-07T01:55:07Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2021-03-06T15:11:34Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2a81f98b124d8fe551b160df55db1d3bf79a77c1'/>
<id>urn:sha1:2a81f98b124d8fe551b160df55db1d3bf79a77c1</id>
<content type='text'>
The mirror method can distribute requests for files based on various
metadata bits, but some – the main index files – weren't actually
passing those on to the methods as advertised in the manpage.

This is hidden both by mirror usually falling back to other sources
which will eventually hit the right one and that if the repository does
not support by-hash apt will automatically stick to the mirror which was
used for the Release file.
</content>
</entry>
<entry>
<title>Start pdiff patching from the last possible starting point</title>
<updated>2021-03-07T01:55:07Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2021-03-06T23:47:26Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=59933938f51105066161a6eb88253006826336a2'/>
<id>urn:sha1:59933938f51105066161a6eb88253006826336a2</id>
<content type='text'>
Especially in small sections of an archive it can happen that an index
returns to a previous state (e.g. if a package was first added and then
removed with no other changes happening in between). The result is that
we have multiple patches which start from the same hash which if we
perform clientside merging is no problem although not ideal as we
perform needless work.

For serverside merging it would not matter, but due to rred previously
refusing to merge zero-size patches but dak ignoring failure letting it
carry these size-zero patches until they naturally expire we run into a
problem as these broken patches won't do and force us to fall back to
downloading the entire index. By always starting from the last patch
instead of the first with the starter hash we can avoid this problem
and behave optimally in clientside merge cases, too.
</content>
</entry>
</feed>
