Skip to content

Commit de0fdc8

Browse files
authored
donate-cpu-server.py: adjusted head information summary name / added internalError to overview (#5283)
1 parent 45de338 commit de0fdc8

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

tools/donate-cpu-server.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
2727
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
2828
# changes)
29-
SERVER_VERSION = "1.3.40"
29+
SERVER_VERSION = "1.3.41"
3030

3131
OLD_VERSION = '2.11'
3232

@@ -85,7 +85,7 @@ def overviewReport() -> str:
8585
html += '<a href="stale.html">Stale report</a><br>\n'
8686
html += '<a href="diff.html">Diff report</a><br>\n'
8787
html += '<a href="head.html">HEAD report</a><br>\n'
88-
html += '<a href="headinfo.html">HEAD (info) report</a><br>\n'
88+
html += '<a href="headinfo.html">HEAD (information) report</a><br>\n'
8989
html += '<a href="latest.html">Latest results</a><br>\n'
9090
html += '<a href="time_lt.html">Time report (improved)</a><br>\n'
9191
html += '<a href="time_gt.html">Time report (regressed)</a> - <a href="time_gt.html?pkgs=1">packages.txt</a><br>\n'
@@ -115,6 +115,7 @@ def overviewReport() -> str:
115115
html += '<br>\n'
116116
html += 'Important errors:<br>\n'
117117
html += '<a href="head-cppcheckError">cppcheckError</a><br>\n'
118+
html += '<a href="head-internalError">internalError</a><br>\n'
118119
html += '<a href="head-internalAstError">internalAstError</a><br>\n'
119120
html += '<a href="head-syntaxError">syntaxError</a><br>\n'
120121
html += '<a href="head-DacaWrongData">DacaWrongData</a><br>\n'
@@ -624,7 +625,7 @@ def summaryReport(resultsPath: str, name: str, prefix: str, marker: str) -> str:
624625
outToday[messageId] += 1
625626

626627
html = '<!DOCTYPE html>\n'
627-
html += '<html><head><title>HEAD report</title></head><body>\n'
628+
html += '<html><head><title>{} report</title></head><body>\n'.format(name)
628629
html += '<h1>HEAD report</h1>\n'
629630
html += '<h2>Uploaded today</h2>'
630631
html += summaryReportFromDict(outToday, prefix, 'today')
@@ -639,7 +640,7 @@ def headReport(resultsPath: str) -> str:
639640

640641

641642
def infoReport(resultsPath: str) -> str:
642-
return summaryReport(resultsPath, 'HEAD (info)', 'headinfo', INFO_MARKER)
643+
return summaryReport(resultsPath, 'HEAD (information)', 'headinfo', INFO_MARKER)
643644

644645

645646
def messageIdReport(resultPath: str, marker: str, messageId: str, query_params: dict) -> str:

0 commit comments

Comments
 (0)