From 500f8d4a7d7b17871647392e79e4c7a17c210534 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Sat, 29 Oct 2011 05:18:21 +0300 Subject: 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 --- test/pinning4.expect | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/pinning4.expect (limited to 'test/pinning4.expect') diff --git a/test/pinning4.expect b/test/pinning4.expect new file mode 100644 index 0000000..5a03102 --- /dev/null +++ b/test/pinning4.expect @@ -0,0 +1,3 @@ +Installing b (2) +Installing a (3) +Installing c (3) -- cgit v1.2.3-60-g2f50