Development/Git
Development on the MusicBrainz Server source code is coordinated using Git. The Git web interface, http://git.musicbrainz.org, provides access to viewing the various repositories and even browsing the source code.
Checking out source code
To create a local copy of the source code, clone a repository using this command:
git clone git://git.musicbrainz.org/musicbrainz-server/core.git mb_server
And to stay up to date with the latest changes use:
git pull
The above will clone the latest master branch -- see the README for more information. Alternatively, all official releases we make are tagged on the master tree, and these can be cloned to run a stable version of the MusicBrainz Server.
If you need help or are confused send an email to support@musicbrainz.org, or drop by the #musicbrainz IRC channel.
Development with Git
If you want to help contribute to MusicBrainz - it's really simple! All you need to do is branch off master and commit there:
git clone git://git.musicbrainz.org/musicbrainz-server/core.git mb_server cd mb_server git checkout -b my-cool-feature master
When you are ready to share your work with us you have a few options - if you wish to submit a patches, you should use git format-patch. These can then be emailed to the developers mailing list. If you're doing work on more than one branch, or you'd like to have more control, we are happy to give you a branch or repository on git.musicbrainz.org to push work to. For more information on this, please ask on the developers mailing list and someone will give you more details.
Git Resources
If you're new to Git, don't worry - there is plenty of excellent documentation about how to use it:
- Pro Git - a book about using Git
- Everyday GIT With 20 Commands Or So
- Git for the lazy
- Easy Git (eg)