Fsnotes: [REQ] Add to Homebrew-Cask

Created on 20 Apr 2018  路  12Comments  路  Source: glushchenko/fsnotes

Add app to Homebrew-Cask for convenience

Most helpful comment

Ok formula got successfully merged to homebrew cask core.
https://github.com/Homebrew/homebrew-cask/pull/49247
I will try to keep eye on it from time to time to update it.
There is this easy solution for updating
https://github.com/Homebrew/homebrew-cask/blob/master/CONTRIBUTING.md#updating-a-cask
if somebody notices that.

All 12 comments

It's on the App Store already which is pretty convenient, I think.

@jeff-h not really. Especially for users who don't have itunes account (like me or i asume many other).

@iskrisis || @ambrosso 鈥斅爀ither of you have experience actually doing this? I've only ever used brew as an end-user. Would we need a cask, a formula, a tap?

Yes this can be a problem. I did it while ago but i have no idea about Ruby so it was a pain and i did it wrong. Also i am not sure if you don't have to have prebuild binary - i am not sure if you can make brew cask that also builds the app.

Thanks! As far as I can see from those docs, the cask file for FSNotes would reference a pre-built binary, and would thus need to be updated every time a new version is released. @glushchenko you up for that? It'd be relatively trivial, but sounds a bit tedious to me... shame it can't automatically fetch the latest version from https://github.com/glushchenko/fsnotes/releases without having to update the cask file all the time.

I personally do like the notion of brew distribution of FSNotes; although I doubt I'd use it myself, I think it suits the whole "power-user's note taking app" thing FSNotes has going on :) However, I'm uncertain how many people would actually use homebrew to get FSNotes, and it also deprives whatever thanks @glushchenko gains from the MAS sales.

Perhaps we should run a thumbs-up vote on the original comment above, to ascertain if there's widespread interest, or if it's too niche? (apologies to @ambrosso and @iskrisis!)

Oh i did not realize that FSnotes are monetized on itunes. I think that settles it. I would assume app is used by many people for whom it would be too big hustle to build it but technical enough to use homebrew. It would probably destroy sales. Likely not preferable outcome.

I vote for free distribution in brew cask, it is not a problem.

@iskrisis latest (free) version is always here: https://github.com/glushchenko/fsnotes/releases

but yes the brew cask needs updating with every version. maybe a copy of the cask file can be hosted in the repository and updated with the build process?

I went through the guide and their tests so it is valid for submitting.

https://gist.github.com/iskrisis/7f0295c9f72e7f912af72381763cc33b

Not sure about updates - the things that must be bumped are version, sha256 and url
but from this
https://github.com/Homebrew/homebrew-cask/blob/master/CONTRIBUTING.md#updating-a-cask
it seems that they have script that anyone can just run and does all of the changes including push to their repo. So i asume after submitting then it can be completely separate.

I guess it is a matter of someone checking/testing this gist in brew and publishing the file to homebrew repo.

Ok formula got successfully merged to homebrew cask core.
https://github.com/Homebrew/homebrew-cask/pull/49247
I will try to keep eye on it from time to time to update it.
There is this easy solution for updating
https://github.com/Homebrew/homebrew-cask/blob/master/CONTRIBUTING.md#updating-a-cask
if somebody notices that.

I think this can be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jakemkc picture jakemkc  路  4Comments

floodfish picture floodfish  路  4Comments

jakemkc picture jakemkc  路  4Comments

sloria picture sloria  路  3Comments

jakemkc picture jakemkc  路  3Comments