[tor-commits] [depictor/master] Do not gzip the historical output pages of consensus-health.

tom at torproject.org tom at torproject.org
Mon Feb 29 00:09:45 UTC 2016


commit 7ee901afc20da1e1d5216fb84f37ad837d4a069e
Author: Tom Ritter <tom at ritter.vg>
Date:   Sun Feb 28 18:09:26 2016 -0600

    Do not gzip the historical output pages of consensus-health.
    
    We never configured Apache to handle this, and this will just use more disk space but make the pages accessible.
---
 write_website.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/write_website.py b/write_website.py
index a160e54..d998be1 100755
--- a/write_website.py
+++ b/write_website.py
@@ -80,8 +80,9 @@ def main():
 	archived = os.path.join(os.path.dirname(__file__), 'out', \
 				'consensus-health-' + consensus_time.strftime("%Y-%m-%d-%H-%M") + '.html')
 	subprocess.call(["cp", os.path.join(os.path.dirname(__file__), 'out', 'consensus-health.html'), archived])
-	subprocess.call(["gzip", "-9", archived])
-	subprocess.call(["ln", "-s", archived + ".gz", archived])
+	#Do not gzip anymore, as Apache is not configured for it.
+	#subprocess.call(["gzip", "-9", archived])
+	#subprocess.call(["ln", "-s", archived + ".gz", archived])
 
 	# remove old files
 	weeks_to_keep = 3



More information about the tor-commits mailing list