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

Ripgrep integration + rust runtime fixes #436

Merged
merged 4 commits into from
Aug 16, 2023

Conversation

laurit17
Copy link
Contributor

  • make the trunk tools generate template a little bit smarter
  • bump the rust runtime version so it supports ripgrep
  • integrate ripgrep (39.4K stars)
  • fix environment spec for rust runtime

@laurit17 laurit17 requested a review from TylerJang27 August 15, 2023 00:31
Copy link
Collaborator

@TylerJang27 TylerJang27 left a comment

Choose a reason for hiding this comment

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

Looks good. Couple small notes

@@ -13,7 +13,4 @@ lint:
stdin: true
formatter: true
suggest_if: files_present
environment:
- name: PATH
list: ["${linter}/bin"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can also apply this to clippy and rustfmt, correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah - these are different because they are rust downloads. we can convert to runtime shims. will do so separately.

tools/ripgrep/ripgrep.test.ts Outdated Show resolved Hide resolved
@laurit17 laurit17 merged commit 3503ad9 into main Aug 16, 2023
@laurit17 laurit17 deleted the lauri/improve-tools-generate-action branch August 16, 2023 17:21
TylerJang27 added a commit that referenced this pull request Nov 29, 2023
- Eslint: new `tools.runtimes` functionality requires explicitly
specifying runtime shims
- nixpkgs-fmt: transitive dependencies were no longer compatible with
the pinned runtime version. Bumped to KGV, see #436
- Adds additional debug logs since eslint has been failing more
frequently lately

This should fix the cross-repo tests since the new CLI versions will
require these changes.

**These tests will not pass until we get a new staging release with
Windows shim fixes. Will bump version and land after that's out.**
pat-trunk-io pushed a commit that referenced this pull request Jan 22, 2024
- Eslint: new `tools.runtimes` functionality requires explicitly
specifying runtime shims
- nixpkgs-fmt: transitive dependencies were no longer compatible with
the pinned runtime version. Bumped to KGV, see #436
- Adds additional debug logs since eslint has been failing more
frequently lately

This should fix the cross-repo tests since the new CLI versions will
require these changes.

**These tests will not pass until we get a new staging release with
Windows shim fixes. Will bump version and land after that's out.**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants