Skip to content

Commit 98bd13c

Browse files
authored
Merge pull request Ericsson#4450 from bruntib/typed_annotations
[feat] Introduce chronological order for dynamic reports
2 parents e405f2b + c0fa99e commit 98bd13c

File tree

16 files changed

+95
-40
lines changed

16 files changed

+95
-40
lines changed

docs/analyzer/user_guide.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,9 +1779,15 @@ name.
17791779

17801780
`.plist` files can be extended with a `report-annotation` section shown in the
17811781
following example. Report annotations are custom labels that can be attached to
1782-
a report. CodeChecker supports the usage of `testcase` and `timestamp`
1783-
annotations. `timestamp` can be used for ordering and `testcase` can be used
1784-
for filtering reports in the CodeChecker GUI.
1782+
a report. CodeChecker supports the usage of `testcase`, `timestamp` and
1783+
`chronological_order` annotations. `timestamp` and `chronological_order` can be
1784+
used for ordering and `testcase` can be used for filtering reports in the
1785+
CodeChecker GUI. These are typed annotations and CodeChecker is validating
1786+
these types:
1787+
1788+
- `timestamp`: Date-time format
1789+
- `chronological_order`: Integer
1790+
- `testcase`: String
17851791

17861792
<pre>
17871793
&lt;dict&gt;
@@ -1804,6 +1810,8 @@ for filtering reports in the CodeChecker GUI.
18041810
&lt;string&gt;yhegalkoei&lt;/string&gt;
18051811
&lt;key&gt;timestamp&lt;/key&gt;
18061812
&lt;string&gt;1970-04-26T17:27:55&lt;/string&gt;
1813+
&lt;key&gt;chronological_order&lt;/key&gt;
1814+
&lt;integer&gt;42&lt;/integer&gt;
18071815
&lt;/dict&gt;</b>
18081816
&lt;key&gt;path&lt;/key&gt;
18091817
&lt;array&gt;
-61 KB
Binary file not shown.
64.1 KB
Binary file not shown.

web/api/js/codechecker-api-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codechecker-api",
3-
"version": "6.60.0",
3+
"version": "6.61.0",
44
"description": "Generated node.js compatible API stubs for CodeChecker server.",
55
"main": "lib",
66
"homepage": "https://github.com/Ericsson/codechecker",
73 Bytes
Binary file not shown.

web/api/py/codechecker_api/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
with open('README.md', encoding='utf-8', errors="ignore") as f:
99
long_description = f.read()
1010

11-
api_version = '6.60.0'
11+
api_version = '6.61.0'
1212

1313
setup(
1414
name='codechecker_api',
12 Bytes
Binary file not shown.

web/api/py/codechecker_api_shared/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
with open('README.md', encoding='utf-8', errors="ignore") as f:
99
long_description = f.read()
1010

11-
api_version = '6.60.0'
11+
api_version = '6.61.0'
1212

1313
setup(
1414
name='codechecker_api_shared',

web/api/report_server.thrift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ enum SortType {
8282
DETECTION_STATUS,
8383
BUG_PATH_LENGTH,
8484
TIMESTAMP,
85-
TESTCASE
85+
TESTCASE,
86+
CHRONOLOGICAL_ORDER
8687
}
8788

8889
enum RunSortType {

web/codechecker_web/shared/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# The newest supported minor version (value) for each supported major version
2121
# (key) in this particular build.
2222
SUPPORTED_VERSIONS = {
23-
6: 60
23+
6: 61
2424
}
2525

2626
# Used by the client to automatically identify the latest major and minor

0 commit comments

Comments
 (0)