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

Any plan to put it on HomeBrew? #13

Closed
lsanotes opened this issue Mar 25, 2020 · 10 comments
Closed

Any plan to put it on HomeBrew? #13

lsanotes opened this issue Mar 25, 2020 · 10 comments
Assignees
Labels
feature New feature or request help wanted Extra attention is needed

Comments

@lsanotes
Copy link

No description provided.

@lsanotes lsanotes added the feature New feature or request label Mar 25, 2020
@guumaster guumaster added the help wanted Extra attention is needed label Mar 25, 2020
@guumaster
Copy link
Owner

I'd like that. But I don't have a mac and never used brew before, so I'd be hard to test it for me.

I'll check how it is done and try to do it. Of course, this is open for PRs too.

@guumaster
Copy link
Owner

@lsanotes I've added a "Brew Tap" to the GoReleaser script. But I don't have brew to test it.

You can help with it by adding a comment (or PR!) with the steps to do it. Report it here or in #14, that is created specifically for installations.

Thanks!

@pacodes
Copy link
Contributor

pacodes commented Mar 26, 2020

@guumaster This is brew install output

brew install --verbose --debug hostctl
Error: No available formula with the name "hostctl" 
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
/usr/bin/curl -q --globoff --show-error --user-agent Homebrew/2.2.11\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.4\)\ curl/7.64.1 --retry 3 --location https://api.github.com/search/code\?q=user\%3AHomebrew\+path\%3AFormula\+path\%3ACasks\+path\%3A.\+filename\%3Ahostctl\+extension\%3Arb\&per_page=100 --header Accept:\ application/vnd.github.v3\+json --write-out '
'\%\{http_code\} --header Accept:\ application/vnd.github.antiope-preview\+json --dump-header /private/tmp/github_api_headers20200326-11881-13k86sp
Error: No formulae found in taps.

@guumaster
Copy link
Owner

guumaster commented Mar 26, 2020

It's not in the core, you need to add the tap. Try this:

brew tap guumaster/hostctl https://github.com/guumaster/hostctl

Then you can brew install hostctl

UPDATE: no need to add it anymore. Do this:

brew install guumaster/tap/hostctl

@pacodes
Copy link
Contributor

pacodes commented Mar 26, 2020

brew tap works

@lethargosapatheia
Copy link

It doesn't seem to work (anymore?). Has anything changed? I added the tap and tried installing hostctl, but it still says that it cannot find the formula. Any suggestions?

@guumaster
Copy link
Owner

@lethargosapatheia this doesn't work anymore:

brew tap guumaster/hostctl https://github.com/guumaster/hostctl

Do it like this:

brew install guumaster/tap/hostctl

No need to add the tap first.

@lethargosapatheia
Copy link

Ah, I see! Thanks a lot. And great work, it's a really helpful tool, the need had been there for a long time!
I am going to dare suggest adding the brew information on the main documentation, so that other mac users know :)

@guumaster
Copy link
Owner

It is documented brew installation

Please if you think there is something missing, create a new guide following this tips

@lethargosapatheia
Copy link

lethargosapatheia commented Apr 14, 2020

Nothing is missing, I just didn't see it, haven't searched thoroughly enough. Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants