├── .gitattributes ├── .github └── workflows │ └── docker.yml ├── .gitignore ├── .php-cs-fixer.dist.php ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bin ├── craft-copy-env.php └── craft-copy-import-db.php ├── composer.json ├── docker ├── Dockerfile ├── Makefile └── entrypoint.sh ├── phpstan.neon ├── rector.php ├── resources ├── craft-copy-code-up.gif └── craft-copy-db-up.gif └── src ├── .gitignore.example ├── .my.cnf.example ├── Actions ├── AllDownAction.php ├── AllUpAction.php ├── CodeDownAction.php ├── CodeUpAction.php ├── DbDownAction.php ├── DbExportAction.php ├── DbImportAction.php ├── DbUpAction.php ├── FolderDownAction.php ├── FolderUpAction.php ├── NitroDebugAction.php ├── NitroSetupAction.php ├── SetupAction.php ├── StageAwareBaseAction.php ├── VolumesDownAction.php └── VolumesUpAction.php ├── EventHandlers ├── CommandOutputFormatHandler.php └── IgnoredBackupTablesHandler.php ├── Exceptions ├── CraftNotInstalledException.php ├── GitException.php ├── PluginNotInstalledException.php ├── RemoteException.php ├── StageConfigNotFoundException.php └── VolumeNotFound.php ├── Helpers ├── ArtisanStyleCommands.php ├── ConsoleOutputHelper.php ├── DeployHooksHelper.php ├── MysqlConfigFile.php └── PathHelper.php ├── Models └── StageConfig.php ├── Plugin.php ├── Services ├── Database.php ├── Git.php ├── Git │ ├── Client.php │ ├── GitCommand.php │ └── GitonomyClient.php ├── LocalFilesystem.php ├── Rsync.php ├── Ssh.php └── StageConfigAccess.php ├── fortrabbit.example.yaml └── templates └── nitro-craft.sh.twig /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/.github/workflows/docker.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/.gitignore -------------------------------------------------------------------------------- /.php-cs-fixer.dist.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/.php-cs-fixer.dist.php -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/README.md -------------------------------------------------------------------------------- /bin/craft-copy-env.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/bin/craft-copy-env.php -------------------------------------------------------------------------------- /bin/craft-copy-import-db.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/bin/craft-copy-import-db.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/composer.json -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/docker/Makefile -------------------------------------------------------------------------------- /docker/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/docker/entrypoint.sh -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/phpstan.neon -------------------------------------------------------------------------------- /rector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/rector.php -------------------------------------------------------------------------------- /resources/craft-copy-code-up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/resources/craft-copy-code-up.gif -------------------------------------------------------------------------------- /resources/craft-copy-db-up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/resources/craft-copy-db-up.gif -------------------------------------------------------------------------------- /src/.gitignore.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/.gitignore.example -------------------------------------------------------------------------------- /src/.my.cnf.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/.my.cnf.example -------------------------------------------------------------------------------- /src/Actions/AllDownAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/AllDownAction.php -------------------------------------------------------------------------------- /src/Actions/AllUpAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/AllUpAction.php -------------------------------------------------------------------------------- /src/Actions/CodeDownAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/CodeDownAction.php -------------------------------------------------------------------------------- /src/Actions/CodeUpAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/CodeUpAction.php -------------------------------------------------------------------------------- /src/Actions/DbDownAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/DbDownAction.php -------------------------------------------------------------------------------- /src/Actions/DbExportAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/DbExportAction.php -------------------------------------------------------------------------------- /src/Actions/DbImportAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/DbImportAction.php -------------------------------------------------------------------------------- /src/Actions/DbUpAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/DbUpAction.php -------------------------------------------------------------------------------- /src/Actions/FolderDownAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/FolderDownAction.php -------------------------------------------------------------------------------- /src/Actions/FolderUpAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/FolderUpAction.php -------------------------------------------------------------------------------- /src/Actions/NitroDebugAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/NitroDebugAction.php -------------------------------------------------------------------------------- /src/Actions/NitroSetupAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/NitroSetupAction.php -------------------------------------------------------------------------------- /src/Actions/SetupAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/SetupAction.php -------------------------------------------------------------------------------- /src/Actions/StageAwareBaseAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/StageAwareBaseAction.php -------------------------------------------------------------------------------- /src/Actions/VolumesDownAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/VolumesDownAction.php -------------------------------------------------------------------------------- /src/Actions/VolumesUpAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Actions/VolumesUpAction.php -------------------------------------------------------------------------------- /src/EventHandlers/CommandOutputFormatHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/EventHandlers/CommandOutputFormatHandler.php -------------------------------------------------------------------------------- /src/EventHandlers/IgnoredBackupTablesHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/EventHandlers/IgnoredBackupTablesHandler.php -------------------------------------------------------------------------------- /src/Exceptions/CraftNotInstalledException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Exceptions/CraftNotInstalledException.php -------------------------------------------------------------------------------- /src/Exceptions/GitException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Exceptions/GitException.php -------------------------------------------------------------------------------- /src/Exceptions/PluginNotInstalledException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Exceptions/PluginNotInstalledException.php -------------------------------------------------------------------------------- /src/Exceptions/RemoteException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Exceptions/RemoteException.php -------------------------------------------------------------------------------- /src/Exceptions/StageConfigNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Exceptions/StageConfigNotFoundException.php -------------------------------------------------------------------------------- /src/Exceptions/VolumeNotFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Exceptions/VolumeNotFound.php -------------------------------------------------------------------------------- /src/Helpers/ArtisanStyleCommands.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Helpers/ArtisanStyleCommands.php -------------------------------------------------------------------------------- /src/Helpers/ConsoleOutputHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Helpers/ConsoleOutputHelper.php -------------------------------------------------------------------------------- /src/Helpers/DeployHooksHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Helpers/DeployHooksHelper.php -------------------------------------------------------------------------------- /src/Helpers/MysqlConfigFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Helpers/MysqlConfigFile.php -------------------------------------------------------------------------------- /src/Helpers/PathHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Helpers/PathHelper.php -------------------------------------------------------------------------------- /src/Models/StageConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Models/StageConfig.php -------------------------------------------------------------------------------- /src/Plugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Plugin.php -------------------------------------------------------------------------------- /src/Services/Database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Services/Database.php -------------------------------------------------------------------------------- /src/Services/Git.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Services/Git.php -------------------------------------------------------------------------------- /src/Services/Git/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Services/Git/Client.php -------------------------------------------------------------------------------- /src/Services/Git/GitCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Services/Git/GitCommand.php -------------------------------------------------------------------------------- /src/Services/Git/GitonomyClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Services/Git/GitonomyClient.php -------------------------------------------------------------------------------- /src/Services/LocalFilesystem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Services/LocalFilesystem.php -------------------------------------------------------------------------------- /src/Services/Rsync.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Services/Rsync.php -------------------------------------------------------------------------------- /src/Services/Ssh.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Services/Ssh.php -------------------------------------------------------------------------------- /src/Services/StageConfigAccess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/Services/StageConfigAccess.php -------------------------------------------------------------------------------- /src/fortrabbit.example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/fortrabbit.example.yaml -------------------------------------------------------------------------------- /src/templates/nitro-craft.sh.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fortrabbit/craft-copy/HEAD/src/templates/nitro-craft.sh.twig --------------------------------------------------------------------------------