Thank you very much if you have decided to contribute to our project. We follow very simple and clear open-source research community accepted guidelines for contributing. The guideline instructions divided into sections depending on the part of the project you want to contribute.
Create a new branch, if you want to add something new.
Recommended naming branch is <type>/<name of stuff>.
Commits are added according to conventional commits.
Those <type>(<scope>): <body>.
The <type> field must take one of these values:
featto add new functionalityfixto fix a bug in the projectrefactorfor code refactoring, such as renaming a variabletestto add tests, refactor themstructfor changes related to a change in the structure of the project (BUT NOT CODE), for example, changing folder locationscifor various ci/cd tasksdocsfor changes in documentationchorefor changes outside the code, for example, gitignore and reamde updates
The <body> field contains the gist of the changes in the present imperative in English without the
dot in at the end,
the first word is a verb with a small letter.
Examples:
- Good: "feat: add module for future scrubber implementations"
- Bad: "Added module for future scrubber implementations."
- Install
gitand clone this repo. - Build project following build instructions in README.md file, make sure everything is ok.
- Run tests following instructions in README.md file, make sure all checks passing.
- Create new branch from main using branch naming rules.
- Implement new feature or fix existing one in the source code.
- Run pre-commit and tests.
- Commit your changes.
- Open a pull-request.
- Wait for review from developers of the project.
- Fix major and minor issues if presented.
- Get your work merged into
main!
Use the instructions for PySATL members, but use forks instead of branches. You probably won't have access to create branches in the original repository.
- Don't use merge, only rebase (to keep a linear commit history)
- Do not change other people's branches unless absolutely necessary
- Recheck your commit history before creating a pull request
- Do not use small "fix" commit if you messed up in previous ones. Use
git commit --fixupandgit rebase -i --autosquashorgit commit --amendif bad commit is the last one. "fix" commits stand for bugs that has been already in master.
Forbidden to merge your pull request into the branch yourself.
Each pull request must be reviewed by one of the maintainers
- Mikhal Mikhailov (desiment)
- Vladimir Kutuev (vkutuev)
- Leonid Elkin (LeonidElkin)
If you click on the green button, then make sure that it says REBASE AND MERGE!
The review takes place in the form of comments to pull requests, discussions in the team chat and personal communication. Be polite and don't flood the discussions.