concretecms/incremental-filter-branch
Composer 安装命令:
composer require concretecms/incremental-filter-branch
包简介
Shell script to call git filter-branch in an incremental way
README 文档
README
Introduction
git filter-branch is a really nice git feature.
For instance, it allows fancy stuff like subtree-splitting.
Problems may arise when the repository contains a lot of commits: this operation can take a lot of time.
Luckily recent versions of git allow us to perform this operation in an incremental way:
the first time filter-branch still requires some time, but following calls can be very fast.
Requirements
- git 2.16.0 or newer
- common commands (
sed,grep,md5sum,cut, ...)
Usage
Get the script and read the syntax using the --help option.
Examples
./bin/incremental-git-filterbranch \
--branch-whitelist 'develop master rx:release\/.*' \
--tag-blacklist 'rx:5\..*' \
--tags-plan all --tags-max-history-lookup 10 \
https://github.com/concrete5/concrete5.git \
'--prune-empty --subdirectory-filter concrete' \
git@github.com:concrete5/concrete5-core.git
Legal stuff
Use at your own risk. MIT License.
Credits
Special thanks to Ian Campbell for the implementation of the --state-branch option of git,
and his hints about how it can be used.
This script works only thanks to him (and if it doesn't work I'm the only person to blame).
concretecms/incremental-filter-branch 适用场景与选型建议
concretecms/incremental-filter-branch 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 4, 最近一次更新时间为 2022 年 05 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「git」 「shell」 「posix」 「bash」 「progressive」 「incremental」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 concretecms/incremental-filter-branch 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 concretecms/incremental-filter-branch 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 concretecms/incremental-filter-branch 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Simple pcntl fork wrapper and process manager
Provides a better API to work with processes on Unix-like systems
Console implementation.
Unix signal handler that allow registering multiples callback on the same signal
Easily manage git hooks in your composer config
AMWSCAN (Antimalware Scanner) is a php antimalware/antivirus scanner console script written in php for scan your project. This can work on php projects and a lot of others platform.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-19