<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/cmdline, branch 1.1.9</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.1.9</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.1.9'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2015-12-26T22:27:15Z</updated>
<entry>
<title>apt-helper: Check that we can open stdout</title>
<updated>2015-12-26T22:27:15Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-26T22:26:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cb7fce24492ff6e0b7df0f33e2ac47970b4281dd'/>
<id>urn:sha1:cb7fce24492ff6e0b7df0f33e2ac47970b4281dd</id>
<content type='text'>
Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>apt-helper: Add a cat-file command for concatening files</title>
<updated>2015-12-26T20:48:14Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-26T20:45:32Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2658e1c5487d0bb9c6223cf149a48f47e8d10b4d'/>
<id>urn:sha1:2658e1c5487d0bb9c6223cf149a48f47e8d10b4d</id>
<content type='text'>
This can automatically handle compressed files and is useful
for stuff like apt-file.
</content>
</entry>
<entry>
<title>avoid triggering gpg2 migration in apt-key</title>
<updated>2015-12-19T22:04:34Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-12-18T11:35:43Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=803491dc568d2994745c3c4359f68053f7261658'/>
<id>urn:sha1:803491dc568d2994745c3c4359f68053f7261658</id>
<content type='text'>
The presents (even of an empty) secring.gpg is indication enough for
gpg2 to tigger the migration code which not only produces a bunch of
output on each apt-key call, but also takes a while to complete as an
agent needs to be started and all that.

We workaround the first part by forcing the migration to happen always
in a call we forced into silence, but that leaves us with an agent to
start all the time – with a bit of reordering we can make it so that we
do not explicitly create the secring, but let gpg create it if needed,
which prevents the migration from being triggered and we have at least a
bit less of a need for an agent. Changes - even to public only keyrings
- still require one, but such actions are infrequent in comparison to
verification calls, so that should be a net improvement.
</content>
</entry>
<entry>
<title>avoid evaluating shell in paths used in apt-key</title>
<updated>2015-12-19T22:04:34Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-12-17T16:41:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=bc8f83a5afd858206efe518c31bbb1ac948a39a3'/>
<id>urn:sha1:bc8f83a5afd858206efe518c31bbb1ac948a39a3</id>
<content type='text'>
apt-key creates internally a script (since ~1.1) which it will call to
avoid dealing with an array of different options in the code itself, but
while writing this script it wraps the values in "", which will cause
the shell to evaluate its content upon execution.
To make 'use' of this either set a absolute gpg command or TMPDIR to
something as interesting as:
"/tmp/This is fü\$\$ing cràzy, \$(man man | head -n1 | cut -d' ' -f1)\$!"

If such paths can be encountered in reality is a different question…
</content>
</entry>
<entry>
<title>apt-internal-solver: Make ShowHelp() and GetCommands() static</title>
<updated>2015-12-11T14:01:16Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-11T14:00:17Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9596cb945aee8ab78f37b925e0691a7cc1488d56'/>
<id>urn:sha1:9596cb945aee8ab78f37b925e0691a7cc1488d56</id>
<content type='text'>
This fixes a warning reported by gcc.

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>part revert, part redo 'which' replacement</title>
<updated>2015-12-06T23:09:10Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-12-06T23:09:10Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e23ee4c21c6d8045ab020526aa864a48dc16ddd9'/>
<id>urn:sha1:e23ee4c21c6d8045ab020526aa864a48dc16ddd9</id>
<content type='text'>
In e75e5879 'replace "which" with "command -v" for portability' I missed
that command -v isn't actually required to be available in debian, so
for the 5 files we are using it:

Two (abicheck/run_abi_test &amp; test/integration/framework) are called in
environments were I believe sh is at least dash or 'better' as the first
one is "interactive" for apt developers and the later is sourced by ~200
tests in the same directory run by hand and ci-services – for the later
we have pulled some uglier hacks for worser things already, so if there
should actually end up needing something more compatible we will notice
eventually (and the later actually had a command -v call for some time
already and nobody came running).

debian/rules and debian/apt.cron.daily I switched back to which as that
is more or less debian-specific or at least highly non-critical.

That leaves cmdline/apt-key.in with a bunch of calls where I will
implement that functionality in shell as this is relatively short-lived
as it is used to detect wget (for net-update, which Michael wants to
revive and in that process will properly use apt-helper instead of wget)
and to detect gpg vs. gpg2 systems, where the earlier is supposed to go
away in the longrun (or the later, but by replacing the earlier…).
[and this gpg/gpg2 detection is new in sid, so I have some sympathy for
that being a problem now.]

Thanks: Jakub Wilk for pointing out #747320
</content>
</entry>
<entry>
<title>replace run-parts with find|sort to avoid debianutils usage</title>
<updated>2015-12-06T13:46:11Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-12-06T13:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=804419029ab1b969c8d2dedb9b3443225058521f'/>
<id>urn:sha1:804419029ab1b969c8d2dedb9b3443225058521f</id>
<content type='text'>
After e75e5879 the reason for an implicit dependency on debianutils
(which is essential for debian, but likely not on other systems) was
just two uses of run-parts, which can be replaced with the a lot more
portable find-piped-into-sort duo.
</content>
</entry>
<entry>
<title>replace "which" with "command -v" for portability</title>
<updated>2015-12-06T13:03:35Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-12-06T13:03:35Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e75e5879c0e8d232a2e8f045685beeb8c965aba4'/>
<id>urn:sha1:e75e5879c0e8d232a2e8f045685beeb8c965aba4</id>
<content type='text'>
which is a debian specific tool packaged in debianutils (essential)
while command is a shell builtin defined by POSIX.

Closes: 807144
Thanks: Mingye Wang for the suggestion.
</content>
</entry>
<entry>
<title>apt-helper.cc: include &lt;stdlib.h&gt; for atoi</title>
<updated>2015-12-06T12:30:51Z</updated>
<author>
<name>Fredrik Fornwall</name>
<email>fredrik@fornwall.net</email>
</author>
<published>2015-12-06T12:30:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2f17261da947e143d79d9c843a26eeb4b44ec385'/>
<id>urn:sha1:2f17261da947e143d79d9c843a26eeb4b44ec385</id>
<content type='text'>
Include &lt;stdlib.h&gt; to ensure that atoi(3) is defined to improve
general portability and fix a specific build failure on Android.

Closes: 807031
</content>
</entry>
<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>
</feed>
