Wrapper of the x2t test utility
For local startup in developer mode,
recommended installing a local bundle config
file.
bundle config set --local with development
Afterwards install the dependencies with the bundle.
bundle install
The x2ttester run uses fonts from a private repository.
You can install them as a member
of ONLYOFFICE-QA
and must have ssh
access to the repository set up.
git submodule update --init --recursive
version
- version the core. Example:7.3.0.27
cores
- num cores to useerrors_only
- reports only errors (value:true\false
)delete
- is delete successful conversions files (value:true\false
)timestamp
- timestamp in report file name (value:true\false
)input_dir
- path to the folder with the documents to be converted. By default:./documents/
output_dir
- path to the folder with the resulting files. By default:./tmp/
files_array
- file names for selective conversioncore_host_url
- Host address with OnlyOffice core files. Example https://s3.eu-west-1.amazonaws.com
Example:
{
"version": "7.3.0.27",
"cores": "4",
"errors_only": "false",
"delete": "true",
"timestamp": "true",
"input_dir": "./documents/",
"output_dir": "./output_dir/",
"files_array": []
"core_host_url": "https://s3.eu-west-1.amazonaws.com"
}
rake download_core
rake convert[input_format,output_format]
rake convert_array[input_format,output_format]
Flags:
input_format
- (non-required) input extensions of files (default - all possible input extensions)output_format
- (non-required) output extensions of files (default - all possible output extensions)
rake convert
This software uses the following open source packages: