The local configuration file should be located at $HOME/.nuxeo-drive/config.ini
. If it does not exist, you can simply create it.
Configuration File
The format of the config.ini
file is as following:
[DEFAULT]
env = custom
[no-updates]
; Unused section
update-check-delay = 0
[custom]
ca_bundle = C:\certificates\terena-ssl.crt
debug = False
feature.auto-update = true
log-level-file = DEBUG
ignored_suffixes =
.bak
.tmp
.XXX
The env
option from the [DEFAULT]
section defines in which section looking for options.
Here, options defined in the [custom]
section will be taken into account.
Interpolation
If you are using special characters in values like:
ca_bundle = %userprofile%\.certificates
You may end up on such error:
configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%userprofile%/.certificates'
This is a special processing done by the configuration parser named values interpolation.
In that case, just double the percent sign:
ca_bundle = %%userprofile%%\.certificates