[csw-maintainers] Package "gts" in testing

Philip Brown phil at bolthole.com
Tue May 19 01:42:10 CEST 2009


On Tue, May 19, 2009 at 01:15:59AM +0200, Dagobert Michelsen wrote:
> Hi John,
>...
>>>    UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=66612   (change to 

> First you go to the project main page at
>   <https://sourceforge.net/projects/gts>
> and then Download -> Browse All Packages
> This leads to
>   <https://sourceforge.net/project/showfiles.php?group_id=1343>
> Aha! -> 1343 AFAIK there is no easier way on SF to do this,
> William did some research when he implemented upsream watch.

I would like to suggest that there IS a way.

If you have the sourceforge name, ie "gts". you then go to the
sourceforge-standardized page, as suggested

http://sourceforge.net/projects/$PROJNAME

You can then use such fanciness as

  wget --quiet -O -  http://sourceforge.net/projects/gts |
    sed -n 's/.*showfiles.php[?]group_id=\([0-9][0-9]*\).*/\1/p' |
     head -1

to automatically derive the sf_project_id.

or if you prefer curl, use "curl -s" instead of "wget --quiet -O -"   :-)




More information about the maintainers mailing list