sbuerk/dce-fce-migration
Composer 安装命令:
composer require sbuerk/dce-fce-migration
包简介
Specialist dce to fce migration toolchain
README 文档
README
Introduction
This package contains a toolchain for migration DCE to FCE in several (internal/customer) projects. It contain's only the stuff we needed so far, so this is not a full-fledged feature enriched package, and maybe will never become one. Feel free to fork and extend it with the things you need.
Installation
This package is currently only available as composer package.
$ composer require sbuerk/dce-fce-migration
Usage
This package comes with a centralized command to process migrations. However, migrations are project specific and thus must be provided by the instance. They must be registered, so the command can pick them up.
Command Usage
$ vendor/bin/typo3 dce2fce:migrate # list migrations $ vendor/bin/typo3 dce2fce:migrate --run # run all registered migrations $ vendor/bin/typo3 dce2fce:migrate --run \ # run only selected migration(s) --select="dce-1" --select="dce-2" # using the select option to select by identifiers
Migrations are registered with the global $GLOBALS['DCE_FCE_MIGRATIONS']:
$GLOBALS['DCE_FCE_MIGRATIONS'] = array_replace( $GLOBALS['DCE_FCE_MIGRATIONS'] ?? [], // register migrations \Vendor\Extension\Migrations\YourDceElementMigrationClass::class, );
TODO's
[ ] Enrich README.md with information about how to write custom DCE->FCE Migration sets [ ] Explain basic migration sets templates [ ] Add tests to cover the functionality
Tagging and releasing
packagist.org is enabled via the casual github hook. TER releases are created by the "publish.yml" github workflow when tagging versions using tailor. The commit message of the tagged commit is used as TER upload comment.
@todo TER Release not implemented yet
Example:
composer install
.Build/bin/tailor set-version 0.2.0 --no-docs
git commit -am "[RELEASE] 0.2.0 Bug fixes and improved core v11 compatibility"
git tag 0.2.0
git push
git push --tags
sbuerk/dce-fce-migration 适用场景与选型建议
sbuerk/dce-fce-migration 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 104 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 08 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 sbuerk/dce-fce-migration 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sbuerk/dce-fce-migration 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 104
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2022-08-16