summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-06-01 12:34:58 +0100
committerYann Herklotz <git@yannherklotz.com>2023-06-01 12:34:58 +0100
commit10d3b7287d12078aad009b0d85f9395a21c0bbf1 (patch)
treeff8a6d5fd269411e68174e6359ee116e5a0b06fb
parentb765f4e2be59c0091d2826861d89f746d2850088 (diff)
downloadgitolite-admin-master.tar.gz
gitolite-admin-master.zip
Update hooksHEADmaster
-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:')