Skip to content
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

Generate report hash fix #1235

Merged
merged 1 commit into from
Dec 8, 2017
Merged

Conversation

csordasmarton
Copy link
Contributor

Use files from the zip to generate report hash in case of storing run.

@@ -1987,7 +1987,7 @@ def massStoreRun(self, name, tag, version, b64zip, force):
# second time here. Use re-use the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is the first plist parse? Shouldn't that be updated too? Or the comment is outdated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first plist parse is at the client side. We don't have to update those too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case this comment is outdated here right? We can not reuse the results from the client side.

@csordasmarton csordasmarton requested a review from gyorb December 7, 2017 16:18
Copy link
Contributor

@Xazax-hun Xazax-hun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG!

@@ -102,8 +103,12 @@ def parse_plist(path):

# We need to extend information for plist files generated
# by older clang version (before 3.8).
file_path = files[diag['location']['file']]
if source_root is not None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if x is not None can be replaced with if x if source_root isn't a boolean.

@@ -1987,7 +1987,7 @@ def massStoreRun(self, name, tag, version, b64zip, force):
# second time here. Use re-use the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case this comment is outdated here right? We can not reuse the results from the client side.

Use files from the zip to generate report hash in case of storing
run.
@gyorb gyorb merged commit 315487a into Ericsson:master Dec 8, 2017
@csordasmarton csordasmarton deleted the bug_hash_generate_fix branch December 8, 2017 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants