<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/deb/deblistparser.cc, 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-27T10:50:05Z</updated>
<entry>
<title>ParseDepends: Mark branches for build-dep parsing as unlikely</title>
<updated>2015-12-27T10:50:05Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-27T10:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=147041626609e95700781bea045f8e8ea18370a3'/>
<id>urn:sha1:147041626609e95700781bea045f8e8ea18370a3</id>
<content type='text'>
We do not see those branches at all during normal mode of
operation (that is, during cache generation), so tell the
compiler about it.
</content>
</entry>
<entry>
<title>debListParser: Do not validate Description-md5 for correctness twice</title>
<updated>2015-12-27T03:04:50Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-27T02:33:12Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=50b7dbc5a8d7d53b266636c9f1798df264dbe48f'/>
<id>urn:sha1:50b7dbc5a8d7d53b266636c9f1798df264dbe48f</id>
<content type='text'>
The Set() method returns false if the input is no hex number,
so simply use that.
</content>
</entry>
<entry>
<title>debListParser: ParseDepends: Only query native arch if needed</title>
<updated>2015-12-27T01:25:49Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-27T01:19:20Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0e0bff781d58a2b02c5b812fc9acd929a07105a9'/>
<id>urn:sha1:0e0bff781d58a2b02c5b812fc9acd929a07105a9</id>
<content type='text'>
This makes the code parsing architecture lists slower, but on
the other hand, improves the more generic case of reading
dependencies from Packages files.
</content>
</entry>
<entry>
<title>Convert most callers of isspace() to isspace_ascii()</title>
<updated>2015-12-27T00:20:41Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-26T23:51:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=74dedb4ae28fd4f7c89bf769708d4f7edc7ed79a'/>
<id>urn:sha1:74dedb4ae28fd4f7c89bf769708d4f7edc7ed79a</id>
<content type='text'>
This converts all callers that read machine-generated data,
callers that might work with user input are not converted.
</content>
</entry>
<entry>
<title>Convert package names from Packages files to lower case</title>
<updated>2015-12-11T13:48:21Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-11T13:27:56Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=fffa3b57b4f2334dff3b9bef5401521307e1a721'/>
<id>urn:sha1:fffa3b57b4f2334dff3b9bef5401521307e1a721</id>
<content type='text'>
dpkg does that when reading package files, so we should do
the same. This only deals with parsing names from binary
package paragraphs, it does not look at source package names
and/or the list of binaries in a dsc file.

Closes: #807012
</content>
</entry>
<entry>
<title>deblistparser: Make PrioList const</title>
<updated>2015-10-23T16:06:23Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-10-23T16:02:30Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f77ea39c94988ab6adcb2d6bbf5466b0bc65953b'/>
<id>urn:sha1:f77ea39c94988ab6adcb2d6bbf5466b0bc65953b</id>
<content type='text'>
More safety, less writeable memory.
</content>
</entry>
<entry>
<title>implement dpkgs vision of interpreting pkg:&lt;arch&gt; dependencies</title>
<updated>2015-09-14T13:22:18Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-09-06T11:32:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3addaba1ff6fe27cc96af5c2d345ee039c2bffec'/>
<id>urn:sha1:3addaba1ff6fe27cc96af5c2d345ee039c2bffec</id>
<content type='text'>
How the Multi-Arch field and pkg:&lt;arch&gt; dependencies interact was
discussed at DebConf15 in the "MultiArch BoF". dpkg and apt (among other
tools like dose) had a different interpretation in certain scenarios
which we resolved by agreeing on dpkg view – and this commit realizes
this agreement in code.

As was the case so far libapt sticks to the idea of trying to hide
MultiArch as much as possible from individual frontends and instead
translates it to good old SingleArch. There are certainly situations
which can be improved in frontends if they know that MultiArch is upon
them, but these are improvements – not necessary changes needed
to unbreak a frontend.

The implementation idea is simple: If we parse a dependency on foo:amd64
the dependency is formed on a package 'foo:amd64' of arch 'any'. This
package is provided by package 'foo' of arch 'amd64', but not by 'foo'
of arch 'i386'. Both of those foo packages provide each other through
(assuming foo is M-A:foreign) to allow a dependency on 'foo' to be
satisfied by either foo of amd64 or i386. Packages can also declare to
provide 'foo:amd64' which is translated to providing 'foo:amd64:any' as
well.

This indirection over provides was chosen as the alternative would be to
teach dependency resolvers how to deal with architecture specific
dependencies – which violates the design idea of avoiding resolver
changes, especially as architecture-specific dependencies are a
cornercase with quite a few subtil rules. Handling it all over versioned
provides as we already did for M-A in general seems much simpler as it
just works for them.

This switch to :any has actually a "surprising" benefit as well: Even
frontends showing a package name via .Name() [which doesn't show the
architecture] will display the "architecture" for dependencies in which
it was explicitely requested, while we will not show the 'strange' :any
arch in FullName(true) [= pretty-print] either. Before you had to
specialcase these and by default you wouldn't get these details shown.

The only identifiable disadvantage is that this complicates error
reporting and handling. apt-get's ShowBroken has existing problems with
virtual packages [it just shows the name without any reason], so that
has to be worked on eventually. The other case is that detecting if a
package is completely unknown or if it was at least referenced somewhere
needs to acount for this "split" – not that it makes a practical
difference which error is shown… but its one of the improvements
possible.
</content>
</entry>
<entry>
<title>M-A: allowed pkgs of unconfigured archs do not statisfy :any</title>
<updated>2015-09-14T13:22:18Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-09-05T11:29:50Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=384f17b40efb7b966001b2f7620b18324b507c55'/>
<id>urn:sha1:384f17b40efb7b966001b2f7620b18324b507c55</id>
<content type='text'>
We parse all architectures we encounter recently, which means we also
parse packages from architectures which are neither native nor foreign,
but still came onto the system somehow (usually via heavy force).
</content>
</entry>
<entry>
<title>store ':any' pseudo-packages with 'any' as architecture</title>
<updated>2015-09-14T13:22:18Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-09-05T10:58:04Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f6ce7ffce526432a855166074332f97b37ad98db'/>
<id>urn:sha1:f6ce7ffce526432a855166074332f97b37ad98db</id>
<content type='text'>
Previously we had python:any:amd64, python:any:i386, … in the cache and
the dependencies of an amd64 package would be on python:any:amd64, of an
i386 on python:any:i386 and so on. That seems like a relatively
pointless endeavor given that they will all be provided by the same
packages and therefore also a waste of space.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>fix some unused parameter/variable warnings</title>
<updated>2015-08-31T15:48:54Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-08-31T15:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b830f576a81751f4b04bc889fa82aaca0e6fc3ea'/>
<id>urn:sha1:b830f576a81751f4b04bc889fa82aaca0e6fc3ea</id>
<content type='text'>
Reported-By: gcc
Git-Dch: Ignore
</content>
</entry>
</feed>
