website: prepare for 0.9 binaries and release

Addresses #538

Change-Id: I695f5b8d910cdea1d01f7efadaf2454c1a07ad0f
This commit is contained in:
mpl 2015-09-02 16:25:07 +02:00
parent 467aa73750
commit 32228e451e
4 changed files with 49 additions and 7 deletions

View File

@ -404,6 +404,7 @@ func main() {
mux.HandleFunc(errPattern, errHandler)
mux.HandleFunc("/r/", gerritRedirect)
mux.HandleFunc("/dl/", releaseRedirect)
mux.HandleFunc("/debugz/ip", ipHandler)
mux.Handle("/docs/contributing", redirTo("/code#contributing"))
mux.Handle("/lists", redirTo("/community"))
@ -528,6 +529,14 @@ func gerritRedirect(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, dest, http.StatusFound)
}
func releaseRedirect(w http.ResponseWriter, r *http.Request) {
dest := "https://storage.googleapis.com/camlistore-release/"
if len(r.URL.Path) > len("/dl/") {
dest += r.URL.Path[1:]
}
http.Redirect(w, r, dest, http.StatusFound)
}
func redirTo(dest string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, dest, http.StatusFound)

View File

@ -1,4 +1,6 @@
<h1>Release 0.9 ("?")</h1>
<p><b>2015-??-??</b></p>
<p>
For this release we have mainly focused on making Camlistore run on remote servers, in particular the Google Cloud infrastructure. This goal involved a lot work just to adapt to this particular environment, but it also relies on many improvements to make it a good user experience, and most notably on two major features: the blobpacked blobserver, and HTTP/2.
@ -14,9 +16,31 @@ The HTTP/2 server Go implementation is not yet in the standard library, but it i
In a related vein, we have worked on a launcher, to facilitate Camlistore deployment on cloud infrastructures, again with a focus on Google Cloud for now. Try it out at <a href="https://camlistore.org/launch">https://camlistore.org/launch</a>!
</p>
<!-- release links here, CL https://camlistore-review.googlesource.com/5229 -->
<p>
Finally, in addition to the usual source tarball and github repo:
</p>
<p>Please note that <a href="https://golang.org/dl/">Go 1.4 or newer</a> is now required for this release.</p>
<center>
<div style='font-size:18pt;font-weight:bold;'>
<a href="https://github.com/camlistore/camlistore/archive/0.9.zip">camlistore0.9-src.zip</a>
</div>
<div style='margin-top:0.5em;'>
Github: <a href="https://github.com/camlistore/camlistore/tree/0.9">github.com/camlistore/camlistore/tree/0.9</a></div>
</center>
<p>
we now have binary downloads:
</p>
<center>
<div style='font-size:18pt;font-weight:bold;'>
<p><a href="/dl/0.9/camlistore0.9-linux.tar.gz">camlistore0.9-linux.tar.gz</a></p>
<p><a href="/dl/0.9/camlistore0.9-osx.tar.gz">camlistore0.9-osx.tar.gz</a></p>
<p><a href="/dl/0.9/camlistore0.9-windows.zip">camlistore0.9-windows.zip</a></p>
</div>
</center>
<p>Please note that <a href="https://golang.org/dl/">Go 1.5 or newer</a> is now required for this release.</p>
<h2>Release stats</h2>
<!--

View File

@ -1,8 +1,18 @@
<h1>Download Camlistore</h1>
<p>The latest release is <a href="/docs/release/0.8">0.8 ("Tokyo")</a>.</p>
<p>The latest release is <a href="/docs/release/0.9">0.9 ("?")</a>.</p>
<p>Or, the canonical git repo is:</p>
<h2>Binary releases</h2>
<ul>
<li><a href="/dl/0.9/camlistore0.9-linux.tar.gz">camlistore0.9-linux.tar.gz</a></li>
<li><a href="/dl/0.9/camlistore0.9-osx.tar.gz">camlistore0.9-osx.tar.gz</a></li>
<li><a href="/dl/0.9/camlistore0.9-osx.tar.gz">camlistore0.9-windows.zip</a></li>
</ul>
<h2>Source code</h2>
<p>The canonical git repo is:</p>
<pre>$ git clone https://camlistore.googlesource.com/camlistore</pre>
<p><a href="http://golang.org/doc/install">Download and install Go</a> if you don't have that installed already. Camlistore requires <a href="https://golang.org/dl/">Go 1.3 or newer</a>.</p>
@ -11,8 +21,6 @@
<pre>$ go run make.go</pre>
<p>Eventually we'll distribute binary releases, but for now you should build it yourself.</p>
<h2>Getting started</h2>
<p>Once you've successfully built the Camlistore components, you can run the server with:</p>
@ -28,6 +36,7 @@
<p>Previous release notes:</p>
<ul>
<li><a href="/docs/release/0.9">0.9 ("?")</a>, 2015-??-??</li>
<li><a href="/docs/release/0.8">0.8 ("Tokyo")</a>, 2014-08-03</li>
<li><a href="/docs/release/0.7">0.7 ("Brussels")</a>, 2014-02-27</li>
<li><a href="/docs/release/0.6">0.6 ("Cannon Beach")</a>, 2013-12-25</li>

View File

@ -17,7 +17,7 @@
<h2>Latest Release</h2>
<p>The latest release is <a href="docs/release/0.8">0.8 ("Tokyo")</a>, released 2014-08-03.</p>
<p>The latest release is <a href="docs/release/0.9">0.9 ("?")</a>, released 2015-??-??.</p>
<p>Follow the <a href="/download">download and getting started instructions</a> to set up Camlistore.</p>
<h2>Video Demo</h2>