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
TRANSITION
-do things from irc transcripts
-
make repo move script create refs/heads/master
make announcement when in testing
- 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
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
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
'