lkml.org 
[lkml]   [2013]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectrel-html: HTML5 release page for compat-drivers, maybe kernel.org and others
The last step from the compat-wireless --> compat-drivers name change
was to produce a release page for it. I was asked to see if I could
come up with something generic that perhaps could be used by other
projects. I've created a Python release script called rel-html [0] to
generate a simple HTML5 page based on the initializr project for a
base HTML5 template [0]. It currently supports generating new shiny
simple HTML5 pages for compat-drivers and kernel.org. Whether or not
its used for other projects is obviously an option for each project to
choose but hope its simple enough for others to embrace if they so
wish.

It works by allowing a project to add a simple configuration file and
a few hints on where to find releases.

Example for kernel.org:

https://raw.github.com/mcgrof/rel-html/master/rel-html.cfg

Example for compat-drivers:

https://raw.github.com/mcgrof/rel-html/master/projects/compat-drivers.cfg

It currently relies on both the kernel.org and compat-drivers release
model and only refers to releases if each release has respective
ChangeLog and a signature file. Testing releases do not require
ChangeLogs. Right now it does require manual configuration file
updates if a new release is made but to figure out a way to make it
autodetect the latest release is something I'd prefer address with the
community.

To generate a page and see what it spits out you can run and point
your browser to the index.html file:

# For kernel.org:
mcgrof@frijol ~/devel/rel-html (git::master)$ ./rel-html.py > html/index.html

# For compat-drivers:
mcgrof@frijol ~/devel/rel-html (git::master)$ ./rel-html.py -f
projects/compat-drivers.cfg > html/index.html

Konstantin, let me know if this works for a compat-driver release
page. I also welcome feedback from others for considerations for other
projects and of course I welcome patches.

[0] https://github.com/mcgrof/rel-html
[1] http://www.initializr.com/

Luis


\
 
 \ /
  Last update: 2013-01-11 04:21    [W:0.029 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site