Website updated on Sun Oct 24 14:56:21 MDT 2004

Anderson Lizardo lizardo at linuxfromscratch.org
Sun Oct 24 13:56:21 PDT 2004


Command: /home/lizardo/scripts/update-website-hook.sh /home/svn/repositories/www 861

rm -rf news/./2004
LC_ALL=C /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/manage_news.pl -a news/ -i ./news-2004.txt -t templates/./archive-top.html -b templates/./archive-bottom.html
rm -rf news/blfs/2004
LC_ALL=C /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/manage_news.pl -a news/ -i blfs/news-2004.txt -t templates/blfs/archive-top.html -b templates/blfs/archive-bottom.html
rm -rf news/hints/2004
LC_ALL=C /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/manage_news.pl -a news/ -i hints/news-2004.txt -t templates/hints/archive-top.html -b templates/hints/archive-bottom.html
mkdir -p logs
for repos in www patches LFS BLFS hints; do \
svn log --verbose --xml svn://svn.linuxfromscratch.org/$repos 2>/dev/null | /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/svn2html.pl --with-branchname > logs/$repos.html.tmp; \
cmp -s logs/$repos.html.tmp logs/$repos.html || cp logs/$repos.html.tmp logs/$repos.html; \
rm logs/$repos.html.tmp; \
done
cat templates/website-top.html \
logs/www.html \
templates/website-bottom.html > website.html
cat templates/alfs/news-top.html > alfs/news.html
LC_ALL=C /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/manage_news.pl -i alfs/news-2004.txt >> alfs/news.html
LC_ALL=C /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/manage_news.pl -i news-2004.txt >> alfs/news.html
/home/httpd/test.linuxfromscratch.org/rsync-test/scripts/svn2html2.pl --project ALFS --with-branchname >> alfs/news.html
cat templates/alfs/news-bottom.html >> alfs/news.html
cat templates/blfs/news-top.html > blfs/news.html
LC_ALL=C /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/manage_news.pl -i blfs/news-2004.txt >> blfs/news.html
LC_ALL=C /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/manage_news.pl -i news-2004.txt >> blfs/news.html
cat logs/BLFS.html \
templates/blfs/news-bottom.html >> blfs/news.html
cat templates/lfs/news-top.html > lfs/news.html
LC_ALL=C /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/manage_news.pl -i lfs/news-2004.txt >> lfs/news.html
LC_ALL=C /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/manage_news.pl -i news-2004.txt >> lfs/news.html
cat logs/LFS.html \
templates/lfs/news-bottom.html >> lfs/news.html
/home/httpd/test.linuxfromscratch.org/rsync-test/scripts/lfs2rss.pl -n alfs/news.html -r alfs/feed.rss
/home/httpd/test.linuxfromscratch.org/rsync-test/scripts/lfs2rss.pl -n blfs/news.html -r blfs/feed.rss
/home/httpd/test.linuxfromscratch.org/rsync-test/scripts/lfs2rss.pl -n lfs/news.html -r lfs/feed.rss
svn -q update patches/downloads
find hints/downloads -type l -exec rm '{}' \;
svn -q update hints/downloads/files
ln -s files hints/downloads/hints
cd hints/downloads && tar --exclude=.svn -chjf hints.tar.bz2 hints/
rm hints/downloads/hints
cd hints/downloads/files && \
if [ -d HOLD ]; then for i in $(ls HOLD/*.txt); do ln -s $i; done; fi
cd hints/downloads/files && \
for i in $(ls PREVIOUS_FORMAT/*.txt); do ln -s $i; done
cd hints && /home/httpd/test.linuxfromscratch.org/rsync-test/scripts/genlist.sh
chmod -Rf g+w .
for m in ; do \
rsync -aq --exclude-from=scripts/rsync-ignore /home/httpd/test.linuxfromscratch.org/rsync-test/ $m::lfs; \
done
mkdir -p timestamp
date +%s > timestamp/timestamp

real	0m48.927s
user	0m17.820s
sys	0m3.480s



More information about the website mailing list