Yonas Habteab
|
91c7e60df8
|
Replace all existing copyright headers with SPDX headers
I've used the following command to replace the original copyright header
lines in a C-style comment block:
```
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f -exec perl -pi -e 's{/\*[^*]*\(\s*c\s*\)\s*(\d{4})\s*Icinga\s+GmbH[^*]*\*/}{// SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n// SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
```
For files that use shell-style comments (#) like CMakeLists.txt, I've
used this command:
```
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f -exec perl -pi -e 's{#.*\(\s*c\s*\)\s(\d{4})\sIcinga\s+GmbH.*}{# SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n# SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
```
And for SQL files:
```
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f \( -name '*.sql' \) -exec perl -pi -e 's{--.*\(c\)\s(\d{4})\sIcinga\sGmbH.*}{-- SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n-- SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f \( -name '*.sql' \) -exec perl -pi -e 's{-- Copyright \(c\)\s(\d{4})\sIcinga\s+Development\sTeam.*}{-- SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n-- SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
```
|
2026-02-04 14:00:05 +01:00 |
|
Michael Friedrich
|
d14a88235d
|
Replace Copyright header with a short version, part I
CLion -> replace in path
|
2019-02-25 14:48:22 +01:00 |
|
Michael Friedrich
|
dab53448bc
|
icinga.com: Update *.{h,c}pp
|
2018-10-18 09:27:04 +02:00 |
|
Gunnar Beutner
|
1a8692d972
|
Implement support for namespaces
|
2018-08-13 13:44:31 +02:00 |
|
Gunnar Beutner
|
d9c0b6f806
|
Refactor REGISTER_SCRIPTFUNCTION_* macros
|
2018-08-13 13:44:31 +02:00 |
|
Jean Flach
|
a71ab1e126
|
Rename macro RequireNotNull to REQUIRE_NOT_NULL
|
2018-02-21 13:47:46 +01:00 |
|
Noah Hilverling
|
6bebdf8a87
|
Add marco RequireNotNull
This is used to fix a number of possible nullptr dereferences
|
2018-02-21 13:47:46 +01:00 |
|
Gunnar Beutner
|
c2fb9fe226
|
Use initializer lists for arrays and dictionaries
|
2018-01-16 12:27:44 +01:00 |
|
Michael Insel
|
158ae2188e
|
Change copyright header for 2018
|
2018-01-02 12:08:55 +01:00 |
|
Gunnar Beutner
|
5d45c74be3
|
Improve function metadata by adding arguments
fixes #5087
|
2017-03-27 14:43:19 +02:00 |
|
Michael Friedrich
|
b7caf0820d
|
Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
|
2017-01-10 17:19:12 +01:00 |
|
Gunnar Beutner
|
43a4acd5a2
|
Remove deprecated functions
fixes #12507
|
2016-08-23 15:01:40 +02:00 |
|
Gunnar Beutner
|
e09fb88cae
|
Make sure functions are registered with the correct prefix
refs #12393
|
2016-08-10 16:33:17 +02:00 |
|
Gunnar Beutner
|
dc06209e4a
|
Move internal script functions into the 'Internal' namespace
fixes #12338
|
2016-08-10 06:55:44 +02:00 |
|
Gunnar Beutner
|
599929b0f6
|
Update copyright headers for 2016
|
2016-01-12 08:29:59 +01:00 |
|
Michael Friedrich
|
78bfd0204c
|
Update copyright year
|
2015-01-22 12:00:23 +01:00 |
|
Gunnar Beutner
|
363f23b1d8
|
Rename ScriptFunction to Function
fixes #8258
|
2015-01-21 08:48:38 +01:00 |
|
Gunnar Beutner
|
478f03b49a
|
Replace boost::shared_ptr with boost::intrusive_ptr
refs #7622
|
2014-11-09 16:54:41 +01:00 |
|
Gunnar Beutner
|
632026cd9f
|
Rename C++ header files.
Fixes #6291
|
2014-05-25 16:27:14 +02:00 |
|
Gunnar Beutner
|
1c115297f9
|
Rename the service state constants.
Fixes #5964
|
2014-04-08 09:11:54 +02:00 |
|
Michael Friedrich
|
ce737ff2f3
|
Change copyright header (again).
Fixes #5424
|
2014-03-19 11:42:47 +01:00 |
|
Michael Friedrich
|
555d72150a
|
Update copyright header.
Fixes #5424
|
2014-01-09 00:32:11 +01:00 |
|
Gunnar Beutner
|
438d5c0f57
|
Move EmptyTimePeriod and EvenMinutesTimePeriod to libmethods.
Fixes #5032
|
2013-11-13 09:41:06 +01:00 |
|