From 59bb13d6de03e1b9d20fcdbbd30c0e68f9959de8 Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Sat, 15 Mar 2025 16:31:15 +0300 Subject: [PATCH] Revert "CONTRIBUTING.md: removed commit categories section" This reverts commit 46739aa6014503d3602fc66f110d2b4218c8d441. --- CONTRIBUTING.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 634f30289..393543b27 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,7 +37,7 @@ When a pull request is submitted, at least two project participants must conduct The commit message should look like this: ```test -Commit message header +[Category] Commit message header Commit message body, if needed ``` @@ -50,6 +50,28 @@ Commit message body, if needed Maximum number of characters in a commit header is **72** (standard for **Git**). Also, **72** is the maximum length of a line in a commit body. +### Categories + +List of existing categories accepted in the project: + +- `Krn` - kernel +- `Drv` - drivers +- `Libs` - libraries +- `Apps` - user-space applications +- `Skins` - skins +- `Build` - build system +- `CI/CD` - CI/CD +- `Docs` - documentation +- `Data` - images, configs, resources, etc. +- `All` - global changes + +If changes are made to a specific component, the name of the component separated by `/` character needs to be specified. For example: + +```text +Apps/shell +Libs/libimg +``` + ## Merge commits > [!WARNING]