Fossil SCM
Documentation updates. Add a nice header to the "Download" page.
Commit
db70c415ab35086afc4acae0add6b20e356c5aa3
Parent
da4363308c15896…
2 files changed
+26
-11
+1
-3
+26
-11
| --- www/mkdownload.tcl | ||
| +++ www/mkdownload.tcl | ||
| @@ -4,31 +4,41 @@ | ||
| 4 | 4 | # |
| 5 | 5 | # |
| 6 | 6 | puts \ |
| 7 | 7 | {<html> |
| 8 | 8 | <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"> | |
| 10 | 12 | </head> |
| 11 | 13 | <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> | |
| 13 | 23 | |
| 14 | 24 | <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>. | |
| 20 | 30 | </p> |
| 21 | 31 | |
| 22 | 32 | <table cellpadding="5"> |
| 23 | 33 | } |
| 24 | 34 | |
| 25 | 35 | proc Product {pattern desc} { |
| 26 | 36 | set flist [glob -nocomplain download/$pattern] |
| 27 | 37 | foreach file [lsort -dict $flist] { |
| 28 | 38 | 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 | |
| 30 | 40 | set mtime [file mtime download/$file] |
| 31 | 41 | set date [clock format $mtime -format {%Y-%m-%d %H:%M:%S UTC} -gmt 1] |
| 32 | 42 | set size [file size download/$file] |
| 33 | 43 | set units bytes |
| 34 | 44 | if {$size>1024*1024} { |
| @@ -46,20 +56,25 @@ | ||
| 46 | 56 | puts "<td valign=\"top\">[string trim $d2].<br>Size: $size $units.<br>" |
| 47 | 57 | puts "Created: $date</td></tr>" |
| 48 | 58 | } |
| 49 | 59 | } |
| 50 | 60 | |
| 51 | -Product fossil-linux-x86-*.gz { | |
| 61 | +Product fossil-linux-x86-*.zip { | |
| 52 | 62 | Prebuilt fossil binary version [VERSION] for Linux on x86 |
| 53 | 63 | } |
| 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 { | |
| 55 | 68 | Prebuilt fossil binary version [VERSION] for MacOSX on x86 |
| 56 | 69 | } |
| 57 | 70 | Product fossil-w32-*.zip { |
| 58 | 71 | Prebuilt fossil binary version [VERSION] for windows |
| 59 | 72 | } |
| 60 | - | |
| 73 | +Product fossil-src-*.tar.gz { | |
| 74 | + Source code tarball for fossil version [VERSION] | |
| 75 | +} | |
| 61 | 76 | |
| 62 | 77 | puts {</table> |
| 63 | 78 | </body> |
| 64 | 79 | </html> |
| 65 | 80 | } |
| 66 | 81 |
| --- 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 |
+1
-3
| --- www/quickstart.wiki | ||
| +++ www/quickstart.wiki | ||
| @@ -12,13 +12,11 @@ | ||
| 12 | 12 | <a href="http://www.fossil-scm.org/download.html">precompiled binary</a> |
| 13 | 13 | or <a href="build.wiki">build it yourself</a> from sources. |
| 14 | 14 | Install fossil by putting the fossil binary |
| 15 | 15 | someplace on your PATH environment variable.</p> |
| 16 | 16 | |
| 17 | - </blockquote> | |
| 18 | - <a name="#fslclone"><h2>Cloning An Existing Repository</h2></a> | |
| 19 | - <blockquote> | |
| 17 | +</blockquote><h2>Cloning An Existing Repository</h2><blockquote> | |
| 20 | 18 | |
| 21 | 19 | <p>Most fossil operations interact with a repository that is on the |
| 22 | 20 | local disk drive, not on a remote system. Hence, before accessing |
| 23 | 21 | a remote repository it is necessary to make a local copy of that |
| 24 | 22 | repository. Making a local copy of a remote repository is called |
| 25 | 23 |
| --- 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 |