[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 7ee901afc20da1e1d5216fb84f37ad837d4a069e
Author: Tom Ritter <tom@xxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits