-
Notifications
You must be signed in to change notification settings - Fork 10
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
Change names of path_fixes to report_fixes #58
Conversation
Codecov Report
@@ Coverage Diff @@
## main #58 +/- ##
=======================================
Coverage 98.46% 98.46%
=======================================
Files 369 369
Lines 27233 27233
=======================================
Hits 26814 26814
Misses 419 419
Flags with carried forward coverage won't be shown. Click here to find out more.
|
74e2fc3
to
534dac7
Compare
@giovanni-guidini @dana-yaish Is it worth it to change the string that we expect here: https://github.com/codecov/worker/pull/58/files#diff-1d8567e678087007495cf44619eec19e7325fe7b1106110b56d68c96c14ef7e1R27 , changing it would mean it's correct now, but this would break old versions of the CLI |
534dac7
to
4678cde
Compare
@joseph-sentry is this still being worked on? |
this is ready for another review |
4678cde
to
94d557f
Compare
Codecov Report
@@ Coverage Diff @@
## main #58 +/- ##
=======================================
Coverage 93.25% 93.25%
=======================================
Files 346 346
Lines 26889 26889
=======================================
Hits 25075 25075
Misses 1814 1814
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #58 +/- ##
=======================================
Coverage 93.25% 93.25%
=======================================
Files 346 346
Lines 26889 26889
=======================================
Hits 25075 25075
Misses 1814 1814
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov Report
@@ Coverage Diff @@
## main #58 +/- ##
=======================================
Coverage 93.25% 93.25%
=======================================
Files 346 346
Lines 26889 26889
=======================================
Hits 25075 25075
Misses 1814 1814
Flags with carried forward coverage won't be shown. Click here to find out more.
|
94d557f
to
1630411
Compare
@@ -26,26 +26,43 @@ def get_first_line(self): | |||
|
|||
|
|||
class ParsedRawReport(object): | |||
""" | |||
Parsed raw report parent class |
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.
This is very helpful 👍 thanks for doing this
@@ -24,10 +24,15 @@ def parse_raw_report_from_bytes(self, raw_report: bytes): | |||
uploaded_files=[ | |||
self._parse_single_coverage_file(x) for x in data["coverage_files"] | |||
], | |||
path_fixes=self._parse_path_fixes(data["path_fixes"]), | |||
report_fixes=self._parse_report_fixes( | |||
# want backwards compatibility with older versions of the CLI that still name this section path_fixes |
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.
10/10 - This is very good. Yes we do want that.
This commit changes the name of the path_fixes section in the ParsedRawReport classes to report_fixes. For more information on report fixes: https://docs.codecov.com/docs/fixing-reports For more information on path fixes: https://docs.codecov.com/docs/fixing-paths Signed-off-by: joseph-sentry <[email protected]>
1630411
to
423cf9f
Compare
This PR changes the name of the path_fixes
section in the ParsedRawReport classes to report_fixes.
For more information on report fixes:
https://docs.codecov.com/docs/fixing-reports
For more information on path fixes:
https://docs.codecov.com/docs/fixing-paths
Fixes: codecov/codecov-cli#207