Module: check_mk
Branch: master
Commit: 987dce81e9aae59ea053b16109636496ff4336e7
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=987dce81e9aae5…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Dec 8 10:36:52 2017 +0100
Small IWYU tweaks.
Change-Id: I66d2513b9b35227d3cb007ed2a80c487b737ad39
---
livestatus/src/TableStateHistory.cc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/livestatus/src/TableStateHistory.cc b/livestatus/src/TableStateHistory.cc
index d2a3ae7..b4a1621 100644
--- a/livestatus/src/TableStateHistory.cc
+++ b/livestatus/src/TableStateHistory.cc
@@ -54,8 +54,10 @@ class AndingFilter;
class OringFilter;
#ifdef CMC
-#include "Host.h"
-#include "Service.h"
+// This seems to be an IWYU bug: If we remove the includes as suggested, we
+// would do a member access on an incomplete type.
+#include "Host.h" // IWYU pragma: keep
+#include "Service.h" // IWYU pragma: keep
#include "Timeperiod.h"
#include "cmc.h"
#define STATE_OK 0
Module: check_mk
Branch: master
Commit: 5ae73cb25dbf16be8f56c96d36721ff72fef4baf
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5ae73cb25dbf16…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 7 16:32:40 2017 +0100
5568 FIX Fixed breaking report elements when reloading edit page
When opening a report element for editing which e.g. has a context configured
and reloading the page multiple times, the conditions may be modified which
leads to issues when trying to save the element.
e.g. a service could change from "Check_MK" to "{'service': u'Check_MK'}".
Change-Id: I9c7310d008df09525ca39c91fd6515b8983cf4c9
---
.werks/5568 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/.werks/5568 b/.werks/5568
new file mode 100644
index 0000000..e4d69ac
--- /dev/null
+++ b/.werks/5568
@@ -0,0 +1,15 @@
+Title: Fixed breaking report elements when reloading edit page
+Level: 1
+Component: reporting
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.5.0i2
+Date: 1512660674
+
+When opening a report element for editing which e.g. has a context configured
+and reloading the page multiple times, the conditions may be modified which
+leads to issues when trying to save the element.
+
+e.g. a service could change from "Check_MK" to "{'service': u'Check_MK'}".
Module: check_mk
Branch: master
Commit: 6d856f301c06f7d00212ba143c21e73101270f80
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6d856f301c06f7…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Dec 7 22:19:15 2017 +0100
Exclude llvm-header-guard check for now.
Change-Id: Ia8f9a2f0c873585e204657ca6b6cc55b9df5b728
---
.clang-tidy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.clang-tidy b/.clang-tidy
index aeabfec..46467a1 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -23,13 +23,14 @@
# * cppcoreguidelines-pro-type-reinterpret-cast ("do not use reinterpret_cast")
# * cppcoreguidelines-pro-type-vararg ("do not call c-style vararg functions")
# * hicpp-member-init: alias for cppcoreguidelines-pro-type-member-init
+# * llvm-header-guard ("header guard does not follow preferred style") tricky to get right with the current bear/clang-tidy/symlink situation
#
# * desirable checks, but some places need to be suppressed:
# * cppcoreguidelines-pro-type-const-cast ("do not use const_cast")
# * cppcoreguidelines-pro-type-union-access ("do not access members of unions; use (boost::)variant instead")
# * modernize-use-bool-literals ("converting integer literal to bool, use bool literal instead") Incorrectly triggered by e.g. FD_ZERO
#
-Checks: '*,-android-cloexec-fopen,-android-cloexec-open,-cert-env33-c,-cert-err34-c,-cert-err58-cpp,-clang-analyzer-alpha*,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-static-cast-downcast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-google-runtime-int,-google-runtime-references,-hicpp-member-init,-hicpp-no-assembler,-llvm-include-order,-modernize-use-bool-literals'
+Checks: '*,-android-cloexec-fopen,-android-cloexec-open,-cert-env33-c,-cert-err34-c,-cert-err58-cpp,-clang-analyzer-alpha*,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-static-cast-downcast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-google-runtime-int,-google-runtime-references,-hicpp-member-init,-hicpp-no-assembler,-llvm-header-guard,-llvm-include-order,-modernize-use-bool-literals'
CheckOptions:
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '1'