-
Notifications
You must be signed in to change notification settings - Fork 2
Add the PR workflow to the team process docs in team compass #75
Description
I noticed that there are features pushed directly into the main branch of repos that points to the need of spelling out that development should be done via pull requests (or spelt out that it's OK to directly push; which I strongly oppose if the project is to position itself as a community project).
I would also advocate for the fork based workflow as it both 1) keeps the main repo clear of random and often obsolte feature branches 2) more importantly it communicates that everyone in the community is on the same page and follows the same development process independently if they have write access or not. Not following the same process very much othering those without write access that they are not first-class citizens.
Things to document:
Proposing a change
- For any contributions to a project in the
jupyter-bookorganization - Fork the repository
- Implement the change in a branch on your fork
- Make a pull request against this branch into
mainof the repository.
Things that will make your PR more likely to be reviewed and merged
- It is tightly-scoped: Try to keep your
diffto the simplest possible change needed to achieve the outcome you want. - It links to an issue: Link the PR to an issue where the "what" and "why" for the change has already been discussed and agreed to resolve. If there is no issue, make sure the body of the PR explains why it is needed, and the summary of your change.
- It adds a test and documentation: These make the PR easier to trust and faster to review.
Don't forget that every pull request is a request for the valuable time of maintainers. Be respectful of and remember that this is a volunteer project without dedicated capacity.