diff --git a/tools/update-all b/tools/update-all index 3a9ceee..4ee719e 100755 --- a/tools/update-all +++ b/tools/update-all @@ -1,90 +1,91 @@ #! /bin/sh # Where the update programs live BINTOP=/home/api/bin # Where we store the logs LOGPATH=/srv/logs/all # set locale, as cron job currently is run with C export LANG=en_US.UTF-8 # Functions Date() { DATE=`date` } # Prepare to run.. umask 0002 if [ ! -d $LOGPATH ]; then mkdir -p $LOGPATH fi LOGBASE=`date '+%Y%m%d%H%M%S'` LOGFILE=$LOGPATH/$LOGBASE cat /dev/null > $LOGFILE (cd $LOGPATH; ln -sf $LOGBASE current) ### Start update process - update scripts and checkouts first.... echo "update-all run by $USER" | tee -a $LOGFILE Date; echo "$DATE: $$ ********" | tee -a $LOGFILE Date; echo "$DATE: *** Update script checkouts" | tee -a $LOGFILE sh $BINTOP/update-scripts >> $LOGFILE 2>&1 Date; echo "$DATE: *** Update checkouts " | tee -a $LOGFILE sh $BINTOP/update-checkouts >> $LOGFILE 2>&1 # Run the quality checks # Date; echo "$DATE: *** Performing quality checks" | tee -a $LOGFILE # krazy intentionally not running in the background, to see if it brings the system load into sanity # disabled, due to ebn.kde.org to be shut-down # sh $BINTOP/update-krazy >> $LOGFILE Date; echo "$DATE: *** Generating API documentation" | tee -a $LOGFILE sh $BINTOP/update-apidox >> $LOGFILE & # disabled, due to ebn.kde.org to be shut-down # not obvious if these needed to be run after update-apidox only # sh $BINTOP/update-i18n >> $LOGFILE & # sh $BINTOP/update-sanitizer >> $LOGFILE & wait # Update api.kde.org symlinks Date; echo "$DATE: *** Setting up symlinks" | tee -a $LOGFILE sh $BINTOP/update-symlinks # Update the qch and man files Date; echo "$DATE: *** Start QCH and ManPage generation" | tee -a $LOGFILE sh $BINTOP/update-qch-man >> $LOGFILE 2>&1 # Update the classmapper files Date; echo "$DATE: *** Update Classmapper files" | tee -a $LOGFILE sh $BINTOP/update-mapper >> $LOGFILE 2>&1 # Update our custom CMake modules doc Date; echo "$DATE: *** Update CMake modules doc" | tee -a $LOGFILE sh $BINTOP/update-cmakedoc >> $LOGFILE 2>&1 # Update user manuals Date; echo "$DATE: *** Update User Manuals" | tee -a $LOGFILE sh $BINTOP/update-docs >> $LOGFILE 2>&1 # Update mkdocs based manuals Date; echo "$DATE: *** Update User Mkdocs Manuals" | tee -a $LOGFILE sh $BINTOP/update-mkdocs >> $LOGFILE 2>&1 # Run the quality tools used on ebn.kde.org -Date; echo "$DATE: *** Update details on EBN for API Generation" | tee -a $LOGFILE -sh $BINTOP/parse-api-logs >> $LOGFILE +# disabled, due to ebn.kde.org to be shut-down +# Date; echo "$DATE: *** Update details on EBN for API Generation" | tee -a $LOGFILE +# sh $BINTOP/parse-api-logs >> $LOGFILE # Cleanup database Date; echo "$DATE: *** Clean the db " | tee -a $LOGFILE sh $BINTOP/cleanup-db >> $LOGFILE 2>&1 # we are done Date; echo "$DATE: ********* DONE *********" | tee -a $LOGFILE (cd $LOGPATH; rm -f current last; ln -s $LOGBASE last) # Disabled items :( #Date; echo "$DATE: *** Update graphs " | tee -a $LOGFILE #(cd $BINTOP && sh $BINTOP/update-graphs >> $LOGFILE 2>&1)