-
Notifications
You must be signed in to change notification settings - Fork 385
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
Give better message when source files are missing #1537
Conversation
libcodechecker/libhandlers/store.py
Outdated
LOG.warning("Skipping '{0}' because it contains " | ||
"a missing source file." | ||
.format(plist_file)) | ||
LOG.warning("Skipping '%s' because it contains " |
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.
contains
isn't the right word here from the user's perspective, and wasn't before, either...
Maybe refers
?
e009383
to
3c1c0a5
Compare
libcodechecker/libhandlers/store.py
Outdated
@@ -189,19 +189,21 @@ def assemble_zip(inputs, zip_file, client): | |||
file_to_mtime = {} | |||
|
|||
def collect_file_hashes_from_plist(plist_file): | |||
missing_files = [] |
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 some function documentation.
3c1c0a5
to
112f9f5
Compare
I think it would be useful to list the missing source files at the end of the store log:
|
If source files are missing from the system which are in the plist file we should write out the missing file paths too.
112f9f5
to
1ae83cd
Compare
@gyorb Done. |
If source files are missing from the system which are in the plist file we should write out the missing file paths too.