##@cooked comments # -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
## Valeurs par défaut pour runs.modules
##@cooked nocomments
##@require base
uprovide runsmod.defaults

# Ne pas supprimer la ligne ci-dessous
##--runsmod.defaults--
RUNSMOD_MODE=prod
RUNSMOD_SHALLOW=auto
RUNSMOD_UPDATE=auto
RUNSMOD_IDENTITY=
RUNSMOD_BASEURL=
RUNSMOD_SCRIPTS_URLS=(
    hosts/%h/runs
    hosts/%h/all//runs
    runss
)
RUNSMOD_MODULES_URLS=(
    hosts/%h/modules/%m
    hosts/%h/%m
    hosts/%h/all//modules
    hosts/%h/all
    # quand on supportera %n
    #hosts/all/%n/%m
    modules/%m
)
RUNSMOD_HOSTS_URLS=(
    runsh
)
RUNSMOD_BASEDIR="$HOME/wop/runsmod"
RUNSMOD_MAP=(
    # mapping par défaut
    runss:"$HOME/wop/runs"
    modules:"$HOME/wop/modules"
    hosts:"$HOME/wop/hosts.d"
    runsh:"$HOME/wop/hosts"
)
RUNSMOD_PROFILES=(
    pvcs
    vcs
    jclain
)

# pvcs
RUNSMOD_pvcs_BASEURL=(http://pvcs.univ.run/anongit http://pvcs.univ-reunion.fr/anongit)
RUNSMOD_pvcs_devel_BASEURL=pgit@vcs.univ.run
RUNSMOD_pvcs_SCRIPTS_URLS=("${RUNSMOD_SCRIPTS_URLS[@]}" si/base-runs)
RUNSMOD_pvcs_MODULES_URLS=("${RUNSMOD_MODULES_URLS[@]}")
RUNSMOD_pvcs_HOSTS_URLS=("${RUNSMOD_HOSTS_URLS[@]}")
RUNSMOD_pvcs_MAP=(
    runss:"$HOME/wop/runs"
    modules:"$HOME/wop/pmodules"
    hosts:"$HOME/wop/hosts"
    runsh:"$HOME/wop/hosts.d"
    si/base-runs:"$HOME/wop/lruns"
)

# vcs
RUNSMOD_vcs_BASEURL=(http://vcs.univ.run/anongit http://vcs.univ-reunion.fr/anongit)
RUNSMOD_vcs_devel_BASEURL=git@vcs.univ.run
RUNSMOD_vcs_SCRIPTS_URLS=("${RUNSMOD_SCRIPTS_URLS[@]}")
RUNSMOD_vcs_MODULES_URLS=("${RUNSMOD_MODULES_URLS[@]}")
RUNSMOD_vcs_HOSTS_URLS=("${RUNSMOD_HOSTS_URLS[@]}")
RUNSMOD_vcs_MAP=(
    runss:"$HOME/wop/pruns"
    modules:"$HOME/wop/modules"
    hosts:"$HOME/wop/phosts"
    runsh:"$HOME/wop/phosts.d"
)

# jclain
RUNSMOD_jclain_BASEURL=git@jclain.fr
RUNSMOD_jclain_SCRIPTS_URLS=("${RUNSMOD_SCRIPTS_URLS[@]}")
RUNSMOD_jclain_MODULES_URLS=("${RUNSMOD_MODULES_URLS[@]}")
RUNSMOD_jclain_HOSTS_URLS=("${RUNSMOD_HOSTS_URLS[@]}")
RUNSMOD_jclain_MAP=(
    runss:"$HOME/wop/j/runs"
    modules:"$HOME/wop/j/modules"
    hosts:"$HOME/wop/j/hosts"
    runsh:"$HOME/wop/j/hosts.d"
)
