]> git.saurik.com Git - apt.git/commit - test/integration/test-bug-758153-versioned-provides-support
just-in-time creation for (implicit) Provides
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 16 Jul 2015 17:41:45 +0000 (19:41 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 10 Aug 2015 15:27:59 +0000 (17:27 +0200)
commitecc138f858fab61e0b888d3d13854d1422c3432b
treeb7bd372c9ee7630a157afeeaab52d04efb72a4dc
parent8c7af4d4c95d0423fbd0f3baa979792504f4f45f
just-in-time creation for (implicit) Provides

Expecting the worst is easy to code, but has its disadvantages e.g.
by creating package structures which otherwise would have never
existed. By creating the provides instead at the time a package
structure is added we are well prepared for the introduction of partial
architectures, massive amounts of M-A:foreign (and :allowed) and co as
far as provides are concerned at least. We have something relatively
similar for dependencies already.

Many tests are added for both M-A states and the code cleaned to
properly support implicit provides for foreign architectures and
architectures we 'just' happen to parse.

Git-Dch: Ignore
apt-pkg/deb/deblistparser.cc
apt-pkg/deb/deblistparser.h
apt-pkg/pkgcachegen.cc
apt-pkg/pkgcachegen.h
cmdline/apt-cache.cc
test/integration/test-bug-723586-any-stripped-in-single-arch
test/integration/test-bug-758153-versioned-provides-support
test/integration/test-multiarch-allowed [new file with mode: 0755]
test/integration/test-multiarch-foreign