<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/cmdline, branch 1.2.1</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.2.1</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.2.1'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2016-01-08T14:40:01Z</updated>
<entry>
<title>support '-' and no parameter for stdin in apt-helper cat-file</title>
<updated>2016-01-08T14:40:01Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-01-07T23:35:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=abec2980ef1ff051be14c26097a76b6429b3b7bc'/>
<id>urn:sha1:abec2980ef1ff051be14c26097a76b6429b3b7bc</id>
<content type='text'>
This way it works more similar to the compressor binaries, which we
can relief in this way from their job in the test framework avoiding the
need of adding e.g. liblz4-tool to the test dependencies.
</content>
</entry>
<entry>
<title>keep compressed indexes in a low-cost format</title>
<updated>2016-01-08T14:40:01Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-01-07T19:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0179cfa83cf0042235eda41db7f35c420781c63e'/>
<id>urn:sha1:0179cfa83cf0042235eda41db7f35c420781c63e</id>
<content type='text'>
Downloading and storing are two different operations were different
compression types can be preferred. For downloading we provide the
choice via Acquire::CompressionTypes::Order as there is a choice to
be made between download size and speed – and limited by whats available
in the repository.

Storage on the other hand has all compressions currently supported by
apt available and to reduce runtime of tools accessing these files the
compression type should be a low-cost format in terms of decompression.

apt traditionally stores its indexes uncompressed on disk, but has
options to keep them compressed. Now that apt downloads additional files
we also deal with files which simply can't be stored uncompressed as
they are just too big (like Contents for apt-file). Traditionally they
are downloaded in a low-cost format (gz) as repositories do not provide
other formats, but there might be even lower-cost formats and for
download we could introduce higher-cost in the repositories.

Downloading an entire index potentially requires recompression to
another format, so an update takes potentially longer – but big files
are usually updated via pdiffs which has to de- and re-compress anyhow
and does it on the fly anyhow, so there is no extra time needed and in
general it seems to be benefitial to invest the time in update to save
time later on file access.
</content>
</entry>
<entry>
<title>apt-helper: cat-file: Add -C/--compress option</title>
<updated>2016-01-07T14:51:00Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-07T14:51:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=df46a87ab6b67019277884f7ae990af26080280d'/>
<id>urn:sha1:df46a87ab6b67019277884f7ae990af26080280d</id>
<content type='text'>
This allows passing compressing the output. The compressor must
be a compressor name, extension, or an extension without the
leading dot.
</content>
</entry>
<entry>
<title>apt-cache: stats: Show a table utilization as percentage</title>
<updated>2016-01-03T16:42:17Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-03T16:39:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=38a5b1ceeeca6ff530a2816a39bcd10d14c85d33'/>
<id>urn:sha1:38a5b1ceeeca6ff530a2816a39bcd10d14c85d33</id>
<content type='text'>
Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>apt-cache: stats: Average is over used, not all, buckets</title>
<updated>2016-01-03T16:34:50Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-03T16:34:50Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6d7fc45ed4e22163bba6478c7523f4509d200c58'/>
<id>urn:sha1:6d7fc45ed4e22163bba6478c7523f4509d200c58</id>
<content type='text'>
It does not make sense to consider empty buckets in the
average, as they do not affect the lookup performance.
</content>
</entry>
<entry>
<title>apt-helper: Use CopyFile() for concatenating the files</title>
<updated>2015-12-28T10:41:04Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-28T10:41:04Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ff2717e8c6a7633bbd38be95b2d30615802b6679'/>
<id>urn:sha1:ff2717e8c6a7633bbd38be95b2d30615802b6679</id>
<content type='text'>
There's no point in keeping using yet another read-then-write
loop.

Gbp-Dch: ignore
</content>
</entry>
<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>
</feed>
