-
Notifications
You must be signed in to change notification settings - Fork 343
Core contributor guide
Welcome to the project! Please read this scatterbrained collection of wisdom gathered by other core contributors.
- Breaking the rules is okay, but only if you are prepared to justify it to everyone else (and they agree with you).
- Edit this wiki page
Avoid merging or directly committing your own patches, unless they're small and limited to documentation or something. For most changes, submit the patch normally.
If you see a patch which doesn't have any reviewers assigned (including ones you submit yourself): triage it. Add some labels if you like, and assign some reviewers. Follow these steps until you have a number of reviewers proportional to the complexity of the change:
- Assign people who work a lot in the domain of the patch
- Assign a selection from everyone else with a roughly even distribution
If you get assigned to a patch you don't think is in your domain and/or you don't have time to review, assign someone else.
- Don't be too shy to complain about code style issues
- Ask for a test plan if you don't know how to test it
Wait for the continuous integration build to complete before merging.
- If it's small-to-medium and in your domain, merge it whenever you feel comfortable with it
- If it's medium-to-large, merge it when it has 2 approving reviews
- If it's large-to-huge, Simon will merge it
Generally just use your common sense here.
Don't forget to thank the contributor.
- Create an annotated tag and push it:
git tag $version -ase
and thengit push --follow-tags
- Create an archive:
git archive --prefix="wlroots-$version/" -o wlroots-$version.tar.gz $version
- Sign the archive:
gpg --detach-sign wlroots-$version.tar.gz
- Create the release on GitHub
- Bump the project version and SONAME in
meson.build
for the next release - Commit the changes