linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rel-html: HTML5 release page for compat-drivers, maybe kernel.org and others
@ 2013-01-11  2:37 Luis R. Rodriguez
  2013-01-12  1:44 ` Luis R. Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Luis R. Rodriguez @ 2013-01-11  2:37 UTC (permalink / raw)
  To: Konstantin Ryabitsev, backports; +Cc: linux-kernel, Greg Kroah-Hartman

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rel-html: HTML5 release page for compat-drivers, maybe kernel.org and others
  2013-01-11  2:37 rel-html: HTML5 release page for compat-drivers, maybe kernel.org and others Luis R. Rodriguez
@ 2013-01-12  1:44 ` Luis R. Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2013-01-12  1:44 UTC (permalink / raw)
  To: Konstantin Ryabitsev, backports; +Cc: linux-kernel, Greg Kroah-Hartman

On Thu, Jan 10, 2013 at 6:37 PM, Luis R. Rodriguez
<mcgrof@do-not-panic.com> wrote:
> 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].
>
> [0] https://github.com/mcgrof/rel-html

Example release pages:

  * http://drvbp1.linux-foundation.org/~mcgrof/rel-html/linux/
  * http://drvbp1.linux-foundation.org/~mcgrof/rel-html/compat-drivers/
  * http://drvbp1.linux-foundation.org/~mcgrof/rel-html/iw/
  * http://drvbp1.linux-foundation.org/~mcgrof/rel-html/crda/
  * http://drvbp1.linux-foundation.org/~mcgrof/rel-html/hostapd/

Now with full paths for the URLs instead of relative.

  Luis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-12  1:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-11  2:37 rel-html: HTML5 release page for compat-drivers, maybe kernel.org and others Luis R. Rodriguez
2013-01-12  1:44 ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).