You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//VARS name=value ... defines replacement values for ${name}. Evaluated progressively: values exist from their line onward.
//PROPS name=value ... sets system properties for build and run. ${name} references resolve against //VARS defined earlier.
Precedence: -D and alias properties override //VARS and //PROPS.
//SOURCES children: each child sees parent //VARS defined above its //SOURCES line. Parent value wins on name clash. //PROPS from children merge in, parent wins.
No actionable comments were generated in the recent review.
Walkthrough
The change adds //VARS and //PROPS directives, resolves their values across included sources, and applies property precedence between directives, inherited context, and builder or command-line properties. It adds parser and CLI tests, reference documentation, and fixtures that exercise dependency resolution, source scoping, and rolling log output.
Merge Risk: Low · up to d8c12
The new //VARS and //PROPS directives behave as documented in ordinary use, including builder and command-line overrides. In one edge case, when two files include the same child and both set the same property, the child's value can win over its includer's, contrary to the documented precedence. The risk is narrow and not merge-blocking.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Dear @maxandersen , Yes. #2775 replaces #2716. #2716 had some weired ci/cd failures for same code after addressing some coderabbit autosuggestions. So I closed it and combined all commits msgs into one
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding
//VARSand//PROPSdirectives//VARS name=value ...defines replacement values for${name}. Evaluated progressively: values exist from their line onward.//PROPS name=value ...sets system properties for build and run.${name}references resolve against//VARSdefined earlier.Precedence:
-Dand alias properties override//VARSand//PROPS.//SOURCESchildren: each child sees parent//VARSdefined above its//SOURCESline. Parent value wins on name clash.//PROPSfrom children merge in, parent wins.Refs #2226