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

Hook the Rust options parser into Python (not for review) #20865

Draft
wants to merge 76 commits into
base: main
Choose a base branch
from

Conversation

benjyw
Copy link
Sponsor Contributor

@benjyw benjyw commented May 1, 2024

No description provided.

@benjyw benjyw added the category:internal CI, fixes for not-yet-released features, etc. label May 1, 2024
benjyw added 19 commits May 2, 2024 06:16
If the scope name is foo.bar, the env var should 
start with PANTS_FOO_BAR_, as is done
in the Python parser.

In practice dots aren't allowed in scope names,
and a dotted scope indicates "nested subsystems"
which aren't a thing any more. But some aspects
of this are still tested in the Python parser, and we
want those tests to continue to pass under the 
Rust parser.

This PR also changes the return value of
get_passthrough_args to one that turns
out to be more useful in practice, but which wasn't
worth an independent PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant