Ticket #62 (Fixed)Thu Oct 19 20:01:49 UTC 2006
Need automatic way to update downloads page with tarball info
Reported by: | Severity: | Enhancement | |
Part: | Web site: General (miscellaneous issues) | Release: | Batch One code release |
Milestone: | Batch One code release completed | Status | Fixed |
Details by :
Given that we will periodically be producing tar.bz2 archives containing binary releases or source snapshots, it would be nice if there were a way to automate the process of updating the ‘downloads’ page of our site with information about the tarball(s).
E.g.
- file size,
- MD5 checksum,
- date of release,
- products file for a source release,
- textual release notes, etc.
Changelog:
Modified by Andrew Hodgkinson Sun, October 22 2006 - 18:51:49 GMT
The best thing to do would be to come up with some standard naming strategy for files in a defined directory. I could come up with a specialised Radiant tag (for example) so that we can have part of one of the CMS pages update itself with details of whatever is in the directory. Effectively, we’re talking about nothing more complicated than a highly customised directory list.
Modified by Andrew Hodgkinson (6) Wed, November 01 2006 - 00:14:40 GMT
- Status changed from Open to Fixed
I’ve added a Radiant extension to provide a first pass at this – see Changeset #140. A tag can be put into any page to create a (recursive) directory listing that gives the filename as a clickable link, human readable size and last modified date of each file found, though the list is currently unsorted. ‘CVS’ and ‘.svn’ directories found inside the given search path are ignored, just in case. Combined with a scheduler job that, say, checked out parts of SVN or CVS and wrapped them up into a tarball once every week or so, this creates a way to have an automatically updated set of components listed by any page within Radiant.