-
Notifications
You must be signed in to change notification settings - Fork 14
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(report): adjust for relative uri path #852
Conversation
Here is the summarized build result: Here is the link to Github Actions build: https://github.com/Samsung/Universum/actions/runs/12294862105 |
if artifact_data.get('uriBaseId'): | ||
# means path is relative, need to make absolute | ||
uri_base_id = artifact_data.get('uriBaseId', '') | ||
root_base_path = root_uri_base_paths.get(uri_base_id, '') | ||
if uri_base_id and not root_base_path: | ||
raise ValueError(f"Unexpected lack of 'originalUriBaseIds' value for {uri_base_id}") | ||
path = str(Path(root_base_path) / path) | ||
uri = str(Path(root_base_path) / uri) | ||
path = urllib.parse.unquote(urllib.parse.urlparse(uri).path) |
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.
trailing-whitespace: Trailing whitespace
No description provided.