<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-private/private-update.cc, branch 1.4.2</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.4.2</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.4.2'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2017-01-19T00:09:05Z</updated>
<entry>
<title>don't lock dpkg in update commands</title>
<updated>2017-01-19T00:09:05Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2017-01-19T00:09:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0d9081598afa051409b03dbdbe5025cd7ce59ba4'/>
<id>urn:sha1:0d9081598afa051409b03dbdbe5025cd7ce59ba4</id>
<content type='text'>
The update command acquires a lock on lists/, but at the end it will
also require the dpkg/lock while building the binary caches. That seems
rather pointless as we are only reading those files, not causing writing
in them. This can also cause problems if a package installation is
running and a background process (like cron) starts an update: If you
are "lucky" enough the update process will pick the dpkg lock in between
apt calls causing the installation process to fail.
</content>
</entry>
<entry>
<title>don't show update stats if cache generation is disabled</title>
<updated>2017-01-18T23:57:38Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2017-01-18T10:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=33f982b90a4f77be18cb82daf8c79e9c5513761c'/>
<id>urn:sha1:33f982b90a4f77be18cb82daf8c79e9c5513761c</id>
<content type='text'>
Unlikely that anyone is actually running into this, but if we asked to
not generate a cache and avoid it in the first step we shouldn't create
one implicitly anyway by displaying the statistics.
</content>
</entry>
<entry>
<title>prevent C++ locale number formatting in text APIs</title>
<updated>2016-05-27T17:14:38Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-05-27T16:10:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b58e2c7c56b1416a343e81f9f80cb1f02c128e25'/>
<id>urn:sha1:b58e2c7c56b1416a343e81f9f80cb1f02c128e25</id>
<content type='text'>
Setting the C++ locale via std::locale::global(std::locale("")); which
would otherwise default to the default C locale (aka: unaffected by
setlocale) effects the formatting of numeric types in IO streams, which
for output for humans is perfectly sensible, but breaks our many text
interfaces used and parsed by us and others without expecting the
numbers to be formatted.

Closes: #825396
</content>
</entry>
<entry>
<title>new quiet level -qq for apt to hide progress output</title>
<updated>2015-11-04T17:04:03Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-10-25T11:35:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2b0660b537581e9e65180e4cf1a94d763fd66847'/>
<id>urn:sha1:2b0660b537581e9e65180e4cf1a94d763fd66847</id>
<content type='text'>
-q is for logging and -qqq (old -qq) basically kills every output expect
errors, so there should be a way of declaring a middleground in which
the output of e.g. 'update' isn't as verbose, but still shows some
things. The test framework was actually making use of by accident as it
ignored the quiet level in output setup for apt before.
Eventually we should figure out some better quiet levels for all tools…
</content>
</entry>
<entry>
<title>update: Check if the cache could be opened, don't just assume it</title>
<updated>2015-08-15T08:46:34Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-08-15T08:44:57Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=7a139fa8bf2c18da54b5837c9290ba5b77e9c629'/>
<id>urn:sha1:7a139fa8bf2c18da54b5837c9290ba5b77e9c629</id>
<content type='text'>
This seems to cause Bug#756162, as in that case the depcache
was NULL.

I'm not entirely sure how that happens, but it's better to
be check here rather then crash later on.

Closes: #756162
</content>
</entry>
<entry>
<title>add a simple unit test for acquire progress</title>
<updated>2015-04-10T20:29:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-03-15T21:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dfad5beea77d75983f6ff8a1b8296b74dd48203e'/>
<id>urn:sha1:dfad5beea77d75983f6ff8a1b8296b74dd48203e</id>
<content type='text'>
This isn't testing much of the 'complex' parts,
but its better than nothing for now.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>ensure partial dirs are 0700 and owned by _apt:root</title>
<updated>2014-10-06T23:59:49Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-10-06T09:15:03Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=04a54261afd1c99686109f102afc83346c01c930'/>
<id>urn:sha1:04a54261afd1c99686109f102afc83346c01c930</id>
<content type='text'>
Reworks the API involved in creating and setting up the fetcher to be a
bit more pleasent to look at and work with as e.g. an empty string for
no lock isn't very nice. With the lock we can also stop creating all our
partial directories "just in case". This way we can also be a bit more
aggressive with the partial directory itself as with a lock, we know we
will gone need it.
</content>
</entry>
<entry>
<title>generalize Acquire::GzipIndex</title>
<updated>2014-09-21T08:18:03Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2014-09-21T08:18:03Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b0f4b486e6850c5f98520ccf19da71d0ed748ae4'/>
<id>urn:sha1:b0f4b486e6850c5f98520ccf19da71d0ed748ae4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Only show packages as upgradable if the have a CandidateVer != 0</title>
<updated>2014-07-08T14:06:56Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-07-08T14:06:56Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=7d1b93d94083a3856efc821bacd9e91f80bbf760'/>
<id>urn:sha1:7d1b93d94083a3856efc821bacd9e91f80bbf760</id>
<content type='text'>
Closes: #753297
</content>
</entry>
<entry>
<title>use P_ instead of ngettext to compiling with --disable-nls</title>
<updated>2014-06-18T09:17:18Z</updated>
<author>
<name>Fredrik Fornwall</name>
<email>fredrik@fornwall.net</email>
</author>
<published>2014-06-17T09:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dab5f8745b8d6df1060490c8c5ac895832657a74'/>
<id>urn:sha1:dab5f8745b8d6df1060490c8c5ac895832657a74</id>
<content type='text'>
Closes: 751857
</content>
</entry>
</feed>
