From: Ian Jackson Date: Sat, 18 Jul 2015 16:06:07 +0000 (+0100) Subject: wip X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=556e6b463fdcb476196f9b1f69ea863a83b5a5b7;p=dgit-junk.git wip --- diff --git a/TODO b/TODO index c45e714..b089bae 100644 --- 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 diff --git a/copy-alioth-to-gideon b/copy-alioth-to-gideon index f7cf913..c82741b 100755 --- a/copy-alioth-to-gideon +++ b/copy-alioth-to-gideon @@ -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 <$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 '