-
Notifications
You must be signed in to change notification settings - Fork 21
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
issue:4151975-Log analyzer telemetry file extract #272
Conversation
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.
I think you should add a documentation for all this code..
@@ -125,7 +125,18 @@ def full_analysis(self): | |||
Run all the analysis and returns a list of all the graphs created and their title | |||
""" | |||
for func in self._funcs_for_analysis: | |||
func() | |||
try: |
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.
I think you should add documentation
logs_with_dirs[dir_name].add(base_name) | ||
else: | ||
single_name_logs.add(base_name) | ||
return single_name_logs, logs_with_dirs |
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.
I wish someone will love me as you love tuples
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 a tuple? do explain!
I think it is one of the nice benefits python gives...
files_to_extract = set(files_to_extract) | ||
directories_to_extract = set(directories_to_extract) | ||
found_files = set() | ||
not_found_files = set(files_to_extract) | ||
_, logs_with_dirs = self._split_based_on_dir(files_to_extract) |
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.
why _?
please rename to a meaningfull name
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.
Since it is not used.
This function returns 2 items, for this case one is not needed but for the other cases it is needed
What
Extracting telemetry logs
Why ?
We need them in order to support analysis of them
How ?
Adding support to extract them from tar/directory.
Testing ?
Local testing with dump + directory.
Special triggers
Use the following phrases as comments to trigger different runs
bot:retest
rerun Jenkins CI (to rerun GitHub CI, use "Checks" tab on PR page and rerun all jobs)bot:upgrade
run additional update tests