承接 ttree/rebirth 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ttree/rebirth

Composer 安装命令:

composer require ttree/rebirth

包简介

Neos Content Repository Helper to rebirth orphaned nodes

README 文档

README

This package can help you to move orphaned node in the Neos Content Repository.

Warning: Working with broken / orphaned nodes can be hard, please backup your data before using this package.

Currently this package supports only document nodes restoration. That means you can only restore documents including their content (and further children), but not only content that has been orphaned.

How to use ?

  • Optional: For each site where you want to restore orphaned nodes, you can create a "Trash" node. This can be used as the automatically detected target for document node restoration.
  • Go to the CLI and run the restore command.

CLI commands

List the current orphaned document nodes

flow rebirth:list

List the current orphaned nodes for a specific type

flow rebirth:list --type Neos.Neos:Document

Restore everything under the "Trash" node of the current site

flow rebirth:restore

Note: if you have no Trash node, this will fail with the message Missing restoration target for the current node. Either create a Trash node or specify the target node using --target.

Restore everything under the "Trash" node of the current site, only for the given type

flow rebirth:restore --type Neos.Neos:Document

Restore everything under the given target node

flow rebirth:restore --target f34f834b-c36b-43eb-a580-f0e2f168b241

Prune all orphaned document nodes

flow rebirth:prune

Prune all orphaned document nodes for a specific type

flow rebirth:prune --type Neos.Neos:Document

Troubleshooting

If you get the message Missing restoration target for the current node even though a Trash node has been created, make sure you have a Trash node matching the context of the nodes to be restored. Specifically check the content dimensions. You must have a Trash node that can be found in the same dimension value combination as the node to be restored.

Acknowledgments

Development sponsored by ttree ltd - neos solution provider.

We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.

License

Licensed under MIT, see LICENSE

ttree/rebirth 适用场景与选型建议

ttree/rebirth 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 862 次下载、GitHub Stars 达 6, 最近一次更新时间为 2017 年 03 月 13 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「maintenance」 「Neos」 「neos content repository」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 ttree/rebirth 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 ttree/rebirth 我们能提供哪些服务?
定制开发 / 二次开发

基于 ttree/rebirth 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 862
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-13