Module: check_mk
Branch: master
Commit: 5c9b63cc011cda6822389b428c53a11422f8c936
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5c9b63cc011cda…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jul 26 10:34:34 2018 +0200
6370 FIX Fixed missing CEE/CME specific werks in release notes
The Check_MK release notes viewer (Click on version in sidebar header)
was not correctly showing CEE/CME specific werks. All previous 1.5
releases are affected by this regression.
Change-Id: Ib538a68fe894c0073ebf4dfb2cc3034b43272d52
---
.werks/6370 | 13 +++++++++++++
scripts/precompile-werks.py | 2 ++
2 files changed, 15 insertions(+)
diff --git a/.werks/6370 b/.werks/6370
new file mode 100644
index 0000000..b2fe0f1
--- /dev/null
+++ b/.werks/6370
@@ -0,0 +1,13 @@
+Title: Fixed missing CEE/CME specific werks in release notes
+Level: 2
+Component: multisite
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.6.0i1
+Date: 1532593979
+
+The Check_MK release notes viewer (Click on version in sidebar header)
+was not correctly showing CEE/CME specific werks. All previous 1.5
+releases are affected by this regression.
diff --git a/scripts/precompile-werks.py b/scripts/precompile-werks.py
index 1aaccdd..21083c6 100755
--- a/scripts/precompile-werks.py
+++ b/scripts/precompile-werks.py
@@ -11,6 +11,8 @@ if len(sys.argv) > 3:
else:
edition_short = None
+if not os.path.exists(werk_dir):
+ raise Exception("Requested werk directory does not exist: %s" % werk_dir)
werks = cmk.werks.load_raw_files(werk_dir)