[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: update packages on octave-forge
From: |
Paul Kienzle |
Subject: |
Re: update packages on octave-forge |
Date: |
Fri, 1 Jun 2007 05:34:05 -0400 |
On Jun 1, 2007, at 3:58 AM, David Bateman wrote:
What would be good is if there was a way to have a generic name on the
website resolve to the latest package tar-ball in the sourceforge FRS.
It that way the website updates could be isolated from the FRS
updates, and the package owner could do the uploads themselves. Any
ideas how to do this?
The best I can think of is to run a nightly cron job that scours the
index files of all listed packages. This could either be via the
web-cvs interface (brittle) or by running cvs update on a local copy of
the repository.
If any package version number has changed, it can download the package
directory, build the tarball, and upload it via something like:
Perl - http://search.cpan.org/~bdfoy/Module-Release-1.16/lib/Release.pm
Python - http://releaseforge.sourceforge.net/
It could then run the usual webpage update procedure (now
build-www.py?).
Because uploading requires a password, this will have to be done on a
private machine rather than using sourceforge cron. This same machine
could be used as a gateway for uploading 3rd party packages.
Are there any python/perl experts in the audience that can write such a
beast and anyone willing to host such a service?
- Paul