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: Install completions as rg.fish, etc. #155680

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

cstyles
Copy link
Contributor

@cstyles cstyles commented Nov 27, 2023

ripgrep v14 changed how shell completions are generated and in the switch to using generate_completions_from_executable we started writing completions to ripgrep.fish instead of rg.fish. This prevents the completions from being automatically loaded because the ripgrep executable is called rg not ripgrep.

First time contributor here 👋. I'm not sure if a revision 1 is necessary so I'd appreciate some guidance on that.

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

ripgrep v14 changed how shell completions are generated and in the
switch to using `generate_completions_from_executable` we started
writing completions to `ripgrep.fish` instead of `rg.fish`. This
prevents the completions from being automatically loaded because the
ripgrep executable is called `rg` not `ripgrep`.
@github-actions github-actions bot added the rust Rust use is a significant feature of the PR or issue label Nov 27, 2023
Copy link
Member

@chenrui333 chenrui333 left a comment

Choose a reason for hiding this comment

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

that makes sense, that was my miss, thank!! :)

@chenrui333
Copy link
Member

@cstyles also thanks for your first contribution to homebrew-core! 🎉

@chenrui333
Copy link
Member

relates to #155592

Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Nov 27, 2023
@BrewTestBot BrewTestBot added this pull request to the merge queue Nov 27, 2023
Merged via the queue into Homebrew:master with commit c8e5083 Nov 27, 2023
12 checks passed
@chenrui333
Copy link
Member

First time contributor here 👋. I'm not sure if a revision 1 is necessary so I'd appreciate some guidance on that.

would be captured in #155726

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants