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

Drop separate misspell #2814

Merged
merged 4 commits into from
Oct 23, 2023
Merged

Conversation

ferhatelmas
Copy link
Member

Since golangci automatically covers it,
no need for separate installation.

Which is also older than the packaged one.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

changelog detected ✅

@ferhatelmas ferhatelmas force-pushed the ferhat/misspell branch 2 times, most recently from b3bc472 to a7ae668 Compare October 4, 2023 23:49
Since golangci automatically covers it,
no need for separate installation.

Which is also older than the packaged one.
@jacobbednarz
Copy link
Member

the separate install was to make it accessible on the PATH - is golanglint-ci setup to do this now?

@ferhatelmas
Copy link
Member Author

it won't but what is the need to have it in PATH? Also, couple of other tools there, seems not used.

@jacobbednarz
Copy link
Member

we should keep that yes. the current tools end up usable thanks to being in the Go PATH.

@ferhatelmas
Copy link
Member Author

It's not referenced anywhere. For my curiosity, how do you use it?

@jacobbednarz
Copy link
Member

@jacobbednarz
Copy link
Member

here is an example of why we have the additional dependency.

without your PR

root@a70b2b382ed4:/workspaces/terraform-provider-cloudflare# which misspell
/go/bin/misspell

whichs means anyone can drop into it and kick off just misspell or use it in their editor. however, with your PR, that no longer exists and you have to invoke it via golanci-lint ( golangci-lint run --disable-all -E misspell).

root@236a1d598dc0:/workspaces/terraform-provider-cloudflare# which golangci-lint
/go/bin/golangci-lint
root@236a1d598dc0:/workspaces/terraform-provider-cloudflare# which misspell
root@236a1d598dc0:/workspaces/terraform-provider-cloudflare#

@Cyb3r-Jak3 you're the only other one i see contributing to the devcontainer setup externally, do you have a use case for keeping misspell on the PATH?

@jacobbednarz
Copy link
Member

@danquack you also just made a contribution to the devcontainer so curious if you have a preference/thoughts here either?

@danquack
Copy link
Contributor

Im not using the dev container, just using my system go to execute. I don't have a preference on this one.

@Cyb3r-Jak3
Copy link
Contributor

@Cyb3r-Jak3 you're the only other one i see contributing to the devcontainer setup externally, do you have a use case for keeping misspell on the PATH?

I don't see a problem with removing from the path. I only use it via make lint which should still work with this.

@jacobbednarz jacobbednarz merged commit b04ee17 into cloudflare:master Oct 23, 2023
9 checks passed
@jacobbednarz
Copy link
Member

let's give this a go and see if it causes anyone pain.

@github-actions github-actions bot added this to the v4.18.0 milestone Oct 23, 2023
github-actions bot pushed a commit that referenced this pull request Oct 23, 2023
@ferhatelmas ferhatelmas deleted the ferhat/misspell branch October 23, 2023 10:43
@ferhatelmas
Copy link
Member Author

thanks for accepting and merging it

Copy link
Contributor

This functionality has been released in v4.18.0 of the Terraform Cloudflare Provider.

Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants