Metadata-Version: 2.4
Name: commit-updater
Version: 0.2.0
Summary: Update Podfile.lock component commits from local git repos and push
Author: Aron
License: MIT
Keywords: cocoapods,podfile,git,lockfile
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Version Control
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# CommitUpdater

用于在主工程中批量更新 `Podfile.lock` 里的组件 commit，并自动提交推送主工程仓库。

## 功能概述

- 拉取主工程最新代码
- 获取组件仓库最新 commit
- 更新 `Podfile.lock` 中对应组件的 `:commit:`
- 自动提交并推送主工程改动

## 安装

### 本地安装

```bash
cd CommitUpdater
pip install -e .
```

安装后会提供命令：`bbcu`

### 外网安装

发布到 PyPI 后，可直接安装：

```bash
pip install commit-updater
```

## 使用方式

进入包含 `Podfile.lock` 的主工程目录后执行：

```bash
bbcu BBUnlock BBEngine
```

也可以更新单个组件：

```bash
bbcu BBUnlock
```

## 适用场景

适用于基于 CocoaPods 管理组件依赖、并使用 `Podfile.lock` 锁定 commit 的工程。

## 更多说明

实现细节、PyCharm 运行说明、提交规则、发布流程和维护注意事项见：`DEVELOPMENT.md`
