Docs: Added licensing to contributing guide #198

Open
mxlgv wants to merge 1 commits from add-license-file-header-to-guide into main
3 changed files with 12 additions and 1 deletions

View File

@@ -66,6 +66,17 @@ to the end commit message body on a new line.
Use **rebase** to keep your branch up to date.
## Licensing
For new source code files and for existing ones without a license, you need to add the following header to the beginning of the file:
Review

What does "need" mean? SHOULD or MUST I do?

What does "need" mean? SHOULD or MUST I do?
Review

Would you be more happy with wording I suggested in #202?

Would you be more happy with wording I suggested in #202?
```asm
; SPDX-License-Identifier: GPL-2.0-only
Review

For what? There's LICENSE file already, so, by fraudulent, every file in this repo under GPLv2

For what? There's LICENSE file already, so, by fraudulent, every file in this repo under GPLv2
Review

Each program can have its own licence. Sometimes even different files of a program can have different licences if compatible. For example, one kernel file can be GPL2-only while another GPL2+.

Each program can have its own licence. Sometimes even different files of a program can have different licences if compatible. For example, one kernel file can be GPL2-only while another GPL2+.
Review

I would encourage new code to move towards more permissive licenses, where possible.

I would encourage new code to move towards more permissive licenses, where possible.
; Program - Brief description.
Review

Description of what? Of a program? Should I add a description to each its file?

Description of what? Of a program? Should I add a description to each its file?
Review

Yes. Ideally a one line description, where appropriate.

Yes. Ideally a one line description, where appropriate.
; Copyright (C) 2011-2025 KolibriOS team
```
Be careful when setting copyright and date interval. Review the file's history to verify its origin.
## Conclusion
We hope this small instructions will help you to get familiar with KolibriOS contribution rules and inspire you to participate in the life of our project.

View File

@@ -1,6 +1,6 @@
# KolibriOS
[![License](https://img.shields.io/badge/License-GPL%202.0-green)](./COPYING.TXT)
[![License](https://img.shields.io/badge/License-GPL%202.0-green)](./LICENSE)
[![Build system](https://git.kolibrios.org/KolibriOS/kolibrios/actions/workflows/build.yaml/badge.svg)](https://git.kolibrios.org/KolibriOS/kolibrios/actions)
KolibriOS is a hobby operating system for x86-compatible computers, which is currently being developed by a small but passionate team of enthusiasts.