Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion components/scmprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@


def repo_and_commit_to_url(repo, commit):
if "https://chromium.googlesource.com" or 'https://https://aomedia.googlesource.com' in repo:
if any(
hostname in repo
for hostname in [
"https://chromium.googlesource.com",
"https://aomedia.googlesource.com",
]
):
return repo + "/+/" + commit

# gitlab wants https://domain.com/org/project/-/commit/sha
Expand Down