exp:ezwebinupgrade
Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.
Summary
Upgrade an existing ezwebin installation to the current package version (--to-version)
Usage
./console exp:ezwebinupgrade [options] php bin/php/ezwebinupgrade.php [options]
Help
The output of ./console help exp:ezwebinupgrade (the script run with --help), without the standard options:
Usage: bin/php/ezwebinupgrade.php [OPTION]...
This script will upgrade ezwebin.
Options:
--to-version=VALUE Specify what upgrade path to use.
available options: '1.2-0' - upgrade 1.1-1 to 1.2-0
'1.3-0' - upgrade 1.2-0 to 1.3-0
'1.4-0' - upgrade 1.3-0 to 1.4-0
--repository=VALUE Path to repository where unpacked(unarchived) packages are
placed. it's relative to 'var/[site.ini].[FileSettings].[StorageDir]/[package.ini].[RepositorySettings].[RepositoryDirectory]'
(default is 'var/storage/packages/ez_systems')
--package=VALUE Package(s) to install, f.e. 'ezwebin_classes'
--package-dir=VALUE Path to directory with packed(ezpkg) packages(default is '/tmp/ezwebin')
--url=VALUE URL to download packages, f.e. 'http://packages.ez.no/Exponential/3.9'.
'package-dir' can be specified to store uploaded packages on local computer.
if 'package-dir' is not specified then default dir('/tmp/ezwebin') will be used.
--auto-mode=VALUE [on/off]. Do not ask what to do in case of confilicts. By default is 'on'Options
| Option | Value | Description |
|---|---|---|
| --to-version | required | Specify what upgrade path to use. available options: '1.2-0' - upgrade 1.1-1 to 1.2-0 '1.3-0' - upgrade 1.2-0 to 1.3-0 '1.4-0' - upgrade 1.3-0 to 1.4-0 |
| --repository | required | Path to repository where unpacked(unarchived) packages are placed. it's relative to 'var/[site.ini].[FileSettings].[StorageDir]/[package.ini].[RepositorySettings].[RepositoryDirectory]' (default is 'var/storage/packages/ez_systems') |
| --package | required | Package(s) to install, f.e. 'ezwebin_classes' |
| --package-dir | required | Path to directory with packed(ezpkg) packages(default is '/tmp/ezwebin') |
| --url | required | URL to download packages, f.e. 'http://packages.ez.no/Exponential/3.9'. 'package-dir' can be specified to store uploaded packages on local computer. if 'package-dir' is not specified then default dir('/tmp/ezwebin') will be used. |
| --auto-mode | required | [on/off]. Do not ask what to do in case of confilicts. By default is 'on' |
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/ezwebinupgrade.php, kernel/private/classes/commands/ezwebinupgrade.php
See also
Generated example: exp:ezwebinupgrade
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment