-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Updates a few process documents
- Loading branch information
Showing
6 changed files
with
83 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
# Code Review Guidelines | ||
|
||
Follow [Google Code Review guidelines](https://google.github.io/eng-practices/review/). | ||
### To all team members | ||
|
||
Additionally, | ||
- Set aside time in your sprint to account for unplanned review requests from your colleagues. | ||
|
||
1. All developers: Set aside time in your sprint to account for unplanned review requests from your colleagues. | ||
2. Communicate: | ||
- Reviewers: When requested for a review, make your availability known. | ||
- Authors: Please give reviewers a heads-up on what the MR is about (if not in the MR description already). | ||
- In summary, make expectations clear. | ||
3. Reviewer mindset: | ||
- Make actionable suggestions | ||
- Focus on API clarity and user experience. Less than perfect internal details could be improved in future MRs | ||
4. Empathise: When asking for a review, you are asking for unplanned time from your colleague, who may be busy on their | ||
own tasks. Work with them at a personal level to get your MR through in a timely manner. | ||
### To MR authors | ||
|
||
- Please give reviewers a heads-up on what the MR is about (if not in the MR description already). | ||
- Empathise: You are asking for unplanned time from your colleague, who may be busy on their own tasks. Work with them personally to get your MR through in a timely manner. | ||
|
||
### To reviwers | ||
|
||
- Make your availability known when your review is requested. Clarify expected response time. | ||
- In reviewing an MR | ||
- Make actionable suggestions | ||
- Focus on API clarity and user experience. Less than perfect internal details could be improved in future MRs | ||
- Expect production-quality code, even at low TRLs. Reject MR if: | ||
- The work is not properly documented as per coding guidelines. | ||
- The work disregards basic software design and engineering principles (eg: [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself), [SOLID](https://en.wikipedia.org/wiki/SOLID)) | ||
- The implementation is inconsistent with system architecture znd long term vision for the product | ||
- The code is not formatted as per style guidelines | ||
- The code is not compliant with language usage rules (i.e. generates linter warnings) | ||
- The code generates compiler warnings | ||
|
||
For additional guidance, follow [Google Code Review guidelines](https://google.github.io/eng-practices/review/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
# Guide to commit messages | ||
|
||
- Follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) | ||
- Rationale: Consistent format; human- and machine-parsable to generate meaningful changelogs between releases | ||
- Structure | ||
Follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for consistent format that is human- and machine-parsable to generate meaningful changelogs between releases | ||
|
||
## Structure | ||
|
||
```text | ||
<type>[optional scope]: <description> | ||
[optional body] | ||
[optional body: Provides additional implementation detail if necessary] | ||
[optional footer(s)] | ||
[optional footer(s): Reference to issue tracker] | ||
``` | ||
|
||
- `type` can be of `build`, `chore`, `docs`, `feat`, `fix`, `perf`, `refactor`, `revert`, `style`, `test` | ||
|
||
- Example (`!` signifies breaking change): | ||
## Example | ||
|
||
(`!` signifies breaking change) | ||
|
||
```text | ||
feat(api)!: send an email to the customer when a product is shipped | ||
feat(api)!: Sends an email to the customer when a product is shipped | ||
Body of the message explaining the change in | ||
multiple lines. | ||
Adds integration with email client and customer contact information backend to autogenerate and dispatch email with shipping information. | ||
Reference: https://github.com/cvilas/guidance/issues/7 | ||
Reference: https://github.com/<organisation>/<project>/issues/7 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters