Support of detecting incompatible directories when importing AOSP via manifest file
Problem to solve
Using the manifest files from https://android.googlesource.com directly to import to GitLab will cause problem due to folder structure compatibility issue.
Intended users
Release Managers System Adminisitrators
Further details
In AOSP source code tree, there are a few directories with the same name as a repo at the same level. For example, there's a repository at https://android.googlesource.com/platform/external/python/ and under it there are https://android.googlesource.com/platform/external/python/apitools/ and others. With GitLab if at a level a name of AAA as a group/subgroup has already in place, there could not be another project/repository with the same name AAA.
Proposal
We should highlight these out when parsing the manifest files and provide suggestions for user to make changes to make it compatible, i.e. renaming the folder with a suffix.