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 missing help message to experimental backends #16403

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

Eric-Arellano
Copy link
Contributor

Missing from #15633.

@Eric-Arellano Eric-Arellano enabled auto-merge (squash) August 3, 2022 23:52
@@ -44,6 +45,9 @@ class JSSourceTarget(Target):

class JSSourcesGeneratorSourcesField(JSGeneratorSourcesField):
default = tuple(f"*{ext}" for ext in JS_FILE_EXTENSIONS)
help = generate_multiple_sources_field_help_message(
Copy link
Member

Choose a reason for hiding this comment

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

🤯
I always thought the help auto-populated the defaults. I recall asking about it, and I guess I forgot the correct answer 🤦🏽‍♂️

Copy link
Contributor Author

Choose a reason for hiding this comment

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

help used to be provided for MultipleSourcesField, but #15633 changed it so now you have to set it so that we can have better examples in the message. I think we forgot to update your code!

@Eric-Arellano Eric-Arellano merged commit 671cf3e into pantsbuild:main Aug 4, 2022
@Eric-Arellano Eric-Arellano deleted the fix-js-sources branch August 4, 2022 16:16
Eric-Arellano added a commit to Eric-Arellano/pants that referenced this pull request Aug 12, 2022
Missing from pantsbuild#15633.
# 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]
Eric-Arellano added a commit that referenced this pull request Aug 12, 2022
…16403) (#16500)

Missing from #15633.

[ci skip-rust]
[ci skip-build-wheels]
cczona pushed a commit to cczona/pants that referenced this pull request Sep 1, 2022
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.

4 participants