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

do not leak non-goal subsystems as goals to the command line int… #12337

Merged
merged 3 commits into from
Jul 15, 2021

Conversation

kaos
Copy link
Member

@kaos kaos commented Jul 13, 2021

…erface.

fixes #12333

Not yet fully functional. There were some dependencies wrgt flags parsing that broke when I filtered down the known scopes to only include goal scopes. Will look into it more tomorrow. Any feedback until then welcome :)

Rust tests and lints will be skipped. Delete if not intended.

[ci skip-rust]

…erface.

Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]
kaos added 2 commits July 14, 2021 09:18
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
Copy link
Sponsor Contributor

@benjyw benjyw left a comment

Choose a reason for hiding this comment

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

Thanks for this change! Good catch on the bug.

I had another idea for the implementation, but after thinking about it, I like yours more! I think this is great and would approve once it's out of draft.

@kaos kaos changed the title wip: do not leak non-goal subsystems as goals to the command line int… do not leak non-goal subsystems as goals to the command line int… Jul 14, 2021
@kaos kaos marked this pull request as ready for review July 14, 2021 15:40
Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

This looks great! Thanks so much @kaos.

@benjyw mind taking another look? (He's the expert on our options system)

Copy link
Sponsor Contributor

@benjyw benjyw left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for this excellent fix.

@Eric-Arellano Eric-Arellano merged commit 1e9fd75 into pantsbuild:main Jul 15, 2021
@kaos kaos deleted the issue/12333 branch October 5, 2021 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

key error bug when invoking pex without arguments
3 participants