There are no more Savannah subscriptions on planet.gnu.org?

We are downloading a csv file from
http://savannah.gnu.org/cooperation/groups.tsv in order to get the list
of URLs for the feeds of the projects hosted in savannah.  It looks like
the file is now being generated empty, and thus we are not adding any
savannah subscription to the planet configuration file.

Please find below the script used in chapters.gnu.org to extract the
relevant urls from that file.

#/bin/bash
###########
# Script for add all savannah RSSs to GNUplanet
#
# V 0.1 na...@es.gnu.org
# V 0.2 na...@es.gnu.org proposed by Brian Gough (b...@network-theory.co.uk)
##################################################

GNUPLANET_CONF="/var/wwwplanet/bin/venus/subscription_savannah.ini"

echo "##########################" > $GNUPLANET_CONF
echo "# Savannah Subscriptions #" >> $GNUPLANET_CONF
echo "##########################" >> $GNUPLANET_CONF
echo "" >> $GNUPLANET_CONF

wget -O /tmp/groups.tsv http://savannah.gnu.org/cooperation/groups.tsv
for RSS in `grep "Official GNU software" /tmp/groups.tsv | awk -F'\t' '{ print 
$3}'`
do
    case $RSS in
        *private) continue;;
       fsf-board) continue;;
    esac

    echo "[http://savannah.gnu.org/news/atom.php?group=$RSS]"; >> $GNUPLANET_CONF
    echo "name = $RSS @ Savannah" >> $GNUPLANET_CONF
    echo "savannah = true" >> $GNUPLANET_CONF
    echo "link = http://savannah.gnu.org/projects/$RSS"; >> $GNUPLANET_CONF
    echo "" >> $GNUPLANET_CONF
done

rm /tmp/groups.tsv


Reply via email to