Handling synchronization of a worktree with some manifests
Handle the manifests of a worktree
Stores the git url of the manifests and the groups that should be used, synchronizes the local manifests with the git worktree
” Synchronize with a remote manifest: * clone missing repos * move repos that needs to be moved * reconfigure remotes and default branches * synchronizes build profiles :returns: True in case of success, False otherwise
Update every manifest, inspect changes, and updates the git worktree accordingly
Configure the given projects so that the actual git config matches the one coming from the manifest :
Configure default remotes, default branches and code review, then save config To be called _after_ sync()
Save the manifest config in .qi/manifest.xml
Add a manifest to the list. Will be stored in .qi/manifests/<name>
Read the manifest file in .qi/manifests/<name>/manifest.xml using the settings in .qi/manifest.xml (to know the name and the groups to use)
Backup all repos configuration before any synchronisation for compute_repo_diff to have the correct value
Read all the repos coming from all the manifests
Just synchronize the manifest coming from one xml file. Used by qisrc manifest --check