[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py esc-reporting/esc-report.py
jan Iversen
jani at libreoffice.org
Sun May 7 09:14:12 UTC 2017
esc-reporting/esc-analyze.py | 36 +++++++++++++++++++-----
esc-reporting/esc-report.py | 63 ++++++++++++++++++++++++++++---------------
2 files changed, 70 insertions(+), 29 deletions(-)
New commits:
commit 157afd3f53d28de0be5bdf728cc17db1d9213d98
Author: jan Iversen <jani at libreoffice.org>
Date: Sun May 7 11:13:50 2017 +0200
esc-report resiliance added to analyze/report too
diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index dd7a457..f4fc753 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -688,14 +688,34 @@ def runAnalyze():
gerritData = util_load_data_file(cfg['homedir'] + 'dump/gerrit_dump.json')
gitData = util_load_data_file(cfg['homedir'] + 'dump/git_dump.json')
statList = util_create_statList()
- runLoadCSV()
-
- analyze_mentoring()
- analyze_ui()
- analyze_qa()
- analyze_esc()
- analyze_myfunc()
- analyze_final()
+ try:
+ runLoadCSV()
+ except:
+ pass
+ try:
+ analyze_mentoring()
+ except:
+ pass
+ try:
+ analyze_ui()
+ except:
+ pass
+ try:
+ analyze_qa()
+ except:
+ pass
+ try:
+ analyze_esc()
+ except:
+ pass
+ try:
+ analyze_myfunc()
+ except:
+ pass
+ try:
+ analyze_final()
+ except:
+ pass
def runUpgrade(args):
diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index e45057c..2920470 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -897,27 +897,48 @@ def runReport():
gitData = util_load_data_file(cfg['homedir'] + 'dump/git_dump.json')
xMail = []
- x = report_bug_metrics()
- if not x is None:
- xMail.append(x)
- x = report_day_mentoring()
- if not x is None:
- xMail.append(x)
- x = report_mentoring()
- if not x is None:
- xMail.append(x)
- x = report_ui()
- if not x is None:
- xMail.append(x)
- x = report_qa()
- if not x is None:
- xMail.append(x)
- x = report_myfunc()
- if not x is None:
- xMail.append(x)
- x = report_esc_prototype()
- if not x is None:
- xMail.append(x)
+ try:
+ x = report_bug_metrics()
+ if not x is None:
+ xMail.append(x)
+ except:
+ pass
+ try:
+ x = report_day_mentoring()
+ if not x is None:
+ xMail.append(x)
+ except:
+ pass
+ try:
+ x = report_mentoring()
+ if not x is None:
+ xMail.append(x)
+ except:
+ pass
+ try:
+ x = report_ui()
+ if not x is None:
+ xMail.append(x)
+ except:
+ pass
+ try:
+ x = report_qa()
+ if not x is None:
+ xMail.append(x)
+ except:
+ pass
+ try:
+ x = report_myfunc()
+ if not x is None:
+ xMail.append(x)
+ except:
+ pass
+ try:
+ x = report_esc_prototype()
+ if not x is None:
+ xMail.append(x)
+ except:
+ pass
fp = open('/tmp/runMail', 'w', encoding='utf-8')
print("#!/bin/bash", file=fp)
More information about the Libreoffice-commits
mailing list