{"id":13990579,"url":"https://github.com/eleme/bigkeeper","last_synced_at":"2025-06-12T04:40:58.667Z","repository":{"id":25400376,"uuid":"103900954","full_name":"eleme/bigkeeper","owner":"eleme","description":"Efficiency improvement for iOS\u0026Android modular development.","archived":false,"fork":false,"pushed_at":"2022-07-22T00:58:06.000Z","size":10737,"stargazers_count":211,"open_issues_count":13,"forks_count":32,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2025-05-26T17:12:11.850Z","etag":null,"topics":["automation","cocoapods","gitflow","ios","modularization","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eleme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-18T06:26:50.000Z","updated_at":"2025-01-16T10:27:21.000Z","dependencies_parsed_at":"2022-07-27T05:16:13.053Z","dependency_job_id":null,"html_url":"https://github.com/eleme/bigkeeper","commit_stats":null,"previous_names":["bigkeeper/big-keeper"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/eleme/bigkeeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleme%2Fbigkeeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleme%2Fbigkeeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleme%2Fbigkeeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleme%2Fbigkeeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eleme","download_url":"https://codeload.github.com/eleme/bigkeeper/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleme%2Fbigkeeper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259400479,"owners_count":22851817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cocoapods","gitflow","ios","modularization","ruby"],"created_at":"2024-08-09T13:02:57.440Z","updated_at":"2025-06-12T04:40:58.641Z","avatar_url":"https://github.com/eleme.png","language":"Ruby","readme":"[English](./docs/en-US/README.md)\n\n---\n\n# bigkeeper\n\n![](./resources/banner.png)\n\n[![Build Status](https://travis-ci.org/BigKeeper/bigkeeper.svg?branch=master)](https://travis-ci.org/BigKeeper/bigkeeper)\n[![Maintainability](https://api.codeclimate.com/v1/badges/c6dc4161e84fcec9a890/maintainability)](https://codeclimate.com/github/BigKeeper/big-keeper/maintainability)\n[![Gem Version](https://badge.fury.io/rb/bigkeeper.svg)](https://rubygems.org/gems/bigkeeper)\n[![Language: Ruby](https://img.shields.io/badge/language-Ruby-da212f.svg)](https://www.ruby-lang.org/)\n[![License](https://img.shields.io/badge/license-MIT-000000.svg)](https://github.com/BigKeeper/big-keeper/blob/master/LICENSE)\n[![Gitter](https://img.shields.io/gitter/room/BigKeeper/BigKeeper.svg)](https://gitter.im/Big-Keeper/Lobby)\n\nbigkeeper 是一个 **iOS\u0026Android 模块化项目**效率提升工具，旨在帮助有模块化需求的团队更轻松的渡过“半模块化”尴尬期。\n\n使用这个工具后，开发者**在主项目内**即可完成**包括其他业务模块在内**所有代码的编写和管理。\n\n我们借鉴 CocoaPods 的做法，开发团队只需要在主项目中加入一个 Bigkeeper 文件，然后利用我们提供的 `big` 命令，即可更便捷的实现**代码分支**和**业务模块**的管理；另外，通过 `big` 命令提供的流程，也能帮助开发者养成更规范的日常开发习惯，减轻项目管理者的负担。\n\n## 应用场景\n\n在模块化项目的过渡阶段，我们往往会碰到业务拆分不是那么彻底的情况（PS：比如主项目中仍然存在业务相关代码），这样就会导致一系列问题：\n\n- 开发流程方面：开发者在开发一个 feature 时需要维护多个项目的分支，同时还要频繁修改主项目的 `Podfile`;\n- 项目管理者需要花很大精力去和团队成员同步项目管理规范流程，尤其对于新人，挑战很大；\n- 开发过程中如果碰到突发情况需要开新分支处理问题时对当前工作区的保存操作会很繁琐（PS：因为涉及到多个项目）；\n- 日常开发过程中类似 commit、pull、push 等操作比较繁琐（PS：因为涉及到多个项目）；\n- 资源（比如图片）散落在各个业务模块，可能存在重名、重复等问题，难以管理；\n- 业务模块可能存在横向依赖的问题，导致业务模块间耦合严重，不能单独编译运行。\n- 各模块依赖的版本没有统一的同步更新方式，导致各个模块的开发环境不一致，问题百出。\n\nbigkeeper 的出现就是为了解决这些问题。\n\n\u003e 注：也有很多人认为直接做一个完整的组件化项目更合理，而不需要采用这样曲折的方案，但是很多时候我们并没有这么多的精力直接去做这些事情，bigkeeper 存在的价值也是为了帮助开发团队在** iOS\u0026Android 模块化项目过渡阶段**能更轻松的往前走。\n\n## 安装\n\n- 当作 Ruby Gem 使用：\n  在项目的 Gemfile 中加入下面这行：\n\n  ```ruby\n  gem 'bigkeeper'\n  ```\n\n  然后执行：\n\n    $ bundle\n\n- 直接安装：\n\n    $ gem install bigkeeper\n\n## 使用方法\n\n- [Bigkeeper 文件配置](./docs/zh-CN/BIGKEEPER_FILE.md)\n- `bigkeeper` 工具使用：\n\n  直接在命令行执行 `bigkeeper` 可以查看其提供的所有功能：\n\n  ```\n  NAME\n    big - Efficiency improvement for iOS\u0026Android module development, iOSer\u0026Android using this tool can make module development easier.\n\n  SYNOPSIS\n    big [global options] command [command options] [arguments...]\n\n\n  GLOBAL OPTIONS\n    --help         - Show this message\n    -p, --path=arg - (default: ./)\n    -u, --user=arg - (default: mmoaay)\n    -v, --ver=arg  - (default: Version in Bigkeeper file)\n\n  COMMANDS\n    feature - Gitflow feature operations\n    help    - Shows a list of commands or help for one command\n    hotfix  - Gitflow hotfix operations\n    image   - Image operations\n    podfile - Podfile operation\n    release - Gitflow release operations\n    spec    - Spec operations\n    version - Show version of bigkeeper\n  ```\n\n  全局参数如下：\n\n  - -p, --path：主项目所在的目录，默认是执行 bigkeeper 命令的当前目录；\n  - -v, --ver：版本号，如果没有指定的话，会以主项目 [Bigkeeper 文件](./docs/zh-CN/BIGKEEPER_FILE.md)中指定的版本为准。\n  - -u, --user：用户名，默认是 git global config 的 user.name，会显示在命令提示信息中，比如上述提示信息中的默认用户名是 mmoaay\n\n  功能列表如下：\n\n  - [feature](./docs/zh-CN/FEATURE\u0026HOTFIX.md)：功能开发流程；\n  - [hotfix](./docs/zh-CN/FEATURE\u0026HOTFIX.md)：线上 Bug 修复流程；\n  - [release](./docs/zh-CN/RELEASE.md)：发布流程；\n  - [podfile](./docs/zh-CN/PODFILE.md)：Podfile 管理；\n  - [image](./docs/zh-CN/IMAGE.md)：图片管理；\n  - [spec](./docs/zh-CN/SPEC.md)：spec 管理；\n  - version：查看 bigkeeper 当前版本号；\n  - help：查看 bigkeeper 帮助文档。\n\n## 其他\n\n- [一些建议](./docs/zh-CN/RECOMMEND.md)\n- [一些思考]()\n\n## 协议\n\n![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/License_icon-mit-88x31-2.svg/128px-License_icon-mit-88x31-2.svg.png)\n\nbigkeeper 基于 MIT 协议进行分发和使用，更多信息参见协议文件。\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleme%2Fbigkeeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feleme%2Fbigkeeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleme%2Fbigkeeper/lists"}