"Eugene V. Lyubimkin" <jac...@debian.org> writes:

> On 2011-05-21 21:41, Ian Jackson wrote:
>> Simpler than this, and simpler than constructions involving negations
>> (which would be very troublesome for the resolution algorithms), would
>> be:
>> 
>>   Package: A-plugin-B
>>   Depends: A, B
>>   Recommended-When: A, B

What does that mean? Is A-plugin-B recommended when A is installed or B
installed? Or only if A and B are installed? I assume the later. How
would I write recommended if (A & B) | (C & D)?

> Putting my 'developer of unpopular package manager' on: no, no, pretty
> please, no reverse-Recommends.  Firstly, one doesn't want to scan all
> package database to find all Recommends for the particular package, and
> secondly, this is easily abusable by third-package maintainers and even
> packages from completely different, non-Debian repositories:
>
> Package: some-package
> Depends: gnome
> Recommended-When: gnome
>
>
> And, still wearing the hat, negations are fairly easy to implement. If
> we ever go for implementing conditional dependencies, negations are
> great and powerful idea, I'd vote for them.

Maybe this would be better?

Package: A
Recommends-If: B > C, D & E > F

If B is installed then recommend C. If D and E are installed then
recommend F.

MfG
        Goswin


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aaefrreq.fsf@frosties.localnet

Reply via email to