Skip to content
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

Fix issue where brakeman does not detect lockfile correctly from engines #23325

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

Fryguy
Copy link
Member

@Fryguy Fryguy commented Feb 4, 2025

@jrafanie Please review. This should allow ui-classic to go green.

This is admittedly a hack, but the alternative is to patch brakeman's process_gems method, which feels riskier. Note that in an upcoming brakeman, there is a patch to be able to pass the BUNDLE_GEMFILE, which might be a possible way to solve this better.

Copy link
Member

@jrafanie jrafanie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let it be known that I was trying to avoid @Fryguy some confusion in the future when his core lockfile contains some engine dependencies. I spoke up for future Jason but was convinced to not care about him. 😉

@jrafanie jrafanie merged commit 9bd969e into ManageIQ:master Feb 4, 2025
8 checks passed
@Fryguy Fryguy deleted the brakeman_engine_gemfile_lock branch February 4, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants