Provide generic mirroring schema within app and in repository
With additional work being added to generic repo mirroring, a schema has been generated to simplify the mirroring process. The schema is the following:
id: not used
name: GitLab project name
ssh_repo_url: not used
web_repo_url: URL to git repository. "Username@" needs to be stripped out of the URL if present
repo_url: not used
group: GitLab group name
project_users: [
{
displayName:
name:
email:
permission:
}
]
repo_users: [
{
displayName:
name:
email:
permission:
}
]
type: Can be NORMAL or PERSONAL. This currently sits in project/type
owner: If the repository is PERSONAL, provide the owner's email. This currently sits in project/owner/emailAddress
This needs to be documented within the repository and a sample schema needs to be provided within the application (sample file, sample page in the UI)