rel-html: use absolute paths for files

This modifies rel-html to keep a cache of the
currently processed URL on the HTML parser. This
url is then used to prefix the url provided for
the tarball, the signature file and the ChangeLog
if they exist and we require to print them.

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/

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
1 file changed
tree: 3c2a110a9b8facfec6ee44e9e43f9b7902546237
  1. html/
  2. projects/
  3. agpl-3.0.txt
  4. CONTRIBUTING
  5. LICENSE
  6. README.md
  7. rel-html.cfg
  8. rel-html.py
README.md

rel-html

rel-html is designed to parse naked index html pages with tarballs on a software project and automatically produce a nice shiny HTML5 release page for you. It takes as input a configuration file, rel-html.cfg, in which you can specify attributes for the release.

TODO

  • Figure out how to automatically determine releases from git.

    • If we have many stable releases how should we annotate this via git ?
  • See if we can copy the EOL release into an eol/ directory and moving forward instead of parsing the tags use the directory name to automatically determine other release attributes.