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>
diff --git a/rel-html.py b/rel-html.py
index 1f446cf..5392849 100755
--- a/rel-html.py
+++ b/rel-html.py
@@ -75,6 +75,15 @@
 
 		self.rel_html_rels = []
 
+		if (self.config.has_option("project", "ignore_signatures")):
+			self.ignore_signatures = self.config.get("project", "ignore_signatures")
+		else:
+			self.ignore_signatures = False
+		if (self.config.has_option("project", "ignore_changelogs")):
+			self.ignore_changelogs = self.config.get("project", "ignore_changelogs")
+		else:
+			self.ignore_changelogs = False
+
 		ver_testing = self.config.get("project", "rel_html_testing_ver")
 		rel_name_testing = self.rel_html_proj + '-' + ver_testing
 		tar_testing = rel_name_testing + ".tar.bz2"
@@ -90,6 +99,7 @@
 				   next_rel = False,
 				   tarball = tar_testing,
 				   tarball_exists = False,
+				   ignore_signature = self.ignore_signatures,
 				   signed_tarball = s_tarball_testing,
 				   signed_tarball_exists = False,
 				   changelog = tmp_changelog_testing,
@@ -125,12 +135,13 @@
 				   next_rel = False,
 				   tarball = tar,
 				   tarball_exists = False,
+				   ignore_signature = self.ignore_signatures,
 				   signed_tarball = s_tarball,
 				   signed_tarball_exists = False,
 				   changelog = tmp_changelog,
 				   changelog_url = '',
 				   changelog_exists = False,
-				   changelog_required = True,
+				   changelog_required = not self.ignore_changelogs,
 				   signed_changelog = tmp_changelog_signed,
 				   signed_changelog_exists = False,
 				   verified = False)
@@ -203,6 +214,7 @@
 						next_rel = True,
 						tarball = tar_next,
 						tarball_exists = True,
+				   		ignore_signature = self.ignore_signatures,
 						signed_tarball = s_tarball_next,
 						signed_tarball_exists = False,
 						changelog = '',
@@ -245,6 +257,7 @@
 						     next_rel = False,
 						     tarball = rel_name + '.tar.bz2',
 						     tarball_exists = True,
+				   		     ignore_signature = self.ignore_signatures,
 						     signed_tarball = rel_name + '.tar.sign',
 						     signed_tarball_exists = False,
 						     changelog = '',
@@ -289,10 +302,11 @@
 				all_verified = False
 				sys.stdout.write('No tarball: %s<br>\n' % r['tarball'])
 				break
-			if (not r['signed_tarball_exists']):
-				all_verified = False
-				sys.stdout.write('No signed tarball: %s<br>\n' % r['signed_tarball'])
-				break
+			if (not r['ignore_signature']):
+				if (not r['signed_tarball_exists']):
+					all_verified = False
+					sys.stdout.write('No signed tarball: %s<br>\n' % r['signed_tarball'])
+					break
 			if (r['changelog_required']):
 				if (not (r['changelog_exists'])):
 					all_verified = False
@@ -418,7 +432,10 @@
 
 			sys.stdout.write('\t\t\t\t<tr>')
 			sys.stdout.write('\t\t\t\t<td><a href="%s">%s</a></td>\n' % (r.get('url'), r.get('rel')))
-			sys.stdout.write('\t\t\t\t<td><a href="%s">signed</a></td>\n' % (r.get('signed_tarball')))
+			if (not r.get('ignore_signature')):
+				sys.stdout.write('\t\t\t\t<td><a href="%s">signed</a></td>\n' % (r.get('signed_tarball')))
+			else:
+				sys.stdout.write('\t\t\t\t<td></td>\n')
 			if (r.get('maintained')):
 				sys.stdout.write('\t\t\t\t<td></td>\n')
 			else:
@@ -451,7 +468,10 @@
 
 			sys.stdout.write('\t\t\t\t<tr>')
 			sys.stdout.write('\t\t\t\t<td><a href="%s">%s</a></td>\n' % (r.get('url'), r.get('rel')))
-			sys.stdout.write('\t\t\t\t<td><a href="%s">signed</a></td>\n' % (r.get('signed_tarball')))
+			if (not r.get('ignore_signature')):
+				sys.stdout.write('\t\t\t\t<td><a href="%s">signed</a></td>\n' % (r.get('signed_tarball')))
+			else:
+				sys.stdout.write('\t\t\t\t<td></td>\n')
 			if (r.get('maintained')):
 				sys.stdout.write('\t\t\t\t<td></td>\n')
 			else: