Docs: Added README and contributing guide #124
@@ -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
|
||||
[Category] Commit message header
|
||||
Commit message header
|
||||
mxlgv marked this conversation as resolved
Outdated
|
||||
|
||||
Commit message body, if needed
|
||||
```
|
||||
@@ -50,28 +50,6 @@ 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]
|
||||
|
Reference in New Issue
Block a user
->
commit type
(category
):commit message
To Conventional Commit Messages
I have checked Linux, Qemu and GCC. They all do mention categories but in a plain format like 'category: Commit message'. I believe it would be easier for us to explain to people why they should follow a policy if it is the policy of Linux, Qemu and GCC rather than the one of Rishav Pandey.
https://www.conventionalcommits.org/en/v1.0.0/
I might be wrong but this looks like whishful thinking to me.
All the automatically generated changelogs I have seen are unreadable because you have to know the context first to understand them. They can be used if you want to have them as a formality only. But they won't be useful for users/developers as a dump of commit messages.
To what version in KolibriOS does this apply?
The nature of changes is described in any normal commit message.
Currently we build and publish on each push. What will this change?
I have never seen anybody using it.
If commit messages are descriptive, follow a consistent format, and include meaningful context, the generated changelog can be more useful.
Not neccessary the OS, but apps, libs and other software in it
The standart enforse to use types, which is better both for describing and searching in commit list
For example, not to build if the type is
docs
Namida, antimicrox, AGS, yazi, bubbletea, pokete, Bagels, kaizen, fd
I wish we could eventually motivate people to write meaningful commit messages. Let be honest, forcing them to choose from 20 commit types it just too much, it won't work. What is surprisingly strange, the spec allows to shorten feature as feat but not performance as perf, no logic behind this.
The rebuild is needed is the docs are in the distro. Tup handles this automatically already. You don't need to manually control this via commit messages.
I have never heard of them. Linux, Qemu and GCC are more familiar to our potential developers, I believe.
What GCC uses, Linux seems to me really more attractive
@Sweetbread @dunkaist The adoption of a style for commits can take a long time (while we are discussing we don't have any documentation at all). This minimal documentation with very light rules should be enough for the community while it adapts to GIT. We can probably raise this issue in the future. But for now, let's not get hung up on it. This PR contains other changes as well.