From a91652ebe9312dd9199b42e03a9f9a7bf46bd4b1 Mon Sep 17 00:00:00 2001 From: Prashanth Swaminathan Date: Tue, 23 Apr 2024 14:53:12 -0700 Subject: Add handling for 'sso' paths to genrepo scripts Clients may sync via 'sso' instead of 'rpc' or 'https'. Add handling for repositories which have 'sso' as their source URL. Test: Ran genrepo.py from a repo that was synced via 'sso'. Change-Id: Id351f0e56ccf3ab3f23de9910b34a6ce0a5948cf --- qemu/scripts/genrepo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/scripts/genrepo.py b/qemu/scripts/genrepo.py index 004a0fd..dee4179 100644 --- a/qemu/scripts/genrepo.py +++ b/qemu/scripts/genrepo.py @@ -184,6 +184,7 @@ def GetAllSubmodules(path): def MatchProject(url): prefix_to_remote = { "https://android.googlesource.com/": AOSP_HOST, + "sso://android/": AOSP_HOST, "persistent-https://android.git.corp.google.com/": AOSP_HOST, } for prefix, remote in prefix_to_remote.items(): -- cgit v1.2.3