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
|
d9c0b6f806
|
Refactor REGISTER_SCRIPTFUNCTION_* macros
|
2018-08-13 13:44:31 +02:00 |
|
Michael Insel
|
158ae2188e
|
Change copyright header for 2018
|
2018-01-02 12:08:55 +01:00 |
|
Gunnar Beutner
|
a344f11e6c
|
Replace StatsFunction with Function
|
2017-11-30 19:02:25 +01:00 |
|
Gunnar Beutner
|
858873b940
|
Replace boost::bind/boost::function with std::bind/std::function
|
2017-11-27 15:15:11 +01: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
|
b5b09216c6
|
Use lambda functions for INITIALIZE_ONCE
fixes #12562
|
2016-08-27 09:48:36 +02:00 |
|
Gunnar Beutner
|
599929b0f6
|
Update copyright headers for 2016
|
2016-01-12 08:29:59 +01:00 |
|
Michael Friedrich
|
2cab6fbb9d
|
Make the argments for the stats functions const-ref
fixes #8433
|
2015-02-13 11:29:15 +01:00 |
|
Michael Friedrich
|
ea2ac81003
|
Remove name and return value for stats functions
fixes #6171
|
2015-02-07 22:36:17 +01:00 |
|
Michael Friedrich
|
78bfd0204c
|
Update copyright year
|
2015-01-22 12:00:23 +01:00 |
|
Gunnar Beutner
|
11710ef683
|
Fix static initializers
refs #7634
|
2014-11-11 13:24:44 +01:00 |
|
Gunnar Beutner
|
266b1754c7
|
Speed up type lookups
refs #7561
|
2014-11-07 12:39:32 +01:00 |
|
Gunnar Beutner
|
170c5a59e4
|
Implement typeof() function
|
2014-11-03 00:45:14 +01:00 |
|
Gunnar Beutner
|
879684efcd
|
Fix problems with PNP4Nagios
fixes #7268
|
2014-09-17 15:38:39 +02:00 |
|
Gunnar Beutner
|
632026cd9f
|
Rename C++ header files.
Fixes #6291
|
2014-05-25 16:27:14 +02:00 |
|