Browse Source
Before MultiArch implicits weren't a thing, so they were hidden by default by definition. Adding them for MultiArch solved many problems, but having no reliable way of detecting which dependency (and provides) is implicit or not causes problems everytime we want to output dependencies without confusing our observers with unneeded implementation details. The really notworthy point here is actually that we keep now a better record of how a dependency came to be so that we can later reason about it more easily, but that is hidden so deep down in the library internals that change is more the problems it solves than the change itself.debian/1.8.y

12 changed files with 169 additions and 150 deletions
@ -1,56 +0,0 @@ |
|||
#!/bin/sh |
|||
set -e |
|||
|
|||
TESTDIR=$(readlink -f $(dirname $0)) |
|||
. $TESTDIR/framework |
|||
setupenvironment |
|||
configarchitecture 'amd64' 'i386' |
|||
|
|||
insertpackage 'unstable-mp' 'crda' 'i386,amd64' '1.1.1-1ubuntu4mp' 'Provides: wireless-crda |
|||
Multi-Arch: foreign' |
|||
insertpackage 'unstable-m' 'crda' 'i386,amd64' '1.1.1-1ubuntu4m' 'Multi-Arch: foreign' |
|||
insertpackage 'unstable-p' 'crda' 'i386,amd64' '1.1.1-1ubuntu4p' 'Provides: wireless-crda' |
|||
insertpackage 'unstable' 'wireless-crda' 'i386,amd64' '1.16' |
|||
|
|||
|
|||
insertinstalledpackage 'wireless-crda' 'amd64' '1.14' |
|||
|
|||
setupaptarchive |
|||
|
|||
testsuccessequal 'Reading package lists... |
|||
Building dependency tree... |
|||
The following NEW packages will be installed: |
|||
crda |
|||
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
|||
Inst crda (1.1.1-1ubuntu4m unstable-m [amd64]) |
|||
Conf crda (1.1.1-1ubuntu4m unstable-m [amd64])' aptget install crda -s -t unstable-m |
|||
|
|||
testsuccessequal 'Reading package lists... |
|||
Building dependency tree... |
|||
The following NEW packages will be installed: |
|||
crda |
|||
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
|||
Inst crda (1.1.1-1ubuntu4p unstable-p [amd64]) |
|||
Conf crda (1.1.1-1ubuntu4p unstable-p [amd64])' aptget install crda -s -t unstable-p |
|||
|
|||
testsuccessequal 'Reading package lists... |
|||
Building dependency tree... |
|||
The following NEW packages will be installed: |
|||
crda |
|||
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
|||
Inst crda (1.1.1-1ubuntu4mp unstable-mp [amd64]) |
|||
Conf crda (1.1.1-1ubuntu4mp unstable-mp [amd64])' aptget install crda -s -t unstable-mp |
|||
|
|||
rm rootdir/var/lib/dpkg/status |
|||
insertinstalledpackage 'crda' 'amd64' '1.1.1-1ubuntu4mp' 'Provides: wireless-crda |
|||
Conflicts: wireless-crda (<< 1.15) |
|||
Replaces: wireless-crda ( << 1.15) |
|||
Multi-arch: foreign' |
|||
|
|||
testsuccessequal 'Reading package lists... |
|||
Building dependency tree... |
|||
The following NEW packages will be installed: |
|||
wireless-crda |
|||
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
|||
Inst wireless-crda (1.16 unstable [amd64]) |
|||
Conf wireless-crda (1.16 unstable [amd64])' aptget install wireless-crda -s -t unstable |
Loading…
Reference in new issue