<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib, branch 1.8.0_rc4</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.8.0_rc4</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.8.0_rc4'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2019-02-10T12:16:27Z</updated>
<entry>
<title>Fix various typos in the documentation</title>
<updated>2019-02-10T12:16:27Z</updated>
<author>
<name>Jakub Wilk</name>
<email>jwilk@jwilk.net</email>
</author>
<published>2019-02-10T11:51:30Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9a702b150c8ddeafa8c10c9f120dafdeb08ef93b'/>
<id>urn:sha1:9a702b150c8ddeafa8c10c9f120dafdeb08ef93b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use std::to_string() for HashStringList::FileSize() getter</title>
<updated>2019-02-04T14:29:09Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2019-01-04T19:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=780858355914c64793f11860490603c5131c35f1'/>
<id>urn:sha1:780858355914c64793f11860490603c5131c35f1</id>
<content type='text'>
This slightly improves performance, as std::to_string() (as in gcc's
libstdc++) avoids a heap allocation. This is surprisingly performance
critical code, so we might want to improve things further in 1.9
by manually calculating the string - that would also get rid of issues
with locales changing string formatting, if any.
</content>
</entry>
<entry>
<title>gpgv: Use buffered writes for splitting clearsigned files</title>
<updated>2019-02-04T13:43:16Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-02-04T13:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cde5ee8fe527d3d672775909d27110d11c393774'/>
<id>urn:sha1:cde5ee8fe527d3d672775909d27110d11c393774</id>
<content type='text'>
This is safe here, as the code ensures that the file is flushed
before it is being used. The next series should probably make
GetTempFile() buffer writes by default.
</content>
</entry>
<entry>
<title>Merge branch 'pu/dead-pin' into 'master'</title>
<updated>2019-02-04T12:44:08Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2019-02-04T12:44:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3a015964dd56edf897ee062b2eafa2cfc0584380'/>
<id>urn:sha1:3a015964dd56edf897ee062b2eafa2cfc0584380</id>
<content type='text'>
A pin of -32768 overrides any other, disables repo

See merge request apt-team/apt!40</content>
</entry>
<entry>
<title>Add a Packages-Require-Authorization Release file field</title>
<updated>2019-02-01T16:52:03Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2019-02-01T13:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c2b9b0489538fed4770515bd8853a960b13a2618'/>
<id>urn:sha1:c2b9b0489538fed4770515bd8853a960b13a2618</id>
<content type='text'>
This new field allows a repository to declare that access to
packages requires authorization. The current implementation will
set the pin to -32768 if no authorization has been provided in
the auth.conf(.d) files.

This implementation is suboptimal in two aspects:
(1) A repository should behave more like NotSource repositories
(2) We only have the host name for the repository, we cannot use
    paths yet.

- We can fix those after an ABI break.

The code also adds a check to acquire-item.cc to not use the
specified repository as a download source, mimicking NotSource.
</content>
</entry>
<entry>
<title>Drop buffered writing from clearsigned message extraction</title>
<updated>2019-02-01T13:08:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-02-01T13:08:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=8aa2053368d1bb82755164eaa36a10410b434c7c'/>
<id>urn:sha1:8aa2053368d1bb82755164eaa36a10410b434c7c</id>
<content type='text'>
It is dropped in the merged code, but the extraction of the clearsigned
message code was the only one who had it previously, so the short-desc
explains the change from a before-after merge of the branch PoV.

It would make sense to enable it, but as we aren't in a time critical
paths here we can delay this for after buster to avoid problems.

References: 73e3459689c05cd62f15c29d2faddb0fc215ef5e
Suggested-By: Julian Andres Klode
</content>
</entry>
<entry>
<title>Avoid boolean flags by splitting writeTo functions</title>
<updated>2019-02-01T13:02:08Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-02-01T13:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=fd438818d2518901396d6835f845b0b90c3a82fa'/>
<id>urn:sha1:fd438818d2518901396d6835f845b0b90c3a82fa</id>
<content type='text'>
Suggested-By: Julian Andres Klode
Gbp-Dch: Ignore
</content>
</entry>
<entry>
<title>Reuse APT::StringView more in LineBuffer</title>
<updated>2019-01-29T15:08:39Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-01-29T14:34:56Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cd852177246a5ea52ae3fda12b8d991a1ad8d351'/>
<id>urn:sha1:cd852177246a5ea52ae3fda12b8d991a1ad8d351</id>
<content type='text'>
No effective change in behaviour, just simplifying and reusing code.

Suggested-By: Julian Andres Klode
Gbp-Dch: Ignore
</content>
</entry>
<entry>
<title>Rework ifs to use not instead of == false/true</title>
<updated>2019-01-29T12:57:19Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-01-29T12:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=7107b3a056211daf7cd00b130f42168d6aa1e1b6'/>
<id>urn:sha1:7107b3a056211daf7cd00b130f42168d6aa1e1b6</id>
<content type='text'>
No change in the logic itself, just dropping "== true", replacing "==
false" with not and moving lines around to make branches more obvious.

Suggested-By: Julian Andres Klode
Gbp-Dch: Ignore
</content>
</entry>
<entry>
<title>Refuse files with lines unexpectedly starting with a dash</title>
<updated>2019-01-28T19:45:02Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2019-01-28T19:45:02Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9b840b59cc80a072e14b8adc9d76669a7a50ab87'/>
<id>urn:sha1:9b840b59cc80a072e14b8adc9d76669a7a50ab87</id>
<content type='text'>
We support dash-encoding even if we don't really work with files who
would need it as implementations are free to encode every line, but
otherwise a line starting with a dash must either be a header we parse
explicitly or the file is refused. This is against the RFC which says
clients should warn on such files, but given that we aren't expecting
any files with dash-started lines to begin with this looks a lot like a
we should not continue to touch the file as it smells like an attempt to
confuse different parsers by "hiding" headers in-between others.

The other slightly more reasonable explanation would be an armor header
key starting with a dash, but no existing key does that and it seems
unlikely that this could ever happen. Also, it is recommended that
clients warn about unknown keys, so new appearance is limited.
</content>
</entry>
</feed>
