Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:expmigrationpush

Push the migration runs whose push failed (push state pending) to the remote of the migrations repository; a dry run unless --apply.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/commands/expmigrationpush.md

On this page

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 --help

Help 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 --apply

Options

OptionValueHelp
--applyMake the changes (the default is a dry run that lists them and changes nothing)
--dry-runThe default, accepted for scripts that pass it: list what would change, change nothing
--formatrequiredtext (default) or json (the machine output exp-migration/1)
--limitrequiredPush 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 ...).


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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x