sourcebroker / deployer-extended-typo3-tasks
此软件包已被废弃且不再维护。未建议替代软件包。
提供TYPO3和ext:typo3_console cli命令作为部署任务。
1.0.1
2017-09-03 12:50 UTC
Requires
- php: >=5.6
- helhum/typo3-console: ^4.4
README
! 注意 - 项目不再维护
deployer-extended-typo3-tasks
它做什么?
此软件包将TYPO3 cli命令(自TYPO3 8.7起)和typo3_console命令转换为部署任务。命令映射是自动完成的,这意味着所有当前加载的TYPO3扩展的命令也都可以使用(通过typo3_console映射)。
注意!它仅在Deployer 4.3.0上进行了测试!
安装
使用composer安装软件包
composer require sourcebroker/deployer-extended-typo3-tasks
如果您将deployer用作composer软件包,则只需在您的deploy.php中放入以下行
new \SourceBroker\DeployerExtendedTypo3Tasks\Loader();
如果您将deployer用作phar,则请在您的deploy.php中放入以下行
require __DIR__ . '/vendor/autoload.php'; new \SourceBroker\DeployerExtendedTypo3Tasks\Loader();
使用以下命令检查新任务列表
dep list
命令使用
安装后,您可以像以下示例中那样使用所有TYPO3和typo3_console命令
dep typo3cms:database:updateschema live
或对于TYPO3命令(自TYPO3 8.7起)
dep typo3:cleanup:deletedrecords live
如果您想查看命令的输出,请使用-vvv开关。例如
dep typo3:cleanup:deletedrecords live -vvv
如果您想添加一些选项,请使用“t3option”选项并将整个选项放在其中。例如
dep typo3cms:database:updateschema live --t3option="--schema-update-types=\"*.add\""
命令索引
可用的部署任务中的TYPO3 8.7命令列表
typo3:backend:lock Lock the TYPO3 Backend typo3:backend:unlock Unlock the TYPO3 Backend typo3:cleanup:deletedrecords Permanently deletes all records marked as "deleted" in the database. typo3:cleanup:flexforms Updates all database records which have a FlexForm field and the XML data does not match the chosen datastructure. typo3:cleanup:lostfiles Looking for files in the uploads/ folder which does not have a reference in TYPO3 managed records. typo3:cleanup:missingfiles Find all file references from records pointing to a missing (non-existing) file. typo3:cleanup:missingrelations Find all record references pointing to a non-existing record typo3:cleanup:multiplereferencedfiles Looking for files from TYPO3 managed records which are referenced more than once typo3:cleanup:orphanrecords Find and delete records that have lost their connection with the page tree. typo3:cleanup:rteimages Looking up all occurrences of RTEmagic images in the database and check existence of parent and copy files on the file system plus report possibly lost RTE files. typo3:cleanup:versions Find all versioned records and possibly cleans up invalid records in the database. typo3:extbase:help:help The help command displays help for a given command: ./typo3/sysext/core/bin/typo3 extbase:help typo3:extensionmanager:extension:dumpclassloadinginformation This command is only needed during development. The extension manager takes care creating or updating this info properly during extension (de-)activation. typo3:extensionmanager:extension:install The extension files must be present in one of the recognised extension folder paths in TYPO3. typo3:extensionmanager:extension:uninstall The extension files must be present in one of the recognised extension folder paths in TYPO3. typo3:help Displays help for a command typo3:impexp:import Imports a T3D / XML file with content into a page tree typo3:list Lists commands typo3:referenceindex:update Update the reference index of TYPO3 typo3:scheduler:run Start the TYPO3 Scheduler from the command line. typo3:syslog:list Show entries from the sys_log database table of the last 24 hours.
可用的部署任务中的ext:typo3_console 4.6命令列表
typo3cms:autocomplete Generate shell auto complete script typo3cms:backend:lock Lock backend typo3cms:backend:lockforeditors Lock backend for editors typo3cms:backend:unlock Unlock backend typo3cms:backend:unlockforeditors Unlock backend for editors typo3cms:cache:flush Flush all caches typo3cms:cache:flushgroups Flush all caches in specified groups typo3cms:cache:flushtags Flush cache by tags typo3cms:cache:listgroups List cache groups typo3cms:cleanup:updatereferenceindex Update reference index typo3cms:configuration:remove Remove configuration option typo3cms:configuration:set Set configuration value typo3cms:configuration:show Show configuration value typo3cms:configuration:showactive Show active configuration value typo3cms:configuration:showlocal Show local configuration value typo3cms:database:export Export database to stdout typo3cms:database:import Import mysql from stdin typo3cms:database:updateschema Update database schema typo3cms:documentation:generatexsd Generate Fluid ViewHelper XSD Schema typo3cms:extension:activate Activate extension(s) typo3cms:extension:deactivate Deactivate extension(s) typo3cms:extension:dumpautoload Dump class auto-load typo3cms:extension:list List extensions that are available in the system typo3cms:extension:removeinactive Removes all extensions that are not marked as active typo3cms:extension:setup Set up extension(s) typo3cms:extension:setupactive Set up all active extensions typo3cms:frontend:request Submit frontend request typo3cms:help Help typo3cms:install:extensionsetupifpossible Setup TYPO3 with extensions if possible typo3cms:install:fixfolderstructure Fix folder structure typo3cms:install:generatepackagestates Generate PackageStates.php file typo3cms:install:setup TYPO3 Setup typo3cms:language:update Update language file for each extension typo3cms:scheduler:run Run scheduler typo3cms:upgrade:all Execute all upgrade wizards that are scheduled for execution typo3cms:upgrade:checkextensionconstraints Check TYPO3 version constraints of extensions typo3cms:upgrade:list List upgrade wizards typo3cms:upgrade:wizard Execute a single upgrade wizard
已知问题
无。
待办事项列表
无。
变更日志
请参阅 https://github.com/sourcebroker/deployer-extended-typo3-tasks/blob/master/CHANGELOG.rst