Skip to content

Commit a9cd9e7

Browse files
committed
how to contribute to the project
1 parent 2bc0949 commit a9cd9e7

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
### How to Contribute
2+
3+
1. **Fork** the repository.
4+
2. Clone your fork locally.
5+
3. Make your changes in a new branch.
6+
4. **Test** your changes thoroughly.
7+
5. Open a **pull request** with a clear description of your changes.
8+
9+
### Guidelines
10+
11+
- Please follow the coding style guidelines.
12+
- Ensure that all tests pass before submitting a pull request.
13+
- Add test for new functionality
14+
15+
### Commits & messages
16+
17+
- Do not use semantic commit messages (chore, fix, feat, ...)
18+
- Reference Jira task at the beginning of message: e.g. `RHINENG-21424: handle null/notnull filters`
19+
- Break one big commit into multiple small commits (one per logical change)
20+
- Put non-functional changes (e.g. refactor to extract a helper) into separate commits (or PRs)
21+
- Write clear commit messages, a bit of "what" and a lot of "why"
22+
- Don't squash commits
23+
24+
### Github PRs
25+
26+
- Reference Jira task at the beginning of PR name (e.g. `RHINENG-21424: add filter[severity]=null`)
27+
- Multiple small PRs are better than one big PR
28+
- Multiple commits are easier to review than one big commit
29+
- PRs are rebased not merged - it's easier to follow a single stream of changes
30+
- Merged PRs are automatically tagged with new version

0 commit comments

Comments
 (0)