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

[fix] Fix file path in codeclimate output #3202

Merged

Conversation

csordasmarton
Copy link
Contributor

Closes #3199

Previously if there was a report for a a/b/c/file.cpp, then exporting in
codeclimate format always presented only file.cpp as file path. This
prevents correct navigation when viewing the report in GitLab. Using
--trim-path-prefix made no effect in CodeChecker parse output.

@csordasmarton csordasmarton added CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands bugfix 🔨 labels Feb 22, 2021
Previously if there was a report for a `a/b/c/file.cpp`, then exporting in
codeclimate format always presented only `file.cpp` as file path. This
prevents correct navigation when viewing the report in GitLab. Using
`--trim-path-prefix` made no effect in `CodeChecker parse` output.
@csordasmarton csordasmarton merged commit dc4cc98 into Ericsson:master Mar 1, 2021
@csordasmarton csordasmarton deleted the fix_codeclimate_output branch March 10, 2021 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix 🔨 CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CodeChecker parse -e codeclimate disconsiders --trim-path-prefix
2 participants