Le 02/02/2023 à 23:12, Daniel a écrit :
The problem is when the depencies/exclusion graph contains furstrated loops. Something like

- one has B, which provides feature "foo"
- want to insert A, which requires C
- C is incompatible with B
- of course the solution is to install D instead of B, because it also provides feature "foo" like B does, but how to find this solution?

Automatically installing another module because it provides a certain feature seems over the top. In your case I would just go with what the user had done, i.e. tried to add A. So, ask:

Add A and C and remove B? [Yes] [No]

Obviously, I botched my exemple. My intention was to add the A requires the feature "foo" provided by B.

JMarc

Then the user can chose [Yes] and install manually D. But I don't think the automatic part is useless just because it does not automatically install D.

But maybe you had another case in mind? (I don't know what a frustrated loop is.)

My idea was just to suggest the necessary parts for the user's action (clicking "Add").

Daniel



--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to