[PATCH 0 of 1 hg-website] using sources.js, part 2
David Champion
dgc at uchicago.edu
Tue Nov 23 17:16:34 UTC 2010
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.
--
David Champion * dgc at uchicago.edu * IT Services * University of Chicago
More information about the Mercurial-devel
mailing list