When comparing Gerrit vs sourcehut, the Slant community recommends Gerrit for most people. In the question“What are the best self-hosted web-based Git repository managers?” Gerrit is ranked 6th while sourcehut is ranked 20th. The most important reason people chose Gerrit is:
Gerrit supports group and user authorizations for various repositories. Only authorized users can push code to the master branch.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Authorizations for users and groups
Gerrit supports group and user authorizations for various repositories. Only authorized users can push code to the master branch.
Pro Integration with LDAP, bug-tracking tools, CI, etc.
Full integration with LDAP (users, groups), bug-tracking systems (Jira, Bugzilla), CI (Jenkins, Hudson) and other tools.
Pro Configurable project workflow, not always feature branches are the most suitable workflow
Pro Project policy customization can be done with hooks and plugins
Multiple hooks available on various events. Plugin API for more customization of project behavior.
Pro Self-contained installation of Java package, simple upgrades
Most upgrades require only download of new war file and running it in init mode. In some rare cases db reindex is required.
Pro Web UI extension with plugins
A number of plugins available for web UI extension. Plugin API for more customization.
Pro Lightweight
No javascript, drasticly light interface
Pro Email-Based Communication and Coordination
Unlike other services that make their communication services like mainstream social media, Sourcehut uses good old mailing lists to make things simpler. It capitalizes on git's "git send-email" feature. This is in adherence to Sourcehut's general design, which is to make simple, reliable products. The official website is at https://lists.sr.ht, and they have a tutorial on setting your git client up at https://git-send-email.io
Pro Includes build service
Sourcehut has an automated build service at https://builds.sr.ht that can build your code from it's repository. Because the project is in alpha, this service is currently free (they will build your projects for you for free!)
Pro "Pro" features are free since the project is still in Alpha
Because the project is in alpha, the "pro" features are free.
Cons
Con The UI is very cluttered
Gerrit's user interface is very cluttered and messy, and quite ugly to look at. The navigations is also not very intuitive, which may hold some people off.
Con Difficult to customize
Fixing the UI/UX problems with CSS customization is nearly impossible. The markup doesn't include many classes, making it difficult to target CSS rules to specific elements of the interface.