On 15/09/2025 19:44, Guillaume Nodet wrote:
Le lun. 15 sept. 2025 à 17:15, Thomas Reinhardt <[email protected]> a
écrit :


I think <subprojects /> definitly should disable discovery. A list of
submodules *was* specified (with 0 actual submodules).


I agree that would be the most intuitive, however, this information is lost
in the object model, so we definitely don't have access to it.

So the solution is to make the discovery on/off switch a part of the object model:
<subprojects auto-discovery="true" />

The parser treats an absent <subprojects> tag the same as
<subprojects auto-discovery="true" /> and
<subprojects /> the same as <subprojects auto-discovery="false />.

Not sure what is required on the parser side (as I haven't looked at the code) but seems not too complicated IMHO.

Also, from an engineering POV it seems like a good idea to have a more explicit model. Should make the implementation more readable.


Mit freundlichen Grüßen,
        Thomas Reinhardt

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to