You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add --use-path-prefix parameter to CodeChecker store/parse/diff [bazel] #5150
The .plist files in the report directory may contain source file references with relative path (e.g. when the projecte was analyzed with CodeChecker analyze --trim-path-prefix /my/src/dir)
When CodeChecker store/parse is executed, these relative path by default are resolved relative to the .plist file location.
We should let the user specify the directory explicitly where these source files are located:
CodeChecker store/parse/diff --use-path-prefix /my/src/dir should resolve the relative paths of the source files in the .plist files relative from /my/src/dir/.
If use-path-prefix is not specified, the paths should be resolved from metadata.json by the source_path_prefix record ,if available.
Please note that store --trim-path-prefix switch should still work after this feature is implemented which causes the prefix to be trimmed when stored at the CodeChecker web server.
Activity