misc/migration/3.4.0_common.py
author Julien Jehannet <julien.jehannet@logilab.fr>
Wed, 07 Sep 2011 11:37:41 +0200
branchstable
changeset 7767 07c74f5585d1
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
[debian] build the book with no auto-compression of book files (closes: #1906581) Book content paths (html and rest) are now excluded from Debian compression step. This will fix a documentation search issue on the website (doc.cubicweb.org) Documentation build is now made optional since it can break for old distributions and we don't want to block a new release of Cubicweb because of documentation issues.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2489
37a747ad6fd4 #344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2478
diff changeset
     1
from os.path import join
37a747ad6fd4 #344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2478
diff changeset
     2
from cubicweb.toolsutils import create_dir
37a747ad6fd4 #344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2478
diff changeset
     3
2478
2c2d7f03aead migrate option
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
option_renamed('pyro-application-id', 'pyro-instance-id')
2489
37a747ad6fd4 #344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2478
diff changeset
     5
37a747ad6fd4 #344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2478
diff changeset
     6
create_dir(join(config.appdatahome, 'backup'))