rel-html: add support to ignore signatures and changelogs

Not all projects are as adamant to require ChangeLogs and
signature files to releases. While very unfortunate, lets
allow such projects to still be able to use this utility.
This allows projects to ignore requiring signature files
and changelogs by specifing in their configuration:

[project]
ignore_signatures       = True
ignore_changelogs       = True

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
rel-html: add new project iw configuration file

This adds support for an iw release page as it has
none right now. Example release page:

http://drvbp1.linux-foundation.org/~mcgrof/rel-html/iw/

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
rel-html: add support for projects without testing releases

Unfortunately not all projects have testing releases, add
support for these by allowing the project "rel_html_testing_ver"
variable to remain empty.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
rel-html: add new project crda configuration file

This adds support for a crda release page as it has
none right now. Example release page:

http://drvbp1.linux-foundation.org/~mcgrof/rel-html/crda/

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
rel-html: fix release mod signature checks

The signed files for releases should be the tarballs
and not the compressed files themselves. This follows
the kernel.org release model by which a file uploader
is used to upload the tarball alone and the compression
is later done by the file uploader on the server side
once the tarball alone as been verified.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
rel-html: add support for specifying the release extension

Most projects today use tar.bz2 files for releases. There
are excemptions to this though, for example, tar.gz. Add
support for specifying your release extension preference
through a project configuration file as follows:

[project]
release_extension	= tar.gz

If this is left unset rel-html will assume tar.bz2 is
preferred.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
rel-html: add new project hostapd configuration file

This adds support for a hostapd release page. There
is one but this is shinier.

Example release page:

http://drvbp1.linux-foundation.org/~mcgrof/rel-html/hostapd/

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
rel-html: use urlib2

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
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>
rel-html: fix mod stable release processing

In the previous commit we modified the way we
process links so that we do so one at a time.
Fix this by making the code easier to read by
addressing processing href tags separately:

  * next releases
  * mod releases
  * evaluate if href belongs to an existing release

Only after all this do we try to validate the
releases.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>