Firstly, thanks for taking time to contribute to this repository! People like you power this open source community.
Please note we have a code of conduct, please follow it in all your interactions with the project.
- This repository has issue, feature request and pull request templates which would autofill when you raise a bug, request for a new feature or when you raise a PR. Do your best to fill out the template completely.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is SemVer.
- Pull requests will be approved by one of the owners of this repository.
- Pattern for feature git branch name has to be
feature/issue-<ISSUE_NUMBER>--<ISSUE_SHORT_NAME>
- Pattern for defect git branch name has to be
bugfix/issue-<ISSUE_NUMBER>--<ISSUE_SHORT_NAME>
- Pattern for pull request title has to be
Issue #<ISSUE_NUMBER>: <ISSUE_NAME>
- Pattern for commit names has to be
Issue #<ISSUE_NUMBER>: <COMMIT_NAME>
- We prefer rebase instead of merge. So in case to sync with master, please do the rebase.
- One PR for one feature/bug. Don't target multiple Features or Bugs in a single PR unless they are related and cannot be breaken down further.
- Building and installation instructions are present in README.md file.
Coding style helps to have consistent code. This project uses coding style from https://github.com/square/java-code-styles
The easiest way is download the xml file from: https://github.com/square/java-code-styles/blob/main/configs/codestyles/Square.xml. Then you can import it in Intellij.
- File → Settings → Editor → Code Style
- Select the small gear icon next to "Scheme", select "Import Scheme" → "IntelliJ IDEA code style XML"
- Select the Square.xml
- Select OK, then Apply, then OK
- Ensure the "Square" Code Style Scheme is selected.
Note: Above instructions are based on IntelliJ 2019.2.3 version. If above steps are not working/changed, refer Intellij documentation corresponding to your version.