Skip to the content
Documentation

exp:ezflowupgrade

No ratings yet

Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.

Summary

Upgrade the installed ezflow packages (--to-version, --package, --url)

Usage

./console exp:ezflowupgrade [options]
php bin/php/ezflowupgrade.php [options]

Help

The output of ./console help exp:ezflowupgrade (the script run with --help), without the standard options:

Usage: bin/php/ezflowupgrade.php [OPTION]...

This script will upgrade eZ Flow.

Example: ./bin/php/ezflowupgrade.php --to-version=1.1-0


Options:
  --to-version=VALUE   Specify what upgrade path to use. 
                          available options: '1.1-0' - upgrade 1.0-0 to 1.1-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. 'ezflow_classes'
  --package-dir=VALUE  Path to directory with packed(ezpkg) packages(default is '/tmp/ezflow') 
  --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/ezflow') 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.1-0' - upgrade 1.0-0 to 1.1-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. 'ezflow_classes'
--package-dir required Path to directory with packed(ezpkg) packages(default is '/tmp/ezflow')
--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/ezflow') 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/ezflowupgrade.php, kernel/private/classes/commands/ezflowupgrade.php

See also

Generated example: exp:ezflowupgrade

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.