savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-help-public] Savannah Subscriptions


From: Jose E. Marchesi
Subject: Re: [Savannah-help-public] Savannah Subscriptions
Date: Thu, 04 Aug 2011 18:03:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

    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 address@hidden
# V 0.2 address@hidden proposed by Brian Gough (address@hidden)
##################################################

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

[Prev in Thread] Current Thread [Next in Thread]