esc-reporting/esc-analyze.py | 4 ++++ esc-reporting/esc-collect.py | 13 +++++++++++++ esc-reporting/esc-report.py | 11 +++++++++-- 3 files changed, 26 insertions(+), 2 deletions(-)
New commits: commit bfbdf1078021b2b6b30fb9fe289cc605f9694b03 Author: Xisco Fauli <[email protected]> AuthorDate: Fri May 3 16:27:24 2019 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Fri May 3 16:27:24 2019 +0200 ESC: Add high priority bugs diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py index 48533b8..dc9c1c0 100755 --- a/esc-reporting/esc-analyze.py +++ b/esc-reporting/esc-analyze.py @@ -521,6 +521,10 @@ def analyze_esc(): for id in bugzillaESCData['MostPressingBugs'][type]['list']: statList['escList']['MostPressingBugs'][type]['list'][id] = bugzillaData['bugs'][id]['summary'] + statList['escList']['HighSeverityBugs'] = {} + for id in bugzillaESCData['HighSeverityBugs']['list']: + statList['escList']['HighSeverityBugs'][id] = bugzillaData['bugs'][id]['summary'] + bug_fixers = {} bug_confirmers = {} for id, bug in bugzillaData['bugs'].items(): diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py index aba5a58..64584f9 100755 --- a/esc-reporting/esc-collect.py +++ b/esc-reporting/esc-collect.py @@ -548,6 +548,19 @@ def get_esc_bugzilla(cfg): '&chfield=priority' \ '&chfieldfrom=-8d' \ '&chfieldto=Now' \ + '&chfieldvalue=high' \ + '&priority=high' \ + '&resolution=---' + rawList['HighSeverityBugs'] = {} + rawList['HighSeverityBugs']['count'], \ + rawList['HighSeverityBugs']['list'] = do_ESC_counting(bz, url) + url = '&bug_status=UNCONFIRMED' \ + '&bug_status=NEW' \ + '&bug_status=ASSIGNED' \ + '&bug_status=REOPENED' \ + '&chfield=priority' \ + '&chfieldfrom=-8d' \ + '&chfieldto=Now' \ '&chfieldvalue=highest' \ '&priority=highest' \ '&resolution=---' diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py index d613fe5..49a0e91 100755 --- a/esc-reporting/esc-report.py +++ b/esc-reporting/esc-report.py @@ -310,16 +310,23 @@ def report_esc_prototype(): txt += ' {:<24} - {}({:+d})\n'.format(id, row, xDiff) escPrototype = escPrototype.replace('$<ESC_COMPONENT_REGRESSION_ALL_UPDATE>', txt) - txt = ' open:\n' + txt = ' New:\n' for id, title in statList['escList']['MostPressingBugs']['open']['list'].items(): txt += ' + {}\n'.format(title) txt += ' + https://bugs.documentfoundation.org/show_bug.cgi?id={}\n'.format(id) - txt += ' closed:\n' + txt += ' Old:\n' + txt += ' Fixed:\n' for id, title in statList['escList']['MostPressingBugs']['closed']['list'].items(): txt += ' + {}\n'.format(title) txt += ' + https://bugs.documentfoundation.org/show_bug.cgi?id={}\n'.format(id) escPrototype = escPrototype.replace('$<ESC_MOST_PRESSING_BUGS>', txt) + txt = '' + for id, title in statList['escList']['HighSeverityBugs'].items(): + txt += ' + {}\n'.format(title) + txt += ' + https://bugs.documentfoundation.org/show_bug.cgi?id={}\n'.format(id) + escPrototype = escPrototype.replace('$<ESC_HIGH_SEVERITY_BUGS>', txt) + txt = ' + {}({:+d}) import failure, {}({:+d}) export failures'.format( statList['data']['esc']['crashtest']['import'], statList['diff']['esc']['crashtest']['import'], statList['data']['esc']['crashtest']['export'], statList['diff']['esc']['crashtest']['export']) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
