From 9a69a929eced859415a46175d891d547ddfbb3bd Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 23 Feb 2013 18:32:08 -0600 Subject: Accumulated web page changes. (Release announcement for previous release, roadmap updates, etc.) --- scripts/mkstatus.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/mkstatus.py b/scripts/mkstatus.py index 51adc2cd..ec225ed4 100755 --- a/scripts/mkstatus.py +++ b/scripts/mkstatus.py @@ -1,5 +1,7 @@ #!/usr/bin/python +# Create status.html + import subprocess,sys def readit(args): @@ -32,6 +34,8 @@ for i in toystuff: pending=[] done=[] +print "all commands=%s" % len(reverse) + outfile=open("www/status.gen", "w") outfile.write("

All commands

\n") @@ -42,11 +46,14 @@ for i in blah: if "posix" in reverse[i]: out='[%s]' % (i,out) elif "lsb" in reverse[i]: out='<%s>' % (i,out) elif "development" in reverse[i]: out='(%s)' % (i,out) - elif "request" in reverse[i]: out='%s' % (i,out) elif "toolbox" in reverse[i]: out='{%s}' % out + elif "klibc_cmd" in reverse[i]: out='=%s=' % out + elif "sash_cmd" in reverse[i]: out='#%s#' % out + elif "sbase_cmd" in reverse[i]: out='@%s@' % out + elif "beastiebox_cmd" in reverse[i]: out='*%s*' % out + elif "request" in reverse[i]: out='+%s+' % (i,out) elif "ready" in reverse[i]: pass else: sys.stderr.write("unknown %s %s\n" % (i, reverse[i])) - if "ready" in reverse[i] or "pending" in reverse[i]: done.append(out) out='%s' % out @@ -54,6 +61,7 @@ for i in blah: outfile.write(out+"\n") +print "done=%s" % len(done) outfile.write("

\n") outfile.write("

TODO

%s

\n" % "\n".join(pending)) -- cgit v1.2.3