Contributing
Contributions are welcome and really appreciated.
Issues
If you are unsure how to fix an issue you find, please log an issue in the project repository.
Environment Setup
Estrade is dockerized, so the only requirements are Docker and Docker-Compose.
Install
# clone repository
$ git clone git@github.com:cimourdain/estrade.git
$ make init
That's it.
Developement
- Start a new branch :
git checkout -b <branch_name>
- Edit code
Before commiting
- Format your code with
make format
. - Review documentation with
make docs-serve
(usedocker inspect
to find the ip where the doc is exposed locally.) - Apply pre-commits with
make pre-commit
Checks:
- Check that the tests are passing :
make test
- Check that the style is valid:
make style
- Check that doc can be properly build:
make docs
- Check that pre-commit updates were applied:
make pre-commit-check
Note
You can run call checks at once with make ci
Note
If you are unsure about how to fix a failing check, don't worry, we'll be happy to help you during the code review.
Commit messages
Commit message must follow the conventional commit specification.
Note
During developement you are highly incited to use fixups:
$ git commit --fixup=<commit to fixup SHA>