pug-more/mageploy
Composer 安装命令:
composer require pug-more/mageploy
包简介
README 文档
README
Mageploy is an extension for Magento deployment automation based on Admin actions tracking and replication between different project environments.
How does it work?
Basically it's a tracker of invocations of Magento Controller Actions. It's based on the recording of actions in two files:
{{configured_folder}}/mageploy_all.csv{{configured_folder}}/mageploy_executed.csv
The mageploy_all.csv file is global and should be put under version control. This file keeps track of each action invoked, storing parameters converted and serialized.
The mageploy_executed.csv is local and should not be put under version control. This file keeps track of actions invoked locally and is used to avoid invocations of already invoked actions.
The {{configured_folder}} placeholder can be either a relative or an absolute path; in case you use a relative path,
the Magento root folder will be used as base path.
Warning: don't change the {{configured_folder}} after you have already started recording actions if you don't want to
loose previous tracked actions.
Once you install mageploy and activate tracking (active by default), Mageploy's Trackers will store action invocations.
Once you commit and push your changes you will also push the mageploy_all.csv. Developers which will pull your changes will get the global list of actions updated and can replicate missing invocations by using the command line tool shell/mageploy.php.
To learn more about Mageploy, please refer to the Documentation on the Official Website.
AS-IS
At the moment the following trackers have been developed for (not tested so much):
- Attributes
- Attribute Sets
- System Config (uncomplete)
- Categories
- CMS Blocks
- CMS Pages
- Websites
- Store Groups
- Store Views
TO-BE
The System\Config tracker is only a POC. There are a lot of sections and groups in the System\Config and we should provide encorders/decoders for all of them.
For example in some circumstances you can perform file ulpoad; this is not handled. At the same time IDs are not translated into UUIDs but there can be IDs which are specific to current installation. To handle all these cases the System\Config tracker should be splitted into sections/groups trackers, each of them applying its enconding/deconding policy. In Categories tracker file uploads are not handled yet.
So many more trackers should be developed for:
- Complete System Config Sections/Groups
- Complete Categories
- Taxes
- URL Rewrites
- Promotions
- Transactional Emails
- Order Statuses
RELEASE NOTES
Here we keep track of major changes between different versions.
A change in the third version number part indicates minor changes or fixes.
A change in the second version number part indicates changes in CSV format which implies that previous encoded CSVs could not be decoded any more.
- 1.2.2 - fix previous version; add check for writable files and related warning in header banner
- 1.2.1 - DON'T USE THIS VERSION - action recording is broken
- 1.2.0 - add possibility to configure the folder where CSV files are created.
- 1.1.3 - replaced deprecated join and split functions with equivalent implode and explode.
- 1.1.2 - fix on displaying of error messages while executing actions.
- 1.1.1 - fix on decode() declaration in Abstract class.
- 1.1.0 - changed encoding/decoding for Block tracking; added code to reset Magento at every Action execution to avoid issues with objects in memory, like the Register. Added Tracket version control to prevent decoding of rows encoded with a different version of a Tracker.
- 1.0.1 - fixed bug in CMS Blocks tracking: saving existing blocks didnt' work because encoding/decoding ignored block_id parameter.
- 1.0.0 - first release
pug-more/mageploy 适用场景与选型建议
pug-more/mageploy 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.79k 次下载、GitHub Stars 达 99, 最近一次更新时间为 2015 年 08 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 pug-more/mageploy 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pug-more/mageploy 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 99
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2015-08-11