The place I do volunteer work for would like to switch from svn to git, and we r
ID: 661552 • Letter: T
Question
The place I do volunteer work for would like to switch from svn to git, and we really love the collaboration features of github. Unfortunately the $300/year cost for a private organisation account is too steep for us, so github itself is out.
Are there any free/cheap (<$50/year) github alternatives which provide similar features like:
Tight integration with a DVCS, preferably git
Issue-tracker, preferably with good reference (to commits, branches, others issues) capabilities
Github-style pull request, i.e. propose merging a branch into master, discuss it and auto-merge if possible
Non-public repositories, by self-hosting the software or offering free/cheap private repositories
Online browsing of code, commits and branches
Online editing of files, e.g. for a typo fix in the documentation
Ofcourse these are the ideal requirements, something that doesn't have everything might still be suitable
Explanation / Answer
Gitlab fits your criteria rather nicely!
Gitlab is an open source project that you can self host (use the Gitlab Community Edition). It isn't an exact work-alike of Github, but it is surprisingly close. I've recently started to use it for a number of projects and been pleasantly surprised at almost every step1.
It offers a wrapper around bare git repositories on a server giving you easy to manage SSH and HTTP/S access via git that works much the same way as on github. You can manage your password or SSH keys from the user dashboard. There is a surprising degree of granular control over repositories even being able to limit who can push to specific branches.
There is an included issue tracker or you can use hooks to integrate with various third party ones.
Users can make their own copies of repositories like Github's fork and submit merge requests back to the original (like Github's pull requests).
Repositories can be in completely public space, shared by a user or completely private. You can even organize them by group.
The dashboard provides a surprisingly fast and useful view of code, commits and branches as well as issues, merges and a wiki.
Quick hacks to edit a file and commit can be done from an inline editor right in the dashboard.
If you don't want to self host they also offer hosted services but those quickly pass Github's pricing.
If self hosting really isn't your gig, you should consider Atlassian's Bitbucket offering instead as they allow free private repositories for up to 5 users. After that they cut into Github's price bracket pretty quickly, but they do offer a quality product.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.