Pull Requests: Submitting pull requests for Collabocate project GitHub repositories
PR 101: How to submit pull requests, that make the work of reviewers and repository maintainers less complicated
Do not submit a pull request for an issue ticket you are not assigned to. It will be counted as spam. Reason: We want to be clear about who is working on what, and we want to avoid more than one person working on the same issue ticket without knowing it.
The name of your branch should use the branch naming convention in our contribution workflow documentation. Reason: It is a way of confirming to maintainers/reviewers, that the issue ticket you are submitting a fix for exists on GitHub. Making use of the ticket's issue number in the branch name, makes it easy to identify and associate the fix you are submitting to the GitHub issue ticket.
Link your pull request to the issue it aims to fix. Do this in description of the pull request you are submitting. Reason: The link helps reviewers to easily locate the associated issue ticket. Watch tutorial to help understand how to link pull request to issue ticket.
Your pull request title must reflect the Issue title you are working on, and it should start with "Fix: ". For example, If the issue title is "Add contribution rules section", the pull request title should be "Fix: Add contribution rules section". Reason: This helps the internal team easily locate and quickly identify the associated pull requests to your issue tickets, when issuing release notes for the product or for any other reference purpose. Watch tutorial.
Only make changes that the issue asks to change. Do not change even as small as space or comma anywhere else that does not concern the issue ticket you are taking on. Reason: Reviewers will not have to deal with anything apart from what is in the issue ticket associated with the pull request. Reviewers can therefore focus, be thorough and do it with little or no fatigue. It is possible that more than one contributors are working on the same specific file(s) you are working on. Help make it easier for maintainers to merge these possibly conflicting changes from different contributors successfully, without "merging away" things we need by mistake. Also, If we discover that some pull request fix is later problematic after we have merged it in, we may need to revert (i.e. remove) the affected pull request fix. If changes for some other different issue are done in the same fix, this means we'll be removing all of them instead of just that one cause - which is what we don't want. Making reference to pull requests that contain more than the changes asked in the future is also problematic.
Do not request review from an individual person when you want to request for review on your pull request (once you are done and you feel that your pull request is ready for review). Instead, request review from a review team. Reason: The review teams are created so that more than one persons can receive notifications to review your pull request. If one person is not around to review, some other reviewer can take it up. At the same time, you don't have to worry about who to tag or request review from, even if the maintainers of the project change. Extra note: This does not mean that persons who are not on the review teams cannot review a pull request. If you are helping to review pull requests, please do so in accordance with this pull request guideline and our contribution workflow documentation.
Requesting for review on your pull request
After submitting your pull request, and once your pull request is ready for reviewers to take a look, go to the reviewers dropdown there in your pull request. Then select @collabocate-osc/maintainers
from the drop down list.
If you are not able to access the dropdown to request review as shown in the screenshot below, just add a new comment on the pull request to tag community maintainers. Example comment: "Pull request ready for review @collabocate-osc/maintainers".

What qualifies as "ready for review"?
Avoid overwhelming maintainers with unnecessary GitHub notifications. Thoroughly check that you have fulfilled the requirements of the issue ticket you are submitting a pull request for, before tagging maintainers to review your pull request. If your pull request is not yet complete and you need guidance on how to go about anything, preferably, discuss the matter in our collabo community's discord channels.
Last updated
Was this helpful?