diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-11-02 02:55:17 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-11-02 03:08:24 +0000 |
commit | f18c708183ac735d1787ff5b450d36f6596a10b9 (patch) | |
tree | 2a8cbb76760ae075b675f15a751d207059a20b56 /test/provides8.test | |
parent | ee3740fcc681b8585b3d8d363453585cae4257aa (diff) | |
download | apk-tools-f18c708183ac735d1787ff5b450d36f6596a10b9.tar.gz apk-tools-f18c708183ac735d1787ff5b450d36f6596a10b9.tar.bz2 apk-tools-f18c708183ac735d1787ff5b450d36f6596a10b9.tar.xz apk-tools-f18c708183ac735d1787ff5b450d36f6596a10b9.zip |
solver: implement support for choosing default virtuals
By introducing a new package metadata field, `provider_priority`
(index letter `k`), we can specify default packages to satisfy a
virtual.
If a user wishes to select an alternative provider for the virtual,
a changeset swapping the default provider for the selected provider
will be generated by the dependency resolver.
Diffstat (limited to 'test/provides8.test')
-rw-r--r-- | test/provides8.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/provides8.test b/test/provides8.test new file mode 100644 index 0000000..9cc13f5 --- /dev/null +++ b/test/provides8.test @@ -0,0 +1,6 @@ +@ARGS +--test-repo provides.repo +add mail-reader mailreadplus +@EXPECT +(1/1) Installing mailreadplus (1) +OK: 0 MiB in 0 packages |