def get_known_profiles(self, warns=True):
        res = dict()
        remote_xml = os.path.join(self.root, ".qi", "manifests",
                                  "default", "manifest.xml")
        if os.path.exists(remote_xml):
            res = qibuild.profile.parse_profiles(remote_xml)
        local_xml = self.qibuild_xml
        local_profiles = qibuild.profile.parse_profiles(local_xml)
        for name in local_profiles.keys():
            if name in res:
                remote_profile = res[name]
                local_profile = local_profiles[name]
                if remote_profile != local_profile:
                    if warns:
                        ui.warning("Overriding remote profile", name, "\n",
                                   "local: ", local_profile.cmake_flags, "\n",
                                   "remote:", remote_profile.cmake_flags)
        res.update(local_profiles)
        return res
Parse the remote profiles (coming from qisrc sync), and the
dataset/ETHPy150Open aldebaran/qibuild/python/qibuild/worktree.py/BuildWorkTree.get_known_profiles