[PATCH 0 of 3 hg-website] move website toward sources.js

Matt Mackall mpm at selenic.com
Mon Nov 22 12:38:37 CST 2010


On Mon, 2010-11-22 at 09:44 +0100, Adrian Buehlmann wrote:
> On 2010-11-22 04:35, David Champion wrote:
> > * On 21 Nov 2010, David Champion wrote: 
> >>>> http://home.uchicago.edu/dgc/hg/downloads.jpg
> >>>
> >>> I believe the download URLs are sorted in the wrong order.  We want
> >>> lower priority numbered links first.
> >>
> >> I sorted alphabetically because the previous code did.  We can simply
> >> not sort (priority is implied, not explicit, in sources.js, so this
> >> equals sort by priority) but I'm not sure that makes a lot of sense to
> >> an end-user looking at a list of all downloads for all platforms.  It
> > 
> > I'll add that I think sorting by priority,name would make sense if it
> > were possible, but Matt would need to update the sources.js spec to
> > allow that.
> > 
> > If the spec were updated, it might be useful to have the platform
> > included as an explicit field instead of being (presumably)
> > somewhere in the package description.  It would allow sorting by
> > priority,platform,name or platform,priority,name.
> > 
> > With multiple sort keys we also could allow the user to choose the
> > primary sort key. http://macmercurial.bitbucket.org does this reasonably
> > nicely.
> > 
> 
> I recommend to push David Champion's patches as is for now, so we don't
> risk this work is bike shedded to premature death and everyone walks away.

Indeed. I'd like to see us get this system all in place soon. Next
release is next Wednesday.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list