-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show reports with the same bughash in the bugviewer #891
Conversation
efd8566
to
6e3c3b4
Compare
api/v6/report_server.thrift
Outdated
@@ -184,7 +190,7 @@ service codeCheckerDBAccess { | |||
|
|||
// get the run Ids and dates from the database to select one run | |||
// PERMISSION: PRODUCT_ACCESS | |||
RunDataList getRunData(1: string runNameFilter) | |||
RunDataList getRunData(1: RunFilter runFilter) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make the above comment a full sentence.
api/v6/report_server.thrift
Outdated
@@ -25,6 +25,11 @@ struct RunData { | |||
} | |||
typedef list<RunData> RunDataList | |||
|
|||
struct RunFilter { | |||
1: list<i64> runIds, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the connection between the fields? Are they connected with or
or and
or something else? Please document this.
@@ -471,7 +471,7 @@ def __get_run_ids_to_query(self, session, cmp_data=None): | |||
return run_ids | |||
|
|||
@timeit | |||
def getRunData(self, run_name_filter): | |||
def getRunData(self, runFilter): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for python variables prefer lowecase names like run_filter
.
6e3c3b4
to
a88a28f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Maybe some tests would be great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the followign text label to the bug viewer before the dropdown: "Also found in"
Otherwise LGTM
a88a28f
to
23fea51
Compare
No description provided.