-
Notifications
You must be signed in to change notification settings - Fork 256
Ignore dyn.shim.excluded.releases
when shimplifying
#12807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: branch-25.08
Are you sure you want to change the base?
Ignore dyn.shim.excluded.releases
when shimplifying
#12807
Conversation
Signed-off-by: Raza Jafri <[email protected]>
build |
build/dyn_shim_detection.py
Outdated
value = _get_buildvers(buildvers, "{}/pom.xml".format(multi_module_project_dir), _log, isShimplify=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is hard to follow why this callsite is supposed to be isShimplify=True
. Should it rather refer to what this flag is affecting such as ignore_excluded_shims=True
or honor_excluded_shims=False
with a comment what the difference is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess to me it was clear because if we are calling this from simplify then we don't care about the excluded shims in pom.
I can rename it if it will make it more clear
Since this PR is resolving the scenario in #12806 of adding a shim, why is it not restricted to |
That will produce bad output when running |
I am still confused based on the description in #12806 : Is this fix necessary if you don't add or remove shims ? |
I have updated the description PTAL. Yes, this change is necessary IMO even when just running shimplify=false with trace on. |
This PR ignores the
dyn.shim.excluded.releases
when generating shims otherwise, shims don't get generated for files whose root directory is in the shim that is excluded.fixes #12806