src

sauce
got clone ssh://anon@src.dalliard.ch/src
log | files | refs

src (405B)


      1 #!/bin/sh -e
      2 stagit-index /var/got/p/*/ > /var/www/got/index.html
      3 for repo in src www; do
      4 	cd /var/www/got/$repo/
      5 	stagit -l 21 -u "https://src.dalliard.ch/$repo/" "/var/got/p/$repo.git"
      6 done
      7 find /var/www/got -type f \( -name '*.html' \
      8 													-o -name '*.xml'  \
      9 													-o -name '*.css'  \) \
     10 	-exec gzip -9fk {} \;
     11 openrsync --rsync-path=openrsync -lrt --del /var/www/got/ s2:/var/www/got/