Thank you for your decision to contribute to Tensai!
To start making changes, let's have an overview about the workflow:
- Fork a repo
- Make changes to your fork
- TEST IT CAREFULLY
- Submit a PR
- Resolve requested changes to your PR
- Waiting for acceptance from a team member
- Your PR is successfully merged
You contribution may involve in three repos:
- Tensai API
- Tensai client
- Docs
It is important to supply adequate changes to the aforementioned repos to satisfy the contribution requirement.
E.g: If you are going to add a feature. Please ensure you will implement it in client-side and server-side, its API and the relevant documentation.
-
Follow the Google Style for Java: https://google.github.io/styleguide/javaguide.html
Also, install the formatting file: https://github.com/google/styleguide/blob/gh-pages/intellij-java-google-style.xml -
In addition, make sure that:
- Line ending is Unix-like
\n - DON'T make unnecessary changes: refactoring, renaming, add new dependencies, etc. If needed, it is better to merge these changes in a single commit.
- DON'T hardcode values. Use environment variables or configuration.
- DON'T comment too much if unneeded
- DON'T write utility methods if they are already provided by external dependencies.
- DON'T mix different changes in a single PR. One PR must have only one feature, or a group of relevant bug fixes.
- Line ending is Unix-like
For the project maintainers
- DON'T merge any PR immediately. Give the community some time for discussion first.
- Make sure the PR owner has tested carefully and resolved requested changes.
- Please squash merge the PR