AlexandrePTJ / kemai

Kimai desktop client
MIT License
92 stars 25 forks source link

Create a Homebrew formula #67

Closed martin-braun closed 1 year ago

martin-braun commented 1 year ago

Experienced Mac users prefer to install software with Homebrew. Please consider to create and publish a Homebrew Formula for this wonderful client. Thank you.

cc @kevinpapst

kevinpapst commented 1 year ago

@martin-braun you could create the formula as well, if you see a need for it?

martin-braun commented 1 year ago

@kevinpapst Haven't looked into it yet. It will probably take some time for me, because I want to dig into Kemai itself first which won't happen very soon, but later for sure. If this issue remains open, I consider it.

However, it's generally better if someone involved in this product maintains the formula, since it needs to be updated on each version bump of the client. Would you be interested in maintaining it for version bumps if it already exists?

AlexandrePTJ commented 1 year ago

I have no idea on how homebrew works. However as it is widely used, I will take a look.

AlexandrePTJ commented 1 year ago

Should use https://github.com/Homebrew/homebrew-cask

AlexandrePTJ commented 1 year ago

Looks like Kemai does not fit for cask submission: GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)

martin-braun commented 1 year ago

@AlexandrePTJ Had no idea about that limitation. You could still publish your own tap, but it's ok, don't bother with it until there is more interest.

kevinpapst commented 1 year ago

Let's keep this open. If the formula is already here, it is just a matter of time to reach that limit. I shared the story at Mastodon https://phpc.social/@kimai/110728658150012028 and will do the same at Twitter later.

AlexandrePTJ commented 1 year ago

Thanks you for sharing !

I will submit :)

kevinpapst commented 1 year ago

Glad we did it so fast. Good luck with the submission 👍 keep us updated

AlexandrePTJ commented 1 year ago

PR have been submitted: https://github.com/Homebrew/homebrew-cask/pull/151207

kevinpapst commented 1 year ago

My Mac is still Intel based, so I can't really test...

Not sure if that article is still up-to-date: https://eclecticlight.co/2020/08/22/apple-silicon-macs-will-require-signed-code/

Maybe it helps.

martin-braun commented 1 year ago

@kevinpapst same. Wow that's really annoying to begin with. I think the reasoning is that people need to right click / open an application to run it, if it's unsigned. It also requires to toggle a setting to allow apps from unknown developers, so I understand their decision.

AlexandrePTJ commented 1 year ago

I planned to get an Apple developer subscription for a future project, I will then use it to sign kemai app. However, I learned that I can just provide a tap repository on my own and then put cask recipes I want. So I did :)

So just do:

> brew tap alexandreptj/cask
> brew install kemai
AlexandrePTJ commented 1 year ago

@martin-braun @kevinpapst Thanks for your help !