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 override of register_plugin_field (Cherry pick of #16919) #16923

Merged
merged 1 commit into from Sep 19, 2022

Conversation

tdyas
Copy link
Contributor

@tdyas tdyas commented Sep 19, 2022

As reported on Slack, after #16799, help for targets with plugin fields was listing those plugin fields multiple times. Remove the override of register_plugin_field on TargetGenerator since tests seems to pass without that code and the need to set the plugin field as a moved or copied field may be unnecessary if the field is registered on the generator and the generated target types.

[ci skip-rust]

[ci skip-build-wheels]

As reported on Slack, after pantsbuild#16799, help for targets with plugin fields was listing those plugin fields multiple times. Remove the override of `register_plugin_field` on `TargetGenerator` since tests seems to pass without that code and the need to set the plugin field as a moved or copied field may be unnecessary if the field is registered on the generator and the generated target types.

[ci skip-rust]

[ci skip-build-wheels]
@tdyas tdyas added the category:bugfix Bug fixes for released features label Sep 19, 2022
@tdyas tdyas changed the title remove override of register_plugin_field (#16919) remove override of register_plugin_field (Cherry pick of #16919) Sep 19, 2022
@tdyas tdyas merged commit b0f705d into pantsbuild:2.14.x Sep 19, 2022
@tdyas tdyas deleted the cp_fix_field_registration branch September 19, 2022 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants