Bug #5147
closedResolve issue with modules.txt
0%
Description
Automatic suite resolution has some issues with regard to patching. For example, if reporting-2.1.0 contains a self-reference to reporting-2.1.^, then when reporting-2.1 is patched, this will resolve to:
reporting-2.1.0
reporting-2.1.1
This is clearly incorrect, especially as the patch will be overridden by the older version and both modules are clearly unnecessary.
This is a particularly tricky issue, as fixing this bug will affect how modules.txt is interpreted and may cause some backwards compatibility issues. I will be investigating solutions to this that are maximally backwards compatible.
Related issues
Updated by David Welker over 14 years ago
I found a way to solve this problem without affecting backwards compatibility. There is new file, called current-suite.txt which will store the current suite. In this way, a ^ symbol can be included for the suite itself if it is patched.