Fix homebrew tap by removing head and shipping compiled binaries #136

Merged
techknowlogick merged 1 commits from markkrj/homebrew-gitea:fix-brew-tap into master 2021-06-29 18:00:18 +00:00
Contributor

fixes #135

This fix Homebrew tap by removing the head method and shipping only pre-compiled binaries, as you guys already ship binaries for most (all?) supported platforms.

Also, for gitea.rb and tea.rb, I removed the curl for fetching files checksum, because for every install, it runs curl 5 times, slowing the install. So, I created a script to bump versions to latest and fix sha256 checksum in the formula files.

I created also an gitea-head and tea-head formulae to download latest pre-compiled binaries for head, and here we are fetching checksum by curl, as I imagine, it is not common/recommended scenario.

IMO, this is the best possible approach for shipping binaries from a custom tap.

fixes #135 This fix Homebrew tap by removing the head method and shipping only pre-compiled binaries, as you guys already ship binaries for most (all?) supported platforms. Also, for gitea.rb and tea.rb, I removed the curl for fetching files checksum, because for every install, it runs `curl` 5 times, slowing the install. So, I created a script to bump versions to latest and fix sha256 checksum in the formula files. I created also an gitea-head and tea-head formulae to download latest pre-compiled binaries for head, and here we are fetching checksum by `curl`, as I imagine, it is not common/recommended scenario. IMO, this is the best possible approach for shipping binaries from a custom tap.
markkrj added 1 commit 2021-06-29 17:20:24 +00:00
techknowlogick approved these changes 2021-06-29 17:39:30 +00:00
techknowlogick left a comment
Owner

Awesome. Thank you so much!!!

Awesome. Thank you so much!!!
techknowlogick merged commit 10c0dc82d8 into master 2021-06-29 18:00:18 +00:00
markkrj deleted branch fix-brew-tap 2021-06-29 18:09:38 +00:00
Sign in to join this conversation.
No description provided.