Gitolite vs Gogs: What are the differences?
Developers describe Gitolite as "Setup git hosting on a central server, with fine-grained access control". Gitolite allows you to setup git hosting on a central server, with fine-grained access control and many more powerful features. Gitolite is an access control layer on top of git. On the other hand, Gogs is detailed as "A self-hosted Git service written in Go". The goal of this project is to make the easiest, fastest and most painless way to set up a self-hosted Git service. With Go, this can be done in independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, and Windows.
Gitolite and Gogs can be primarily classified as "Code Collaboration & Version Control" tools.
Some of the features offered by Gitolite are:
- Use a single unix user ("real" user) on the server.
- Provide access to many gitolite users: they are not "real" users, so they do not get shell access.
- Control access to many git repositories: read access controlled at the repo level, and write access controlled at the branch/tag/file/directory level, including who can rewind, create, and delete branches/tags.
On the other hand, Gogs provides the following key features:
- Activity timeline
- SSH/HTTP(S) protocol support
- SMTP/LDAP/reverse proxy authentication support
"Easy setup" is the top reason why over 4 developers like Gitolite, while over 32 developers mention "Self-hosted github like service" as the leading cause for choosing Gogs.
Gitolite and Gogs are both open source tools. It seems that Gogs with 30.8K GitHub stars and 3.56K forks on GitHub has more adoption than Gitolite with 7.45K GitHub stars and 961 GitHub forks.
What is Gitolite?
What is Gogs?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Gogs?
Sign up to get full access to all the companiesMake informed product decisions
What tools integrate with Gitolite?
I installed Gogs after a few repos I planned to use on GitHub disappeared without explanation, and after Microsoft's acquisition of same, it made me think about the over-centralization of community-developed software. A self-hosted solution that enables easy point-and-click mirroring of important repositories for my projects, both in-house and 3rd-party, ensures I won't be bitten by upstream catastrophes. (So far, Microsoft's stewardship has been fine, but always be prepared). It's also a very nice way to host one's own private repos before they're ready for prime-time on github.
Gogs is written in Go and is easy to install and configure, much more so than GitLab. The only major feature I wish it had is an integrated code review tool, but the web plugin hypothes.is https://stackshare.io/hypothes-is/hypothes-is actually is quite suitable as a code review tool. Set up a group for each code review, and just highlight lines to add comments in pull request pages of Gogs.