[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please sort architectures on https://buildd.debian.org/



Cyril,

am Mon, Feb 07, 2011 at 01:28:19AM +0100 hast du folgendes geschrieben:
> currently, kfreebsd-amd64 appears in the first column of the “Build
> states” table on https://buildd.debian.org/
> 
> I guess the attached patch would fix it.
> 
> Sorting distributions would probably be a bit trickier, since it's not
> just about alphabetical sorting…

the distributions are supposed to be sorted according to sort_order in the
database.  (Which works, but the sort_order isn't too great atm.)

> --- a/web/index.cgi
> +++ b/web/index.cgi
> @@ -26,7 +26,7 @@
>  
>      entries = db.get_lastlog()
>      distributions = db.distributions
> -    architectures = db.architectures
> +    architectures = sorted(db.architectures)
>  
>      tpl = Template(filename='index.mako')
>      print tpl.render(entries=db.get_lastlog(),

I did it in the lib now.  Thanks.

Kind regards
Philipp Kern

Attachment: signature.asc
Description: Digital signature


Reply to: