[PATCH 0 of 1 hg-website] using sources.js, part 2
David Champion
dgc at uchicago.edu
Fri Nov 26 15:30:57 UTC 2010
* On 23 Nov 2010, David Champion wrote:
> Yesterday David pushed my patches to uses sources.js, but right away
> noticed a flaw in the design: on the /downloads page it displays a table
> with the current Mercurial version in the <thead>, then lists all packages
> from sources.js without regard to what version they are. So you can get
> a table like this (for example right after a new release):
>
> Mercurial 1.7.2
> -----------------------------------------------
> Mercurial 1.7.1 for Mac OS X 1.5 download
> Mercurial 1.7.1 for Mac OS X 1.6 download
> Mercurial source release 1.7.2 download
> TortoiseHG 1.7.1, x64 download
> TortoiseHG 1.7.1, x86 download
>
> I put together some changes to address this. I'm not sure this is the
> visual/interactive result we want, so here are URLs to a demo instance
> and the repository I developed in. Patches included below.
>
> http://hg-website.bikeshed.us/
> http://hg-website.bikeshed.us/hg/
>
> Obviously I'm using a partially fictional source.js for this demo.
I have nothing further to add to this, if it passes muster for you and
nobody else has comments. If any issues do come up I'll stand by to
address them though.
Adrian was kind enough to test the previous iteration of this code on
a few different platforms (mainly various Windows browsers). If he or
someone else could do that again, it might catch unforeseen problems in
the new Javascript. I'll leave the demo site above up until a decision
is reached.
--
David Champion * dgc at uchicago.edu * IT Services * University of Chicago
More information about the Mercurial-devel
mailing list