Docs: Added licensing to contributing guide #198
Reference in New Issue
Block a user
No description provided.
Delete Branch "add-license-file-header-to-guide"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Also renamed COPYING.TXT to LICENSE
I think we should have SPDX header details in a
STYLE_GUIDE.md
, linked to via CONTRIBUTING.As per Discord:
I prepared a draft style guide in issue #202
@@ -68,1 +68,4 @@
## 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:
What does "need" mean? SHOULD or MUST I do?
Would you be more happy with wording I suggested in #202?
@@ -69,0 +70,4 @@
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:
```asm
; SPDX-License-Identifier: GPL-2.0-only
For what? There's LICENSE file already, so, by fraudulent, every file in this repo under GPLv2
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+.
I would encourage new code to move towards more permissive licenses, where possible.
@@ -69,0 +71,4 @@
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:
```asm
; SPDX-License-Identifier: GPL-2.0-only
; Program - Brief description.
Description of what? Of a program? Should I add a description to each its file?
Yes. Ideally a one line description, where appropriate.
Hey @mxlgv @dunkaist @Sweetbread can we agree how to move this forward? 🙏
My thoughts:
COPYING.TXT
toLICENSE
. Make sure everything works with Docpack, etc. (may require to produceLICENSE.TXT
at build time or simply add the extension ?)View command line instructions.
Checkout
From your project repository, check out a new branch and test the changes.