chiark / gitweb /
wip
[dgit-junk.git] / copy-alioth-to-gideon
index f7cf913..0e65b87 100755 (executable)
@@ -29,6 +29,7 @@ ssh iwj@gideon.debian.org "
        set +x
        for f in $d/transfer.tmp/*.git; do
                cp $d/repos/_template/description $f/description
+               touch $f/git-daemon-export-ok
        done
 
        cat <<END >$d/transfer.run
@@ -36,7 +37,11 @@ ssh iwj@gideon.debian.org "
                cd $d/transfer.tmp
                rsync -rltHxp --delete *.git $d/repos/
                # _template
-               echo done.
+               echo done locally, copying...
+
+               distrodir=$d/dispatch-dir/distro\=debian
+               \$distrodir/mirror-hook \$distrodir/mirror-hook all
+               echo done all.
 END
        chmod +x $d/transfer.run
 '