Skip to content

Commit 97e61dc

Browse files
authored
aesthetic changes
1 parent 5d1de3a commit 97e61dc

File tree

1 file changed

+32
-45
lines changed

1 file changed

+32
-45
lines changed

docs/git/pull-request-guidelines.md

Lines changed: 32 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ id: pull-request-guidelines
33
title: Pull Request Guidelines
44
---
55

6-
76
# Generic Pull Request Guidelines
87

9-
108
## Consider the following points while submitting and reviewing a pull request.
119

1210
**1. Small and focused changes:** Break down the code into small and manageable units.
@@ -24,12 +22,8 @@ title: Pull Request Guidelines
2422

2523
**7. Follow PR standard practices:** Use clear and descriptive titles. Provide detailed description of the changes and include screenshots and documentations.
2624

27-
28-
2925
## Reviewers Guideline
3026

31-
32-
3327
* Open Mindset
3428
* Acceptive
3529
* Open to enhancements/improvements
@@ -40,19 +34,18 @@ title: Pull Request Guidelines
4034
* Be polite and respectful
4135
* Don’t just comment for the sake of it
4236

43-
## Additional Role of TL
37+
## Additional Role of Team Leads and Code Owners
38+
4439
**1. Performance and Scalability:** Consider the performance implications of the code changes. Assess whether the code might introduce bottlenecks or negatively impact system performance. Ensure that scalability concerns are addressed if applicable.
4540

46-
**2. Feature breakdown:** Make sure the features and PR are broken into meaningful chunks during sprint planning.
41+
**2. Feature Breakdown:** Make sure the features and PR are broken into meaningful chunks during sprint planning.
4742

4843
**3. Architecture and Design:** Check if the code changes align with the overall system architecture and design. Ensure that the proposed changes fit into the existing structure and don't introduce architectural conflicts.
4944

50-
**4. Repository maintainer:** Ultimately, the team lead may need to make a decision on whether to approve, request changes, or reject the PR. This decision should be based on the code's quality, alignment with project goals, and any necessary improvements.
51-
52-
53-
## Things to keep in mind
45+
**4. Ownership:** Ultimately, the code owner or a team lead may need to make a decision on whether to approve, request changes, or reject the PR. This decision should be based on the code's quality, alignment with project goals, and any necessary improvements.
5446

5547

48+
## Things to Keep in Mind
5649

5750
1. Granularization of tasks
5851
1. Small biteable size of code
@@ -61,36 +54,33 @@ title: Pull Request Guidelines
6154
3. Easy comprehension
6255
2. Learning process for the reviewer and reviewee
6356
3. Alignment to git strategy
64-
2. [Git flow](https://danielkummer.github.io/git-flow-cheatsheet/)
65-
4. [Clean Code](https://github.com/SaikrishnaReddy1919/MyBooks/blob/master/%5BPROGRAMMING%5D%5BClean%20Code%20by%20Robert%20C%20Martin%5D.pdf)
66-
5. Strictly follow design principles.
67-
3. DRY
68-
4. KISS
69-
5. YAGNI
70-
6. SOLID
71-
6. Conventions
72-
7. [Naming conventions](https://github.com/kettanaito/naming-cheatsheet)
73-
7. Proper Use of inbuilt functions
74-
8. Only wrap exceptional logic in try catch.
75-
9. Avoid unnecessary else statements.
76-
10. Consistent return
77-
8. Use of Packages
78-
11. After a brief consultation with application team members.
79-
12. Freeze package names for major versions
80-
9. Keep an eye out for functional and object-oriented concepts.
81-
10. Component-based development
82-
13. Use of non unique ids. Component composition rule violation.
83-
14. Keep reusability in mind
84-
15. Avoid side effects
85-
16. Schema driven development
86-
87-
88-
## Pull request description
57+
* [Git flow](https://danielkummer.github.io/git-flow-cheatsheet/)
58+
5. [Clean Code](https://github.com/SaikrishnaReddy1919/MyBooks/blob/master/%5BPROGRAMMING%5D%5BClean%20Code%20by%20Robert%20C%20Martin%5D.pdf)
59+
6. Strictly follow design principles.
60+
* DRY
61+
* KISS
62+
* YAGNI
63+
* SOLID
64+
7. Conventions
65+
* [Naming conventions](https://github.com/kettanaito/naming-cheatsheet)
66+
8. Proper Use of inbuilt functions
67+
* Only wrap exceptional logic in try catch
68+
* Avoid unnecessary else statements
69+
* Consistent return
70+
9. Use of Packages
71+
* Consult your team to decide if a package is feasible for the project
72+
* Freeze package names for major versions
73+
10. Keep an eye out for functional and object-oriented concepts.
74+
11. Component-based development
75+
* Use of non unique ids. Component composition rule violation.
76+
* Keep reusability in mind
77+
* Avoid side effects
78+
* Schema driven development
79+
80+
## Pull Request Description
8981

9082
Please note a few things while opening your PRs. Add the following things to your PR's description.
9183

92-
93-
9484
* Description - A short description of the feature for which the PR is opened.
9585
* Summary of changes - Changes in the source code which the PR comprises.
9686
* Route - The route from where we can view the feature being added in this PR.
@@ -99,7 +89,7 @@ Please note a few things while opening your PRs. Add the following things to you
9989

10090
Also, make sure to add some reviewers and assign yourself as an Assignee.
10191

102-
#### Best Practices:
92+
### Best Practices:
10393

10494
* Pull Request should atleast be <b>reviewed by 1 person</b> before merging it to the base branch.
10595
* Only comment author can resolve comment – if code was corrected or after discussion author decides to fix it.
@@ -109,9 +99,6 @@ Also, make sure to add some reviewers and assign yourself as an Assignee.
10999
* Use labels to mark what actions should be next – e.g. `needs review`, `Reviewed By... ` etc.
110100
* Provide details/screenshots about what has been changed.
111101

112-
References
113-
114-
102+
### References
115103

116-
1. [https://github.com/exercism/docs/blob/master/contributing/pull-request-guidelines.md](https://github.com/exercism/docs/blob/master/contributing/pull-request-guidelines.md)
117-
2. [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/)
104+
* [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/)

0 commit comments

Comments
 (0)