10c0dc82d8
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. Co-authored-by: Marcos de Oliveira <markinholiveira@gmail.com> Reviewed-on: https://gitea.com/gitea/homebrew-gitea/pulls/136 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: markkrj <markkrj@noreply.gitea.io> Co-committed-by: markkrj <markkrj@noreply.gitea.io> |
||
---|---|---|
.github | ||
.editorconfig | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
DCO | ||
LICENSE | ||
MAINTAINERS | ||
README.md | ||
bump_version.sh | ||
changelog.rb | ||
gitea-head.rb | ||
gitea.rb | ||
tea-head.rb | ||
tea.rb |
README.md
Gitea: Homebrew
Homebrew repository to install Gitea and tools on macOS.
Prepare
brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
Install
gitea
brew install gitea
gitea -h
tea
brew install tea
tea -h
changelog
brew install changelog
changelog -h
Upgrade
In case you installed Gitea before v1.8.3, you still might have the old tap. In that case, you need to remove it and add the new tap via
brew untap go-gitea/gitea
brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
Once you updated the tap, you can upgrade via
brew update && brew upgrade gitea tea changelog
Uninstall
You can uninstall Gitea with
brew uninstall gitea tea changelog
Note that this will only uninstall the gitea binary. Your repositories, configuration, database, logs etc. are still kept in their locations (to check which folders Gitea is using, see Site administration
-> Configuration
).
Contributing
Fork -> Patch -> Push -> Pull Request
Authors
License
This project is under the MIT License. See the LICENSE file for the full license text.
Copyright
Copyright (c) 2016 The Gitea Authors <https://gitea.io>