From 600b8246fa6b1736dfd7ec3ba5edf892d193e597 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Sat, 28 Sep 2019 12:33:03 +0400 Subject: [PATCH] =?UTF-8?q?support=20limit=C3=A9=20de=20pcrone=20et=20pclo?= =?UTF-8?q?ne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/default/repoctl | 10 ++++++---- uproject | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/default/repoctl b/lib/default/repoctl index 73ae148..cea1682 100644 --- a/lib/default/repoctl +++ b/lib/default/repoctl @@ -1,11 +1,11 @@ # -*- 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 g/ssi-php/myproj -# repoctl v:modules/myproj +# repoctl create g/ssi-php/myproj +# repoctl create v:modules/myproj # sont équivalents à -# repoctl https://git.univ-reunion.fr/ssi-php/myproj -# repoctl git@vcs.univ.run:modules/myproj +# 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 @@ -15,6 +15,7 @@ REPO_PREFIXES=( 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 @@ -23,6 +24,7 @@ REPO_PREFIXES=( # 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 diff --git a/uproject b/uproject index 8e81620..40f8764 100755 --- a/uproject +++ b/uproject @@ -250,7 +250,7 @@ function cxone_init() { REPO_PREFIXES=() REPO_TYPES=() - set_defaults pcrone + set_defaults repoctl # Traduire les aliases éventuels local asrcdest asrc adest