You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contributing.md
+74-27
Original file line number
Diff line number
Diff line change
@@ -1,32 +1,82 @@
1
1
## Contributing to commitizen
2
2
3
-
First of all, thank you for taking the time to contribute! 🎉
3
+
First, thank you for taking the time to contribute! 🎉
4
4
5
5
When contributing to [commitizen](https://github.com/commitizen-tools/commitizen), please first create an [issue](https://github.com/commitizen-tools/commitizen/issues) to discuss the change you wish to make before making a change.
6
6
7
7
If you're a first-time contributor, you can check the issues with the [good first issue](https://github.com/commitizen-tools/commitizen/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) tag.
8
8
9
-
## Install before contributing
10
-
11
-
1. Install [poetry](https://python-poetry.org/)`>=2.0.0`. See the installation [pages](https://python-poetry.org/docs/#installing-with-the-official-installer).
12
-
2. Install [gpg](https://gnupg.org). See the installation [pages](https://gnupg.org/documentation/manuals/gnupg/Installation.html#Installation). For Mac users, you can use [homebrew](https://brew.sh/).
3. Set up the development environment through [poetry](https://python-poetry.org/) (`poetry install`).
19
-
4. Set up the [pre-commit](https://pre-commit.com/) hook (`poetry setup-pre-commit`).
20
-
5. Checkout a new branch and add your modifications.
21
-
6. Add test cases for all your changes.
22
-
(We use [CodeCov](https://codecov.io/) to ensure our test coverage does not drop.)
23
-
7. Use [commitizen](https://github.com/commitizen-tools/commitizen) to make git commits. We follow [conventional commits](https://www.conventionalcommits.org/).
24
-
8. Run `poetry all` to ensure you follow the coding style and the tests pass.
25
-
9. Optionally, update the `./docs/README.md` or `docs/images/cli_help` (by running `poetry doc:screenshots`).
26
-
10.**Do not** update the `CHANGELOG.md`; it will be automatically created after merging to `master`.
27
-
11.**Do not** update the versions in the project; they will be automatically updated.
28
-
12. If your changes are about documentation, run `poetry doc` to serve documentation locally and check whether there are any warnings or errors.
29
-
13. Send a [pull request](https://github.com/commitizen-tools/commitizen/pulls) 🙏
9
+
## Prerequisites & Setup
10
+
11
+
### Required Tools
12
+
13
+
1.**Python Environment**
14
+
-[Poetry](https://python-poetry.org/docs/#installing-with-the-official-installer)`>=2.0.0` for dependency management
0 commit comments