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 |
|
Alexander A. Klimov
|
268bd85752
|
Url#m_Query: test order preservation
refs #6536
|
2018-12-21 11:54:48 +01:00 |
|
Alexander A. Klimov
|
eeb609d4ae
|
Url#m_Query: preserve order
refs #6536
|
2018-12-21 11:52:37 +01:00 |
|
Michael Friedrich
|
dab53448bc
|
icinga.com: Update *.{h,c}pp
|
2018-10-18 09:27:04 +02:00 |
|
Michael Friedrich
|
194c99a86e
|
Allow to disable brackets for the Url class and Format()
This commit also adds unit tests.
refs #5706
|
2018-04-06 15:22:17 +02:00 |
|
Gunnar Beutner
|
becfa85094
|
Apply clang-tidy fix 'modernize-use-emplace'
|
2018-01-04 12:24:57 +01:00 |
|
Michael Insel
|
158ae2188e
|
Change copyright header for 2018
|
2018-01-02 12:08:55 +01:00 |
|
Gunnar Beutner
|
88af57e2ec
|
Fix for outdated libstdcxx
|
2017-12-20 08:02:17 +01:00 |
|
Gunnar Beutner
|
4c2f13c414
|
Fix memory leaks in the unit tests
|
2017-12-14 14:57:23 +01:00 |
|
Gunnar Beutner
|
83f17b5bfa
|
Replace boost::assign::list_of with initializer lists
|
2017-11-30 18:09:38 +01:00 |
|
Michael Friedrich
|
08486a0f7c
|
Fix tests for URL formatting changes
refs #5558
|
2017-09-07 11:26: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 |
|
Jean Flach
|
d264a0dab8
|
Fix Url Query formatting
fixes #12883
|
2016-10-10 16:16:52 +02:00 |
|
Gunnar Beutner
|
1dc4ab367e
|
Fix: Unit tests randomly crash after the tests have completed
fixes #12610
|
2016-09-07 08:25:53 +02:00 |
|
Gunnar Beutner
|
288413f046
|
Replace BOOST_FOREACH with range-based for loops
fixes #12538
|
2016-08-25 06:46:17 +02:00 |
|
Gunnar Beutner
|
599929b0f6
|
Update copyright headers for 2016
|
2016-01-12 08:29:59 +01:00 |
|
Michael Friedrich
|
5d46f661ea
|
Implement 'console' cli command using the API
fixes #10387
|
2015-11-04 16:01:06 +01:00 |
|
Jean Flach
|
6571ffc2c8
|
Update url parser
fixes #10039
|
2015-09-04 14:40:27 +02:00 |
|
Jean Flach
|
2414dee602
|
Update url parser
fixes #9768
|
2015-07-29 13:14:43 +02:00 |
|
Jean-Marcel Flach
|
0130f2e79a
|
Rename base-url test to remote-url
refs #9647
|
2015-07-16 14:37:22 +02:00 |
|