Newer
Older
#Environment file
#
# gitlab-mirrors settings
#
#The user git-mirrors will run as.
system_user="gitmirror"
#The home directory path of the $system_user
#The repository directory where gitlab-mirrors will copies of mirrored repositories before pushing them to gitlab.
repo_dir="${user_home}/repositories"
#colorize output of add_mirror.sh, update_mirror.sh, and git-mirrors.sh commands.
enable_colors=true
#These are additional options which should be passed to git-svn. See git help svn
git_svn_additional_options="-s"
#
# Gitlab settings
#
#This is the Gitlab group where all project mirrors will be grouped.
gitlab_namespace="Mirrors"
#This is the web url of your Gitlab server. no trailing slash, just the protocol and server name.
gitlab_url="https://gitlab.example.com"
#Special user you created in Gitlab whose only purpose is to update mirror sites and admin the $gitlab_namespace group.
gitlab_user="gitmirror"
#Generate a token for your $gitlab_user and set it here.
gitlab_user_token_secret="$(head -n1 "${user_home}/private_token")"
#
# Gitlab new project default settings. If a project needs to be created by gitlab-mirrors
# then it will assign the following values as defaults.
#
issues_enabled=false
wall_enabled=false
wiki_enabled=false
snippets_enabled=false
public=false