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

Remove targets goal in favor of target-types goal #10145

Merged
merged 3 commits into from Jun 24, 2020

Conversation

Eric-Arellano
Copy link
Contributor

target-types is a better name and has more descriptive information thanks to the Target API.

[ci skip-rust-tests]
[ci skip-jvm-tests]

# Delete this line to force CI to run Clippy and the Rust tests.
[ci skip-rust-tests]
# Delete this line to force CI to run the JVM tests.
[ci skip-jvm-tests]
@stuhood stuhood requested a review from benjyw June 23, 2020 23:12
@stuhood
Copy link
Sponsor Member

stuhood commented Jun 23, 2020

Will defer to @benjyw on the help-info-extractor code, as I think that that is what he's currently looking at.

# Delete this line to force CI to run Clippy and the Rust tests.
[ci skip-rust-tests]
# Delete this line to force CI to run the JVM tests.
[ci skip-jvm-tests]
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.

The build dictionary extractor will have to be completely rewritten for the Target API, so deleting these is fine.

@Eric-Arellano
Copy link
Contributor Author

The build dictionary extractor will have to be completely rewritten for the Target API, so deleting these is fine.

Afaict, it's already rewritten in list_target_types.py. It has code to parse both Fields and Targets into structured dataclasses.

We only need to change the output to be something like JSON, rather than console text.

@Eric-Arellano Eric-Arellano merged commit 23b5ce5 into pantsbuild:master Jun 24, 2020
@Eric-Arellano Eric-Arellano deleted the remove-targets branch June 24, 2020 18:58
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

3 participants