Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: Ulrich Mueller <ulm@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [RFC] New version constraints: variant one
Date: Fri, 11 Nov 2016 07:53:31
Message-Id: 20161111085316.3081d344.mgorny@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [RFC] New version constraints: variant one by Ulrich Mueller
1 On Fri, 11 Nov 2016 02:31:29 +0100
2 Ulrich Mueller <ulm@g.o> wrote:
3
4 > Also note that the suggested set of operators is incomplete. There are
5 > "<== less than or equal to" and ">== greater than or equal to", but
6 > the corresponding ones for "less than" and "greater than" are missing.
7 > So this would remove part of the existing functionality.
8
9 Which was quite thoroughly explained. But I can repeat it for you if
10 you insist: revisions are countable, so there's really no problem in
11 doing >== -r2 instead of > -r1, and <== -r2 instead of < -r3. With the
12 *== forms being IMHO cleaner since you clearly indicate the range of
13 revisions, without making someone wonder whether you didn't
14 accidentally forget = in there.
15
16 --
17 Best regards,
18 Michał Górny
19 <http://dev.gentoo.org/~mgorny/>