[Admin Script] Backing up your SourceForge project CVS

Mike C. Fletcher mcfletch at rogers.com
Wed Feb 18 07:02:50 EST 2004


Attached is a simple little script.  It automates downloading nightly 
CVS tarballs for multiple projects from SourceForge (you do back up your 
project's CVS, don't you? (And if you're like me, you find going through 
the web interface to get the tarball for each project is a pain.))  It's 
by no means a particularly complex script, but no reason for everyone 
(well, everyone with lots of projects to maintain) to re-invent the wheel.

At the moment the projects to download, and the directory to which to 
download are coded as variables in the script.  If you pass in 
command-line arguments it'll treat each one as a project and download to 
the current directory.

Just for the record, on Win2K, to schedule weekly downloads of the set 
of projects encoded in the script:

    Y:\>at 06:47 /interactive /EVERY:W c:\bin\lang\py23\python.exe 
d:\pylive\sourceforgebackup.py

Have fun all,
Mike

_______________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sourceforgebackup.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20040218/8cb243cf/attachment.ksh>


More information about the Python-list mailing list