vanilla/github-sync
Composer 安装命令:
composer require vanilla/github-sync
包简介
Copy github configurations from one github repo to another one.
README 文档
README
Copy issue labels and milestones from one GitHub repo to another. This is useful if you have many repos and you want to use the same labelling scheme amongst all of them or keep milestone data synced for tools like ZenHub.
Installation
This is a great tool to install globally with Composer.
- Run
composer global require 'vanilla/github-sync'to install the application. - If your global composer bin directory is in your path you can run the app with
github-sync. For help, add-h. - Generate a personal access token and add it to your
~/.bashrcfile asexport GITHUB_API_TOKEN=xxxxx.
Update
- Tag the repo with a new version number (format:
v1.1.1). - Do a new release with that tag, named the same way.
- Update Packagist or wait for it to sync.
- Reinstall using the global
composercommand above.
Develop
- Pull the repo locally and go to the root.
composer update- Test commands with
bin/github-sync {test command}(see below) to invoke repo copy rather than global install.
Usage
github-sync labels [-f] [-t] [-d]Copy the labels from one GitHub repo to another. Set a 'from' repo and 'to' repo. Thedeleteoption will remove any labels from the 'to' repo that don't exist on the 'from' repo.github-sync milestones [-f] [-t] [-s] [--autoclose]Copy milestones from one GitHub repo to another. Set a 'from' repo, 'to' repo, and/or a 'status' to select (one ofopen,closed,all). Theautocloseoption will close milestones past their due date or with zero items.
vanilla/github-sync 适用场景与选型建议
vanilla/github-sync 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10.61k 次下载、GitHub Stars 达 5, 最近一次更新时间为 2015 年 05 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 vanilla/github-sync 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vanilla/github-sync 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 10.61k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-21