Fossil SCM

Documentation updates. Add a nice header to the "Download" page.

drh 2009-09-12 17:21 trunk
Commit db70c415ab35086afc4acae0add6b20e356c5aa3
+26 -11
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -4,31 +4,41 @@
44
#
55
#
66
puts \
77
{<html>
88
<head>
9
-<title>Fossil Download</title>
9
+<title>Fossil: Downloads</title>
10
+<link rel="stylesheet" href="/fossil/style.css" type="text/css"
11
+ media="screen">
1012
</head>
1113
<body>
12
-<h1>Fossil Download</h1>
14
+<div class="header">
15
+ <div class="logo">
16
+ <img src="/fossil/doc/tip/www/fossil_logo_small.gif" alt="logo">
17
+ </div>
18
+ <div class="title">Fossil Downloads</div>
19
+</div>
20
+<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>
21
+<div class="content">
22
+<p>
1323
1424
<p>
15
-This page contains prebuilt binaries for
16
-<a href="index.html">fossil</a> for various architectures.
17
-The source code is available in the
18
-<a href="http://www.fossil-scm.org/fossil/timeline">self-hosting
19
-fossil repository</a>.
25
+Click on links below to download prebuilt binaries and source tarballs for
26
+recent versions of <a href="/fossil">Fossil</a>.
27
+The historical source code is also available in the
28
+<a href="/fossil/doc/tip/www/selfhost.wiki">self-hosting
29
+Fossil repositories</a>.
2030
</p>
2131
2232
<table cellpadding="5">
2333
}
2434
2535
proc Product {pattern desc} {
2636
set flist [glob -nocomplain download/$pattern]
2737
foreach file [lsort -dict $flist] {
2838
set file [file tail $file]
29
- if {![regexp -- {-([a-f0-9]{10})[^a-f0-9]} $file all version]} continue
39
+ if {![regexp -- {-([0-9]+)\.} $file all version]} continue
3040
set mtime [file mtime download/$file]
3141
set date [clock format $mtime -format {%Y-%m-%d %H:%M:%S UTC} -gmt 1]
3242
set size [file size download/$file]
3343
set units bytes
3444
if {$size>1024*1024} {
@@ -46,20 +56,25 @@
4656
puts "<td valign=\"top\">[string trim $d2].<br>Size: $size $units.<br>"
4757
puts "Created: $date</td></tr>"
4858
}
4959
}
5060
51
-Product fossil-linux-x86-*.gz {
61
+Product fossil-linux-x86-*.zip {
5262
Prebuilt fossil binary version [VERSION] for Linux on x86
5363
}
54
-Product fossil-macosx-x86-*.gz {
64
+Product fossil-linux-amd64-*.zip {
65
+ Prebuilt fossil binary version [VERSION] for Linux on amd64
66
+}
67
+Product fossil-macosx-x86-*.zip {
5568
Prebuilt fossil binary version [VERSION] for MacOSX on x86
5669
}
5770
Product fossil-w32-*.zip {
5871
Prebuilt fossil binary version [VERSION] for windows
5972
}
60
-
73
+Product fossil-src-*.tar.gz {
74
+ Source code tarball for fossil version [VERSION]
75
+}
6176
6277
puts {</table>
6378
</body>
6479
</html>
6580
}
6681
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -4,31 +4,41 @@
4 #
5 #
6 puts \
7 {<html>
8 <head>
9 <title>Fossil Download</title>
 
 
10 </head>
11 <body>
12 <h1>Fossil Download</h1>
 
 
 
 
 
 
 
 
13
14 <p>
15 This page contains prebuilt binaries for
16 <a href="index.html">fossil</a> for various architectures.
17 The source code is available in the
18 <a href="http://www.fossil-scm.org/fossil/timeline">self-hosting
19 fossil repository</a>.
20 </p>
21
22 <table cellpadding="5">
23 }
24
25 proc Product {pattern desc} {
26 set flist [glob -nocomplain download/$pattern]
27 foreach file [lsort -dict $flist] {
28 set file [file tail $file]
29 if {![regexp -- {-([a-f0-9]{10})[^a-f0-9]} $file all version]} continue
30 set mtime [file mtime download/$file]
31 set date [clock format $mtime -format {%Y-%m-%d %H:%M:%S UTC} -gmt 1]
32 set size [file size download/$file]
33 set units bytes
34 if {$size>1024*1024} {
@@ -46,20 +56,25 @@
46 puts "<td valign=\"top\">[string trim $d2].<br>Size: $size $units.<br>"
47 puts "Created: $date</td></tr>"
48 }
49 }
50
51 Product fossil-linux-x86-*.gz {
52 Prebuilt fossil binary version [VERSION] for Linux on x86
53 }
54 Product fossil-macosx-x86-*.gz {
 
 
 
55 Prebuilt fossil binary version [VERSION] for MacOSX on x86
56 }
57 Product fossil-w32-*.zip {
58 Prebuilt fossil binary version [VERSION] for windows
59 }
60
 
 
61
62 puts {</table>
63 </body>
64 </html>
65 }
66
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -4,31 +4,41 @@
4 #
5 #
6 puts \
7 {<html>
8 <head>
9 <title>Fossil: Downloads</title>
10 <link rel="stylesheet" href="/fossil/style.css" type="text/css"
11 media="screen">
12 </head>
13 <body>
14 <div class="header">
15 <div class="logo">
16 <img src="/fossil/doc/tip/www/fossil_logo_small.gif" alt="logo">
17 </div>
18 <div class="title">Fossil Downloads</div>
19 </div>
20 <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>
21 <div class="content">
22 <p>
23
24 <p>
25 Click on links below to download prebuilt binaries and source tarballs for
26 recent versions of <a href="/fossil">Fossil</a>.
27 The historical source code is also available in the
28 <a href="/fossil/doc/tip/www/selfhost.wiki">self-hosting
29 Fossil repositories</a>.
30 </p>
31
32 <table cellpadding="5">
33 }
34
35 proc Product {pattern desc} {
36 set flist [glob -nocomplain download/$pattern]
37 foreach file [lsort -dict $flist] {
38 set file [file tail $file]
39 if {![regexp -- {-([0-9]+)\.} $file all version]} continue
40 set mtime [file mtime download/$file]
41 set date [clock format $mtime -format {%Y-%m-%d %H:%M:%S UTC} -gmt 1]
42 set size [file size download/$file]
43 set units bytes
44 if {$size>1024*1024} {
@@ -46,20 +56,25 @@
56 puts "<td valign=\"top\">[string trim $d2].<br>Size: $size $units.<br>"
57 puts "Created: $date</td></tr>"
58 }
59 }
60
61 Product fossil-linux-x86-*.zip {
62 Prebuilt fossil binary version [VERSION] for Linux on x86
63 }
64 Product fossil-linux-amd64-*.zip {
65 Prebuilt fossil binary version [VERSION] for Linux on amd64
66 }
67 Product fossil-macosx-x86-*.zip {
68 Prebuilt fossil binary version [VERSION] for MacOSX on x86
69 }
70 Product fossil-w32-*.zip {
71 Prebuilt fossil binary version [VERSION] for windows
72 }
73 Product fossil-src-*.tar.gz {
74 Source code tarball for fossil version [VERSION]
75 }
76
77 puts {</table>
78 </body>
79 </html>
80 }
81
--- www/quickstart.wiki
+++ www/quickstart.wiki
@@ -12,13 +12,11 @@
1212
<a href="http://www.fossil-scm.org/download.html">precompiled binary</a>
1313
or <a href="build.wiki">build it yourself</a> from sources.
1414
Install fossil by putting the fossil binary
1515
someplace on your PATH environment variable.</p>
1616
17
- </blockquote>
18
- <a name="#fslclone"><h2>Cloning An Existing Repository</h2></a>
19
- <blockquote>
17
+</blockquote><h2>Cloning An Existing Repository</h2><blockquote>
2018
2119
<p>Most fossil operations interact with a repository that is on the
2220
local disk drive, not on a remote system. Hence, before accessing
2321
a remote repository it is necessary to make a local copy of that
2422
repository. Making a local copy of a remote repository is called
2523
--- www/quickstart.wiki
+++ www/quickstart.wiki
@@ -12,13 +12,11 @@
12 <a href="http://www.fossil-scm.org/download.html">precompiled binary</a>
13 or <a href="build.wiki">build it yourself</a> from sources.
14 Install fossil by putting the fossil binary
15 someplace on your PATH environment variable.</p>
16
17 </blockquote>
18 <a name="#fslclone"><h2>Cloning An Existing Repository</h2></a>
19 <blockquote>
20
21 <p>Most fossil operations interact with a repository that is on the
22 local disk drive, not on a remote system. Hence, before accessing
23 a remote repository it is necessary to make a local copy of that
24 repository. Making a local copy of a remote repository is called
25
--- www/quickstart.wiki
+++ www/quickstart.wiki
@@ -12,13 +12,11 @@
12 <a href="http://www.fossil-scm.org/download.html">precompiled binary</a>
13 or <a href="build.wiki">build it yourself</a> from sources.
14 Install fossil by putting the fossil binary
15 someplace on your PATH environment variable.</p>
16
17 </blockquote><h2>Cloning An Existing Repository</h2><blockquote>
 
 
18
19 <p>Most fossil operations interact with a repository that is on the
20 local disk drive, not on a remote system. Hence, before accessing
21 a remote repository it is necessary to make a local copy of that
22 repository. Making a local copy of a remote repository is called
23

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button