Differences From:
File
www/mkdownload.tcl
part of check-in
[8dae3bc320]
- Fix a typo in the mkdownload.tcl script used to generate the download.html page.
by
drh on
2008-03-17 23:48:45.
[view]
To:
File
www/mkdownload.tcl
part of check-in
[7a2c37063a]
- merge trunk into creole branch
by
bob on
2009-09-22 07:49:39.
Also file
www/mkdownload.tcl
part of check-in
[db70c415ab]
- Documentation updates. Add a nice header to the "Download" page.
by
drh on
2009-09-12 17:21:12.
[view]
@@ -5,19 +5,29 @@
#
puts \
{<html>
<head>
-<title>Fossil Download</title>
+<title>Fossil: Downloads</title>
+<link rel="stylesheet" href="/fossil/style.css" type="text/css"
+ media="screen">
</head>
<body>
-<h1>Fossil Download</h1>
+<div class="header">
+ <div class="logo">
+ <img src="/fossil/doc/tip/www/fossil_logo_small.gif" alt="logo">
+ </div>
+ <div class="title">Fossil Downloads</div>
+</div>
+<div class="mainmenu"><a href='/fossil/doc/tip/www/index.wiki'>Home</a><a href='/fossil/leaves'>Leaves</a><a href='/fossil/timeline'>Timeline</a><a href='/fossil/brlist'>Branches</a><a href='/fossil/taglist'>Tags</a><a href='/fossil/reportlist'>Tickets</a><a href='/fossil/wiki'>Wiki</a><a href='/fossil/login'>Login</a></div>
+<div class="content">
+<p>
<p>
-This page contains prebuilt binaries for
-<a href="index.html">fossil</a> for various architectures.
-The source code is available in the
-<a href="http://www.fossil-scm.org/fossil/timeline">self-hosting
-fossil repository</a>.
+Click on links below to download prebuilt binaries and source tarballs for
+recent versions of <a href="/fossil">Fossil</a>.
+The historical source code is also available in the
+<a href="/fossil/doc/tip/www/selfhost.wiki">self-hosting
+Fossil repositories</a>.
</p>
<table cellpadding="5">
}
@@ -25,9 +35,9 @@
proc Product {pattern desc} {
set flist [glob -nocomplain download/$pattern]
foreach file [lsort -dict $flist] {
set file [file tail $file]
- if {![regexp -- {-([a-f0-9]{10})[^a-f0-9]} $file all version]} continue
+ if {![regexp -- {-([0-9]+)\.} $file all version]} continue
set mtime [file mtime download/$file]
set date [clock format $mtime -format {%Y-%m-%d %H:%M:%S UTC} -gmt 1]
set size [file size download/$file]
set units bytes
@@ -47,19 +57,24 @@
puts "Created: $date</td></tr>"
}
}
-Product fossil-linux-x86-*.gz {
+Product fossil-linux-x86-*.zip {
Prebuilt fossil binary version [VERSION] for Linux on x86
}
-Product fossil-macosx-x86-*.gz {
+Product fossil-linux-amd64-*.zip {
+ Prebuilt fossil binary version [VERSION] for Linux on amd64
+}
+Product fossil-macosx-x86-*.zip {
Prebuilt fossil binary version [VERSION] for MacOSX on x86
}
Product fossil-w32-*.zip {
Prebuilt fossil binary version [VERSION] for windows
}
-
+Product fossil-src-*.tar.gz {
+ Source code tarball for fossil version [VERSION]
+}
puts {</table>
</body>
</html>
}