Update Podfile.lock component commits from local git repos and push
Project description
CommitUpdater
用于在主工程中批量更新 Podfile.lock 里的组件 commit,并自动提交推送主工程仓库。
功能概述
- 拉取主工程最新代码
- 获取组件仓库最新 commit
- 更新
Podfile.lock中对应组件的:commit: - 自动提交并推送主工程改动
安装
本地安装
cd CommitUpdater
pip install -e .
安装后会提供命令:bbcu
外网安装
发布到 PyPI 后,可直接安装:
# 跟新pip源
python -m pip install --upgrade pip
# pip安装
pip install commit-updater
# pip命令没有找到,使用 python3 -m pip 命令安装
python3 -m pip install commit-updater
# 更新
python3 -m pip install -U commit-updater
使用方式
进入包含 Podfile.lock 的主工程目录后执行:
bbcu BBUnlock BBEngine
# 如果命令没有找到,查询安装位置,把安装路径中lib文件夹平级的bin文件夹添加到PATH中重新试下
python3 -m pip show commit-updater
也可以更新单个组件:
bbcu BBUnlock
适用场景
适用于基于 CocoaPods 管理组件依赖、并使用 Podfile.lock 锁定 commit 的工程。
更多说明
实现细节、PyCharm 运行说明、提交规则、发布流程和维护注意事项见:DEVELOPMENT.md
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
commit_updater-0.4.0.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file commit_updater-0.4.0.tar.gz.
File metadata
- Download URL: commit_updater-0.4.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cdde22541b974b1cf725d939b651b00507b556717098da10c7527cc69723138
|
|
| MD5 |
9133da8754c8c4726b811daceb14d3a3
|
|
| BLAKE2b-256 |
6961c94ddad8a48b0ee0c8b7b4f8655bc63947aa124a7e8a7f1a6a2145d8aa0c
|
File details
Details for the file commit_updater-0.4.0-py3-none-any.whl.
File metadata
- Download URL: commit_updater-0.4.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb739088f61ef0e4fd908594e02b4b04a33fd7b1a6cb1597a7b1fd4c56d9fdd9
|
|
| MD5 |
814ec1253dc66361daffd6cc4f2f8b9e
|
|
| BLAKE2b-256 |
3beb0f6cf763ff1df5754fb9c3f1cdcc2e00d464c1da1d58d4aa120914a10427
|