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 workaround for gen-crd-api-reference-docs #6885

Conversation

tsaarni
Copy link
Member

@tsaarni tsaarni commented Jan 31, 2025

This PR removes the workaround for the typealias issue, which was needed for recent Go compiler versions. Since no new releases have been made since v0.3.0 in 2021, the latest commit hash is used instead.

Additionally, the tool was previously installed in the user's GOBIN directory. Now go run is used to avoid requiring installing without user's consent.

@tsaarni tsaarni requested a review from a team as a code owner January 31, 2025 16:38
@tsaarni tsaarni requested review from skriss and sunjayBhatia and removed request for a team January 31, 2025 16:38
@tsaarni tsaarni added the release-note/none-required Marks a PR as not requiring a release note. Should only be used for very small changes. label Jan 31, 2025
@sunjayBhatia sunjayBhatia requested review from a team, davinci26 and izturn and removed request for a team January 31, 2025 16:39
@tsaarni
Copy link
Member Author

tsaarni commented Jan 31, 2025

This PR is continuation for #6874.

BTW you may already be aware that Go 1.24 will introduce a new way to run tools https://tip.golang.org/doc/go1.24#tools

Copy link

codecov bot commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.07%. Comparing base (c0baeb1) to head (962fcdd).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #6885   +/-   ##
=======================================
  Coverage   81.07%   81.07%           
=======================================
  Files         134      134           
  Lines       20087    20087           
=======================================
  Hits        16286    16286           
  Misses       3507     3507           
  Partials      294      294           

@skriss
Copy link
Member

skriss commented Jan 31, 2025

BTW you may already be aware that Go 1.24 will introduce a new way to run tools https://tip.golang.org/doc/go1.24#tools

Oh cool, hadn't seen that but we should definitely make use of it once it's available! Thanks for the reference

@skriss skriss merged commit ac6ee94 into projectcontour:main Jan 31, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/none-required Marks a PR as not requiring a release note. Should only be used for very small changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants