Ticket #202 (Fixed)Mon Apr 27 16:52:51 UTC 2009
Improve magic downloads script
Reported by: | Andrew Hodgkinson (6) | Severity: | Enhancement |
Part: | Web site: Radiant (non-editable pages) | Release: | 2nd public site release |
Milestone: | 2nd public site release completed | Status | Fixed |
Details by Andrew Hodgkinson (6):
Steve says:
There’s a magic script on the ROOL site for doing the directory listing
stuff which works great for the pre-built apps but isn’t quite what I need
for the other downloads.
I’ve created a test page called:
http://www.riscosopen.org/content/downloads/testthat illustrates roughly where I’m going, except that my new config.yml
file
is clearly not being applied because I’m not sticking to the format that we
used for the other config files.
For a start, I want to allow multiple downloads of the same archive, just
different versions. E.g. soft-iomd.5.15.zip
and soft-iyo.5.14.zip
. To do
this, I will need the parser to allow the file to be specified either as:
soft-iomd
:
or
soft-iomd.5.15.zip
:
depending upon whether I’m expecting to have multiple revisions of it.
Next, I want to specify the icon used for a given file, using the icon
: tag.
I don’t know if that’s already supported, but if it isn’t, then I need it
added.
There is a new problem in that some of the archives are .tar.bz2</a>
rather than
.zip
which means that the parser code that extracts the version number from
the leafname will break. That needs adapting to be smarter about finding the
version number in the leafname.
Speaking of which, another change request is for some files to not have a
version number in their leafname (e.g. batch1to6.tar.bz
). The parser should
cope with that and put a dash in the version number field of the table.
Finally, it’d be nice if the table was extended by one column which shows
the datestamp of the file itself.
Changelog:
Modified by Andrew Hodgkinson (6) Mon, April 27 2009 - 16:53:30 GMT
Sigh. Collaboa textile parsing really is broken… URL missing above is:
Modified by Andrew Hodgkinson (6) Mon, April 27 2009 - 16:54:06 GMT
Fingers crossed that this works:
<pre>rom-iomd.zip:
name: Beagle softload
group: Beagle ROMs
info: Beagle, Cortex A8, 5.15 ROM image. Work in progress.
icon: rom.png
soft-iomd.5.15.zip:
name: IOMD softload
group: RiscPC and A7000 ROMs
info: RiscPC, codename IOMD, 5.15 ROM image. Work in progress. Runs on A7000 or RiscPC. Includes softload tool.
icon: app.png
soft-iyo.5.14.zip:
name: Iyonix softload
group: IYONIX ROMs
info: Official RISC OS 5.14 release from Castle. Includes IYONIX softload tool.
icon: app.png
soft-iyo.5.15.zip:
name: Iyonix softload
group: IYONIX ROMs
info: Development RISC OS 5.15 ROM image. Includes IYONIX softload tool.
icon: app.png
flash-iyo.5.14.zip:
name: Iyonix flash
group: IYONIX ROMs
info: Flash ROM programmer for official IYONIX RISC OS 5.14 ONLY.
icon: app.png
src-iomd.5.15.tar.bz2:
name: IOMD
group: Source code
info: Source code to the IOMD build.
icon: tarfile.png
src-omap.5.15.tar.bz2:
name: OMAP
group: Source code
info: Source code to the Beagle build.
icon: tarfile.png
src-iyo.5.15.tar.bz2:
name: Tungsten
group: Source code
info: Source code to the IYONIX 5.15 development build.
icon: tarfile.png
src-batch1to6.tar.bz2:
name: Batch1to6
group: Source code
info: Batches 1 to 6 combined into one source code archive.
icon: tarfile.png
cvs-repos.tar.bz2:
name: CVS
group: Source code
info: The complete cvs repository as an archive.
icon: tarfile.png
deskapps.zip:
name: DeskApps
group: Zipfile collections
info: Desktop applications.
icon: zipfile.png
games.zip:
name: Games
group: Zipfile collections
info: Desktop diversions and games.
icon: zipfile.png
bootapps.zip:
name: BootApps
group: Zipfile collections
info: Boot sequence-related components.
icon: zipfile.png
modules.zip:
name: Modules
group: Zipfile collections
info: RISC OS relocatable modules.
icon: zipfile.png
</pre>
Modified by Andrew Hodgkinson (6) Mon, April 27 2009 - 16:56:32 GMT
<notextile>
rom-iomd.zip:
name: Beagle softload
group: Beagle ROMs
info: Beagle, Cortex A8, 5.15 ROM image. Work in progress.
icon: rom.png
soft-iomd.5.15.zip:
name: IOMD softload
group: RiscPC and A7000 ROMs
info: RiscPC, codename IOMD, 5.15 ROM image. Work in progress. Runs on A7000 or RiscPC. Includes softload tool.
icon: app.png
soft-iyo.5.14.zip:
name: Iyonix softload
group: IYONIX ROMs
info: Official RISC OS 5.14 release from Castle. Includes IYONIX softload tool.
icon: app.png
soft-iyo.5.15.zip:
name: Iyonix softload
group: IYONIX ROMs
info: Development RISC OS 5.15 ROM image. Includes IYONIX softload tool.
icon: app.png
flash-iyo.5.14.zip:
name: Iyonix flash
group: IYONIX ROMs
info: Flash ROM programmer for official IYONIX RISC OS 5.14 ONLY.
icon: app.png
src-iomd.5.15.tar.bz2:
name: IOMD
group: Source code
info: Source code to the IOMD build.
icon: tarfile.png
src-omap.5.15.tar.bz2:
name: OMAP
group: Source code
info: Source code to the Beagle build.
icon: tarfile.png
src-iyo.5.15.tar.bz2:
name: Tungsten
group: Source code
info: Source code to the IYONIX 5.15 development build.
icon: tarfile.png
src-batch1to6.tar.bz2:
name: Batch1to6
group: Source code
info: Batches 1 to 6 combined into one source code archive.
icon: tarfile.png
cvs-repos.tar.bz2:
name: CVS
group: Source code
info: The complete cvs repository as an archive.
icon: tarfile.png
deskapps.zip:
name: DeskApps
group: Zipfile collections
info: Desktop applications.
icon: zipfile.png
games.zip:
name: Games
group: Zipfile collections
info: Desktop diversions and games.
icon: zipfile.png
bootapps.zip:
name: BootApps
group: Zipfile collections
info: Boot sequence-related components.
icon: zipfile.png
modules.zip:
name: Modules
group: Zipfile collections
info: RISC OS relocatable modules.
icon: zipfile.png
</notextile>
Modified by Andrew Hodgkinson (6) Mon, April 27 2009 - 16:56:44 GMT
I give up :-(
Modified by Andrew Hodgkinson (6) Tue, April 28 2009 - 11:53:18 GMT
- Status changed from Open to Fixed
Implemented in Changelist #267 and Changelist #268.