1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

doc/dev: add copyright and license information (SPDX / REUSE)

This commit is contained in:
Sébastien Helleu
2025-03-31 12:09:21 +02:00
parent ff9d580ef5
commit b0cfdeff94
4 changed files with 59 additions and 20 deletions
+13 -5
View File
@@ -568,11 +568,19 @@ directory:
* In source code, your comments, variable names, .. must be written in English
*only* (no other language is allowed).
* Use a copyright header in each new source file with:
** short description of file (one line),
** date,
** name,
** e-mail,
** license.
** date
** name
** e-mail
** license
** short description of file (one line).
The copyright and license must be set using SPDX (System Package Data Exchange),
following best practices in REUSE Software
(see the https://reuse.software/spec/[REUSE specification ^↗^^]).
All files in the repository must have a valid copyright and license information. +
When the information can not be put in the file itself, you can use the REUSE.toml
file at the root of the project tree.
Example in C:
+13 -5
View File
@@ -569,11 +569,19 @@ fichiers sont dans le répertoire _po/_ :
* Dans le code source, vos commentaires, noms de variables, ... doivent être
écrits en anglais *uniquement* (aucune autre langue n'est autorisée).
* Utilisez un en-tête de copyright dans chaque nouveau fichier source avec :
** une brève description du fichier (une seule ligne),
** la date,
** le nom,
** l'e-mail,
** la licence.
** la date
** le nom
** l'e-mail
** la licence
** une brève description du fichier (une seule ligne).
Le copyright et la licence doivent être définis en utilisant SPDX (System Package Data Exchange),
en suivant les recommandations de REUSE Software
(voir la https://reuse.software/spec/[spécification REUSE ^↗^^]).
Tous les fichiers du dépôt doivent avoir un copyright et une licence valide. +
Lorsque l'information ne peut pas être mise dans le fichier lui-même, vous pouvez
utiliser le fichier REUSE.toml à la racine du projet.
Exemple en C :
+18 -5
View File
@@ -691,11 +691,24 @@ WeeChat とプラグインの翻訳は gettext で行います、ファイルは
* ソースコード内で使用する、コメント、変数名、...
は必ず *英語* で記述してください (他の言語を使わないでください)
* 新しいファイルにはコピーライトヘッダを入れ、以下の情報を含めてください:
** ファイルの短い説明 (1 行)、
** 日付、
** 名前、
** 電子メールアドレス、
** ライセンス
** 日付
** 名前
** 電子メールアドレス
** ライセンス
** ファイルの短い説明 (1 行)
// TRANSLATION MISSING
The copyright and license must be set using SPDX (System Package Data Exchange),
following best practices in REUSE Software
(see the https://reuse.software/spec/[REUSE specification ^↗^^]).
// TRANSLATION MISSING
All files in the repository must have a valid copyright and license information. +
When the information can not be put in the file itself, you can use the REUSE.toml
file at the root of the project tree.
// TRANSLATION MISSING
Example in C:
[source,c]
----
+15 -5
View File
@@ -564,11 +564,21 @@ WeeChat „језгро” се налази у следећим директо
* Ваши коментари, имена променљивих, ... у изворном коду морају бити написани *само* на енглеском језику (није дозвољена употреба ниједног другог језика).
* Употребите заглавље ауторских права у сваком новом изворном фајлу са:
** кратким описом фајла (једна линија)
** датумом,
** именом,
** имејл адресом,
** лиценцом.
** датумом
** именом
** имејл адресом
** лиценцом
** кратким описом фајла (једна линија).
// TRANSLATION MISSING
The copyright and license must be set using SPDX (System Package Data Exchange),
following best practices in REUSE Software
(see the https://reuse.software/spec/[REUSE specification ^↗^^]).
// TRANSLATION MISSING
All files in the repository must have a valid copyright and license information. +
When the information can not be put in the file itself, you can use the REUSE.toml
file at the root of the project tree.
Пример у језику C: