-
Notifications
You must be signed in to change notification settings - Fork 101
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
Homebrew ugrep formula for MacOS and Linux #21
Comments
Thank you for the amazing tool! |
Thank you and sorry for the delayed response. I've been busy working on ugrep 2.0 that is now released today.
Agreed. This "issue" isn't entirely the right way to ask for help. I hope to close it soon. More important to me is to continue to add feature enhancements to ugrep such as the new query UI option I am considering creating a Linux rpm package, in addition to Homebrew formulas. |
Thank you so much for your work! |
In the meantime a Tap could be made, it's basically the same thing but not in the official repo. |
@genivia-inc @EnricoMonese It would be great if there is a Tap for now! |
According to homebrew, you should be able to run |
I believe that won't be enough, since homebrew would not know how to compile and install. Here are more info. |
Enrico is right, Homebrew gives an error when I try *brew tap
https://github.com/Genivia/ugrep <https://github.com/Genivia/ugrep>*: *Error:
Invalid tap name 'https://github.com/Genivia/ugrep
<https://github.com/Genivia/ugrep>'.*
Best,
Dmitry Shmidt
…On Tue, Apr 28, 2020 at 10:34 AM Enrico Monese ***@***.***> wrote:
I believe that won't be enough, since homebrew would not know how to
compile and install. Here are more info
<https://docs.brew.sh/Formula-Cookbook#grab-the-url>.
Homebrew needs a "formula", a file that has all the the metadata and
build/install instructions.
Basically what you need is a file like any one of these
<https://github.com/Homebrew/homebrew-core/tree/master/Formula> and then
host it somewhere, in either this repo or a separate repo or even a website
may work
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALHO4TTOSB3TO3IPIP6QTTRO4HR7ANCNFSM4LGVJM3A>
.
|
OK, that makes more sense. I was not familiar with the way Tap works. I already had a formula, which I updated to the latest v2.0.6 and committed to the master branch: |
That does work, with running
It does however fail at the Error log
|
Well, this is interesting. Homebrew screws up the build process by removing the essential option
It replaces this option with So I made a few changes to the formula:
It works now to install ugrep as follows:
|
Can confirm, it works now |
EDIT: The repo includes a Homebrew formula to install the latest version of ugrep, fully-featured and AVX/SSE2 optimized:
Still, it would be nice to have an official homebrew formula for ugrep. The problem is that I am stuck with
brew audit
reporting "GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)".If you're happy with ugrep, please ⭐️ the project.
If you want easy installation with homebrew and other installers, please ⭐️ the project.
If you want more features in ugrep, please let us know what you want and don't forget to ⭐️ the project when you are happy with the ugrep updates.
But if you are somehow unhappy and have problems with ugrep, please submit your issue with technical details so we can improve ugrep.
The text was updated successfully, but these errors were encountered: