diff options
author | Prashanth Swaminathan <prashanthsw@google.com> | 2024-04-23 14:53:12 -0700 |
---|---|---|
committer | Prashanth Swaminathan <prashanthsw@google.com> | 2024-04-23 14:53:50 -0700 |
commit | a91652ebe9312dd9199b42e03a9f9a7bf46bd4b1 (patch) | |
tree | 49c9b3c88afea697cec730bc90604d7984dbe7cb | |
parent | 8e55afd417bc8d4a44eabe8f36ad1e1c120945f8 (diff) | |
download | cuttlefish_vmm-a91652ebe9312dd9199b42e03a9f9a7bf46bd4b1.tar.gz |
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
-rw-r--r-- | qemu/scripts/genrepo.py | 1 |
1 files changed, 1 insertions, 0 deletions
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(): |