36 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
 | 
						|
 | 
						|
# Liste de préfixes permettant de taper le nom d'un dépôt plus rapidement e.g
 | 
						|
#     repoctl create g/ssi-php/myproj
 | 
						|
#     repoctl create v:modules/myproj
 | 
						|
# sont équivalents à
 | 
						|
#     repoctl create https://git.univ-reunion.fr/ssi-php/myproj
 | 
						|
#     repoctl create git@vcs.univ.run:modules/myproj
 | 
						|
# Le format est ALIAS=ACTUAL
 | 
						|
#
 | 
						|
# Ces définitions fonctionnent aussi pour tous les scripts qui utilisent
 | 
						|
# repoctl, dont notamment pclone et pcrone
 | 
						|
REPO_PREFIXES=(
 | 
						|
    s:=git@git.univ-reunion.fr:
 | 
						|
    g/=https://git.univ-reunion.fr/
 | 
						|
    v:=git@vcs.univ.run:  av/=https://vcs.univ-reunion.fr/anongit/
 | 
						|
    p:=pgit@vcs.univ.run: ap/=https://pvcs.univ-reunion.fr/anongit/
 | 
						|
    j/=https://git.jclain.fr/
 | 
						|
)
 | 
						|
 | 
						|
# Définitions des types de dépôt. Le format est NAME:TYPE:PREFIX
 | 
						|
# * NAME est utilisé pour définir des configurations supplémentaires
 | 
						|
# * TYPE peut valoir gitolite ou gogs (ou gitea qui est un alias de gogs). Le
 | 
						|
#   type par défaut est 'gitolite'
 | 
						|
REPO_TYPES=(
 | 
						|
    ur:gitea:https://git.univ-reunion.fr/
 | 
						|
    jclain:gitea:https://git.jclain.fr/
 | 
						|
)
 | 
						|
 | 
						|
# Configuration de l'accès à l'API gogs
 | 
						|
# un nom de dépôt est de la forme user/repo. Si user != $GOGS_USER alors on crée
 | 
						|
# dans une organisation
 | 
						|
#ur_GOGS_URL=https://git.univ-reunion.fr
 | 
						|
#ur_GOGS_USER="$USER"
 | 
						|
#ur_GOGS_KEY=
 |