summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/gitolite.conf2
-rwxr-xr-xlocal/hooks/repo-specific/pred-tv-mirror2
-rwxr-xr-xlocal/hooks/repo-specific/srht-mirror2
3 files changed, 3 insertions, 3 deletions
diff --git a/conf/gitolite.conf b/conf/gitolite.conf
index 3392ae5..091e998 100644
--- a/conf/gitolite.conf
+++ b/conf/gitolite.conf
@@ -12,7 +12,7 @@
@srht-mirror = vericert-kvx ymhg-notes ox-tufte private/zk private/biteq compcert-kvx
@srht-mirror = org-zettelkasten zk-visual zk-web zk-theme
-@pred-tv-mirror = cohpred SMTCoq
+@pred-tv-mirror = cohpred forks/smtcoq
@compcertgsa = compcertgsa/dom-complete compcertgsa/compcertgsa compcertgsa/path-expr
diff --git a/local/hooks/repo-specific/pred-tv-mirror b/local/hooks/repo-specific/pred-tv-mirror
index 6487147..19489b9 100755
--- a/local/hooks/repo-specific/pred-tv-mirror
+++ b/local/hooks/repo-specific/pred-tv-mirror
@@ -1 +1 @@
-git push --mirror git@gitlab.inria.fr:pred-tv/$GL_REPO.git \ No newline at end of file
+git push --mirror git@gitlab.inria.fr:pred-tv/$(echo $GL_REPO | sed -r -e 's:(private/)?(forks/)?(.*):\3:') \ No newline at end of file
diff --git a/local/hooks/repo-specific/srht-mirror b/local/hooks/repo-specific/srht-mirror
index 6d603fd..d514593 100755
--- a/local/hooks/repo-specific/srht-mirror
+++ b/local/hooks/repo-specific/srht-mirror
@@ -1 +1 @@
-git push --mirror git@git.sr.ht:~ymherklotz/$(echo $GL_REPO | sed -r -e 's:(private/)?(.*):\2:')
+git push --mirror git@git.sr.ht:~ymherklotz/$(echo $GL_REPO | sed -r -e 's:(private/)?(forks/)?(.*):\3:')