chiark / gitweb /
wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 18 Jul 2015 16:06:07 +0000 (17:06 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 18 Jul 2015 16:06:07 +0000 (17:06 +0100)
TODO
copy-alioth-to-gideon

diff --git a/TODO b/TODO
index c45e7149d22452a5f92714591401ff2ab88f2a48..b089baeae489751549e2cce3dca78ef6c968330b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,11 +1,5 @@
 THINGS FROM IRC TRANSCRIPTS
 
-in copy script
-  set git-daemon-export-ok in template
-  set git-daemon-export-ok in all repos being copied
-  set description in template
-  set description in all repos being copied
-
 arrange push hook to update list of repos for cgit
 arrange cron job to update list of repos for cgit
 
@@ -17,8 +11,6 @@ set up a way to add userkeys to
 
 TRANSITION
 
-do things from irc transcripts
-
 make repo move script create refs/heads/master
 
 make announcement when in testing
@@ -33,7 +25,6 @@ switch:
   - copy repos
       check no unexpected branches
       check none ahead of archive or at least some signed tag, or something
-      check no unexpected enabled hooks
   - switch divert
   - test a clone
   - test a push of dgit-test-dummy
index f7cf913619d95c8fde79413827544566d8893c4b..c82741b1781fe842c97d078a05528f22099206ca 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=/srv/dgit.debian.org/dispatch-dir/distro\=debian
+               $distrodir/mirror-hook $distrodir/mirror-hook all
+               echo done all.
 END
        chmod +x $d/transfer.run
 '