exp:expmigrationpush
Push the migration runs whose push failed (push state pending) to the remote of the migrations repository; a dry run unless --apply.
Script bin/php/expmigrationpush.php, code in kernel/private/classes/commands/expmigrationpush.php. Run it from the installation root, as the user the web server runs as:
./console exp:expmigrationpush --help
./console exp:migration:push --help
php bin/php/expmigrationpush.php --helpHelp text
Push the migration runs that wait
A run whose push failed keeps its commit and tag in the local migrations repository and the push
state pending; the cronjob part migrationpush pushes them again, and so does this command. Without
--apply it lists the runs that wait. The branch and the tags go to [RepositorySettings] Remote, oldest
run first; each run's push state is recorded.
./console exp:migration:push
./console exp:migration:push --applyOptions
| Option | Value | Help |
|---|---|---|
--apply | Make the changes (the default is a dry run that lists them and changes nothing) | |
--dry-run | The default, accepted for scripts that pass it: list what would change, change nothing | |
--format | required | text (default) or json (the machine output exp-migration/1) |
--limit | required | Push at most this many runs (default 20) |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/expmigrationpush.php, kernel/private/classes/commands/expmigrationpush.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.