Skip to content

Commit ecfeb0d

Browse files
committed
Add infos missing_spdx_copyright and missing_spdx_license
1 parent a2bf261 commit ecfeb0d

24 files changed

+94
-39
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Added
1010

1111
- Add warnings `hook_process_url` and `hook_process_hashtable_url`
12+
- Add infos `missing_spdx_copyright` and `missing_spdx_license`
1213

1314
### Changed
1415

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,22 @@ outside WeeChat, which is rare.
150150
**How to fix**: replace the URL by the official one: [https://weechat.org](https://weechat.org)
151151
(`https` and no `www`).
152152

153+
### Info: missing_spdx_copyright
154+
155+
**Issue**: the copyright tag "SPDX-FileCopyrightText" is missing in the script header.
156+
157+
**How to fix**: add the [SPDX](https://spdx.dev/) copyright tag "SPDX-FileCopyrightText"
158+
in the script header
159+
(see [Scripting contributing guide](https://github.com/weechat/scripts/blob/main/CONTRIBUTING.md#copyright-and-license)).
160+
161+
### Info: missing_spdx_license
162+
163+
**Issue**: the license tag "SPDX-License-Identifier" is missing in the script header.
164+
165+
**How to fix**: add the [SPDX](https://spdx.dev/) license tag "SPDX-License-Identifier"
166+
in the script header
167+
(see [Scripting contributing guide](https://github.com/weechat/scripts/blob/main/CONTRIBUTING.md#copyright-and-license)).
168+
153169
## Example
154170

155171
Default output:

tests/scripts/script_deprecated_hook_completion_get_string.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
# SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <[email protected]>
12
#
2-
# Author: Sébastien Helleu <[email protected]>
3-
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
"""A WeeChat script."""
66

tests/scripts/script_deprecated_hook_completion_list_add.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
# SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <[email protected]>
12
#
2-
# Author: Sébastien Helleu <[email protected]>
3-
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
"""A WeeChat script."""
66

tests/scripts/script_deprecated_with_condition_hook_completion_get_string.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
# SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <[email protected]>
12
#
2-
# Author: Sébastien Helleu <[email protected]>
3-
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
"""A WeeChat script."""
66

tests/scripts/script_deprecated_with_condition_hook_completion_list_add.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
# SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <[email protected]>
12
#
2-
# Author: Sébastien Helleu <[email protected]>
3-
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
"""A WeeChat script."""
66

tests/scripts/script_hook_process.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
# SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <[email protected]>
12
#
2-
# Author: Sébastien Helleu <[email protected]>
3-
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
"""A WeeChat script."""
66

tests/scripts/script_hook_process_hashtable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
# SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <[email protected]>
12
#
2-
# Author: Sébastien Helleu <[email protected]>
3-
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
"""A WeeChat script."""
66

tests/scripts/script_missing_email.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
# SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu
12
#
2-
# Author: Sébastien Helleu
3-
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
"""A WeeChat script."""
66

tests/scripts/script_missing_infolist_free.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
# SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <[email protected]>
12
#
2-
# Author: Sébastien Helleu <[email protected]>
3-
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
"""A WeeChat script."""
66

0 commit comments

Comments
 (0)