We follow the "typical" GitHub workflow when contributing changes:
-
Fork a repository into your account.
-
Create a new branch and give it a meaningful name. For example, if you are going to fix issue MBS-4635, branch can be called
mbs-4635
orreplace-image
. -
Make your changes and commit them with a good description (more details). You don't need to provide a lot of details, but make sure that people who look at the commit history afterwards can understand what you were changing and why.
-
Create a new pull request on GitHub. Make sure that the title of your pull request is descriptive.
Click to toggle formats for referencing ticket(s) in pull request’s title
- If you are fixing an issue that exists in our bug tracker, reference it like this:
(Not
MBS-4635: Allow replacing images
[MBS-4635] - Allow replacing images
orAllow replacing images (MBS-4635)
orMBS-4635
.) - If you are fixing several issues at once, reference them like this:
MBS-9477, MBS-10568, MBS-10569: DiscID tab improvements
- In the rare case you are partially fixing an issue, reference it like this:
MBS-10365 (III): Convert EventList to react-table
Properly referenced tickets will be automatically linked and updated in our bug tracker.
- If you are fixing an issue that exists in our bug tracker, reference it like this:
Most of the projects have a set of tests that are run on each pull request to make sure that changes don't break the master branch. These checks are mandatory in most cases.
Apart from MusicBrainz, our projects don't have a release schedule. This means that changes are released as soon as they are ready. Keeping the master branch functional in this case is essential. If a change that breaks tests is merged, it will cause issues for all the developers working on a project. It should be very easy to undo something that has been done and rollback deployed version of a service.
Checks are run automatically by Jenkins or other services depending on what projects decide to go with.