From 6232a65a358e1f6036de8945b0c4686609b43e45 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Thu, 20 Jun 2013 23:32:59 +0200 Subject: [PATCH] Update docs to point out the problem with range constraints for conflict links. --- doc/04-schema.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/04-schema.md b/doc/04-schema.md index 88f221180..3e449a958 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -309,6 +309,11 @@ if `install` is run with `--dev` or if `update` is run without `--no-dev`. Lists packages that conflict with this version of this package. They will not be allowed to be installed together with your package. +Note that when specifying ranges like "<1.0, >= 1.1" in a `conflict` link, +this will state a conflict with all versions that are less than 1.0 *and* equal +or newer than 1.1 at the same time, which is probably not what you want. You +probably want to go for "<1.0 | >= 1.1" in this case. + #### replace Lists packages that are replaced by this package. This allows you to fork a