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

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



Hi,

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…

KiBi.
--- 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(),

Attachment: signature.asc
Description: Digital signature


Reply to: