chiark / gitweb /
copy-alioth-to-gideon: fix irker (!)
[dgit-junk.git] / copy-alioth-to-gideon
index c82741b1781fe842c97d078a05528f22099206ca..3709ee0c635c7bfab8521622b6c95c4c0ce7fdcf 100755 (executable)
@@ -26,6 +26,14 @@ ssh iwj@gideon.debian.org "
                exit 1
        fi
 
+       (
+        cd $d/transfer.tmp
+        mv irker.git irker.arrgh
+        cp -a _template irker.git
+        cd irker.git
+        git fetch -p ../irker.arrgh "+refs/heads/dgit/*:refs/dgit/*"
+       )
+
        set +x
        for f in $d/transfer.tmp/*.git; do
                cp $d/repos/_template/description $f/description
@@ -39,8 +47,8 @@ ssh iwj@gideon.debian.org "
                # _template
                echo done locally, copying...
 
-               distrodir=/srv/dgit.debian.org/dispatch-dir/distro\=debian
-               $distrodir/mirror-hook $distrodir/mirror-hook all
+               distrodir=$d/dispatch-dir/distro\=debian
+               \$distrodir/mirror-hook \$distrodir all
                echo done all.
 END
        chmod +x $d/transfer.run