misc/migration/3.4.0_common.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 13 Sep 2011 17:42:22 +0200
branchstable
changeset 7787 d9607ae447d2
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
[server] portable dump format supports now ZIP64 extensions by default (closes #1912535) ZIP files can use the ZIP64 extensions when the zipfile is larger than 2 GB. zipfile will raise an exception when the ZIP file would require ZIP64 extensions. Note: ZIP64 extensions are disabled by default in stdlib because the default zip and unzip commands on Unix (the InfoZIP utilities) don’t support these extensions.
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'))