aboutsummaryrefslogtreecommitdiffstats
path: root/test/pinning3.test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-10-29 05:18:21 +0300
committerTimo Teräs <timo.teras@iki.fi>2011-10-29 05:18:21 +0300
commit500f8d4a7d7b17871647392e79e4c7a17c210534 (patch)
tree47d4b1cd04e374d88e26e352eeac9f51da083451 /test/pinning3.test
parente682e6596c101d634b3780a98773c8433b3baadb (diff)
downloadaports-500f8d4a7d7b17871647392e79e4c7a17c210534.tar.bz2
aports-500f8d4a7d7b17871647392e79e4c7a17c210534.tar.xz
solver, db: implement repository pinning
Improves /etc/apk/repositories format so you can say: http://nl.alpinelinux.org/alpine/v2.3/main @edge http://nl.alpinelinux.org/alpine/edge/main @testing http://nl.alpinelinux.org/alpine/edge/testing After which you can pin dependencies to these tags using: apk add stableapp newapp@edge bleedingapp@testing Apk will now by default only use the untagged repositories, but adding a tag to specific dependency: 1. will prefer that tag for the name 2. allowing pulling in dependencies from that tag (though, it prefers untagged packages to satisfy deps if possible) fixes #575
Diffstat (limited to 'test/pinning3.test')
-rw-r--r--test/pinning3.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pinning3.test b/test/pinning3.test
new file mode 100644
index 0000000000..220f1288fe
--- /dev/null
+++ b/test/pinning3.test
@@ -0,0 +1,2 @@
+--raw-repository basic.repo --raw-repository +pinning.repo
+a@testing b@testing