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

Add support for parsing address parameters to CLI specs parsing (cherrypick of #14949) #14957

Merged
merged 1 commit into from Mar 30, 2022

Conversation

stuhood
Copy link
Sponsor Member

@stuhood stuhood commented Mar 30, 2022

#14347 added support for Address parameters, which are used via the parametrize builtin. But we had not yet added support for parsing parametrized addresses to CLI specs parsing.

This change adds support for parsing parametrized addresses in CLI specs by generalizing the parser that was added in #14346 to support parsing the additional syntax required for CLI specs (! ignores and :/:: wildcards), and then using the same parser (with different validation) for both Address and Specs parsing.

Fixes #14521.

[ci skip-build-wheels]

…sbuild#14949)

 pantsbuild#14347 added support for `Address` parameters, which are used via the `parametrize` builtin. But we had not yet added support for parsing parametrized addresses to CLI specs parsing.

This change adds support for parsing parametrized addresses in CLI specs by generalizing the parser that was added in pantsbuild#14346 to support parsing the additional syntax required for CLI specs (`!` ignores and `:`/`::` wildcards), and then using the same parser (with different validation) for both `Address` and `Specs` parsing.

Fixes pantsbuild#14521.

[ci skip-build-wheels]
@stuhood stuhood merged commit baeeecb into pantsbuild:2.11.x Mar 30, 2022
@stuhood stuhood deleted the stuhood/pick-14949-for-2.11.x branch March 30, 2022 18:38
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.

None yet

2 participants