changeset 8614:43d9615facc6

ini: move archive_cache_dir to the data directory Give less data locations to care about.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 17 Aug 2020 14:59:07 +0200
parents 0765771dbe5a
children 659ecd26002c
files .hgignore development.ini kallithea/lib/paster_commands/template.ini.mako
diffstat 3 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Thu Aug 13 15:24:35 2020 +0200
+++ b/.hgignore	Mon Aug 17 14:59:07 2020 +0200
@@ -10,7 +10,6 @@
 *.rej
 *.bak
 .eggs/
-tarballcache/
 
 syntax: regexp
 ^rcextensions
--- a/development.ini	Thu Aug 13 15:24:35 2020 +0200
+++ b/development.ini	Mon Aug 17 14:59:07 2020 +0200
@@ -102,7 +102,7 @@
 index_dir = %(here)s/data/index
 
 ## uncomment and set this path to use archive download cache
-archive_cache_dir = %(here)s/tarballcache
+archive_cache_dir = %(here)s/data/tarballcache
 
 ## change this to unique ID for security
 #app_instance_uuid = VERY-SECRET
--- a/kallithea/lib/paster_commands/template.ini.mako	Thu Aug 13 15:24:35 2020 +0200
+++ b/kallithea/lib/paster_commands/template.ini.mako	Mon Aug 17 14:59:07 2020 +0200
@@ -166,7 +166,7 @@
 index_dir = %(here)s/data/index
 
 <%text>##</%text> uncomment and set this path to use archive download cache
-archive_cache_dir = %(here)s/tarballcache
+archive_cache_dir = %(here)s/data/tarballcache
 
 <%text>##</%text> change this to unique ID for security
 app_instance_uuid = ${uuid()}