1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Marijn Schouten (hkBst) wrote: |
5 |
> John R. Graham wrote: |
6 |
>> What I'd really like to be able to code is a range with an AND operator, |
7 |
>> something like this |
8 |
>> ( && >=some-cat/foo-4.0 <some-cat/foo-4.3 ) |
9 |
> |
10 |
> AND is already the implicit combinator. Thus simply listing both these atoms |
11 |
> gives what you want: |
12 |
> |
13 |
> >=some-cat/foo-4.0 |
14 |
> <some-cat/foo-4.3 |
15 |
|
16 |
Not always, AFAIK Imagine there's some 3.x versions in slot 3, 4.x in |
17 |
slot 4, 5.x in slot 5. With this atoms you could end up with both 3.x |
18 |
and 5.x installed, and no 4.x :) It doesn't try to satisfy both atoms |
19 |
with one version. |
20 |
|
21 |
> Still a special syntax for ranges seems like a good idea. If only portage |
22 |
> would not upgrade past such specifications (and downgrade the next time). |
23 |
|
24 |
IIRC upgrade/downgrade loops were already solved in some recent version? |
25 |
Now it spits some error about conflicting deps that cause that. |
26 |
- -- |
27 |
Vlastimil Babka (Caster) |
28 |
Gentoo/Java |
29 |
-----BEGIN PGP SIGNATURE----- |
30 |
Version: GnuPG v1.4.7 (GNU/Linux) |
31 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
32 |
|
33 |
iD8DBQFGcmHKtbrAj05h3oQRAjxQAJ9jYtK7aAAWBvYttCTLW1Kt7a/OzACeL2Oe |
34 |
aLZwTVOKohkRfcyyfRKpqMY= |
35 |
=gYLD |
36 |
-----END PGP SIGNATURE----- |
37 |
-- |
38 |
gentoo-dev@g.o mailing list |