-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add support for installing via brew #146
Comments
if I knew how I would love to - want to contribute it ? |
I have a formula locally installed for brew. I will open a PR to add this into homebrew and one here for README instructions later this evening. |
cool @michaelwoods! does that formula just take the latest version and its dependencies available in pip or do we need to somehow update it on each release ? (wonder how other packages deal with that fun ;) |
The formula is updated on each release, it's not an ideal flow/pipeline but it keeps things relatively stable. |
While hass-cli is available from Homebrew and works, it's currently pulling v0.5.0. That's missing the "state" command (at least) and some of the examples in the README fail. I switched to the pip3 installation method and got v0.6.0, which does have the missing command. The formula needs to be updated again. |
@michaelwoods you up for this ? |
Updated to 0.6.0 and I watched this repo for releases to help keep in sync. |
Awesome, thanks! |
@michaelwoods 0.7.0 was released 10 days ago - I reckon you missed the notification. is there not any way we can automate the release to brew ? |
I've seen things like https://github.com/sloria/doitlive/blob/dev/release_homebrew.sh that might be useful for at least semi-automate the releases...but I have no idea how that will handle dependency updates. |
Automating would be great. Perhaps a Travis CI OSX instance (comes with homebrew already!) would work well. The process for updating is below, however I'm not sure if the manual merge step can be completed without a little scripting. The tools that I'm aware of unfortunately don't edit/update the formulas and only output blocks of text.
At the very least I suppose the build job's output could just be the new formulate template. https://github.com/tdsmith/homebrew-pypi-poet I've submitted the update PR to 0.7.0 to homebrew. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
stupid @stalebot :) marking pinned so not having to battle it |
FWIW, I just put up a PR for the upgrade to 0.9.1 with this command, after setting my github token so it could create the repos and PR as me:
Just mentioning that here in case it helps with the automation! |
Would it be possible to add support for brew? It makes it much easier to install / maintain.
The text was updated successfully, but these errors were encountered: