--- a/sbin/sync/config.py.tmpl Mon Oct 08 19:24:10 2012 +0200
+++ b/sbin/sync/config.py.tmpl Mon Oct 08 19:41:11 2012 +0200
@@ -8,6 +8,7 @@
env.base_export_path = "<local path used to export hg version>"
env.export_prefix = "theend"
env.remote_web_path = "<path of website root folder on the server>"
+env.remote_src_path = "<path of website python src folder on the server>"
env.platform_web_module = "theend"
env.remote_virtualenv_path = "<path of the virtualenv on the server>"
env.remote_venv_export_path = "<path for temporary export path of virtualenv resources>"
@@ -16,16 +17,22 @@
"+ core",
"P .htpasswd",
"P .htaccess",
- "P theend/.htaccess",
- "P theend/config.py",
- "P theend/modwsgi.wsgi",
"P robots.txt",
"P env/***",
"P log/***",
"P index/***",
- "P static/media/***",
+ "P static/media/***",
"P crossdomain.xml",
]
+env.src_rsync_filters = [
+ "+ core",
+ "P theend/.htaccess",
+ "P theend/config.py",
+ "P theend/modwsgi.wsgi",
+ "P log/***",
+ "P index/***",
+]
+
env.venv_rsync_filters = [
"+ core",
]