Skip to the content
Documentation

exp:expmigrationpush

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

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

Usage

./console exp:expmigrationpush [options]
php bin/php/expmigrationpush.php [options]
./console exp:migration:push [options]

Aliases

exp:migration:push

Help

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

Usage: bin/php/expmigrationpush.php [OPTION]...
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:
  --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=VALUE  text (default) or json (the machine output exp-migration/1)
  --limit=VALUE   Push at most this many runs (default 20)

Options

Option Value Description
--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)

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/expmigrationpush.php, kernel/private/classes/commands/expmigrationpush.php

See also

Generated example: exp:expmigrationpush

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.