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

Bump default version of shfmt from 3.2.4 to 3.6.0 #17777

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

Eric-Arellano
Copy link
Contributor

No description provided.

@Eric-Arellano Eric-Arellano requested a review from benjyw December 12, 2022 14:50
@Eric-Arellano Eric-Arellano changed the title Bump default version of shfmt to 3.6.0 Bump default version of shfmt from 3.2.4 to 3.6.0 Dec 12, 2022
Comment on lines 23 to 26
"v3.2.4|macos_arm64 |e70fc42e69debe3e400347d4f918630cdf4bf2537277d672bbc43490387508ec|2998546",
"v3.2.4|macos_x86_64|43a0461a1b54070ddc04fbbf1b78f7861ee39a65a61f5466d15a39c4aba4f917|2980208",
"v3.2.4|linux_arm64 |6474d9cc08a1c9fe2ef4be7a004951998e3067d46cf55a011ddd5ff7bfab3de6|2752512",
"v3.2.4|linux_x86_64|3f5a47f8fec27fae3e06d611559a2063f5d27e4b9501171dde9959b8c60a3538|2797568",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm thinking it'd be good for us to start keeping the old default versions around in this option -- it makes it easier for users to simply change [tool].version to keep the same version as a prior Pants release.

The only downsides are these 4 extra lines in our code + longer reference docs because the option's default value will be longer. Seems reasonable.

cc @jriddy - thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense to me. We can special-case this in the reference docs so we show just the first few lines and then an ellipsis.

@jriddy
Copy link
Contributor

jriddy commented Dec 12, 2022 via email

@Eric-Arellano Eric-Arellano requested a review from jriddy December 12, 2022 20:05
@Eric-Arellano Eric-Arellano enabled auto-merge (squash) December 12, 2022 20:05
@Eric-Arellano
Copy link
Contributor Author

Bump on approving

@Eric-Arellano Eric-Arellano merged commit 7f364f8 into pantsbuild:main Dec 15, 2022
@Eric-Arellano Eric-Arellano deleted the bump-shfmt branch December 15, 2022 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants