32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.2 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
 | |
| #     pcrone g/ssi-php/myproj
 | |
| #     pcrone v:modules/myproj
 | |
| # sont équivalents à
 | |
| #     pcrone https://git.univ-reunion.fr/ssi-php/myproj
 | |
| #     pcrone git@vcs.univ.run:modules/myproj
 | |
| # Ces définitions fonctionnent aussi pour pclone
 | |
| # Le format est ALIAS=ACTUAL
 | |
| 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/
 | |
| )
 | |
| 
 | |
| # 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/
 | |
| )
 | |
| 
 | |
| # 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=
 |