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 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.3.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.3.0.tar.gz.
File metadata
- Download URL: commit_updater-0.3.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 |
77a4e9dc526da30e56e5530096c824014ff5824619f61bf98289444e4ac38992
|
|
| MD5 |
9184fedb42ea8a7969cacc56b7f2a4f4
|
|
| BLAKE2b-256 |
cbdcf0b0a5c6e0689d00a0913eedb9e9d1ecd9ee5a14f24e4d86f5d481eea1a3
|
File details
Details for the file commit_updater-0.3.0-py3-none-any.whl.
File metadata
- Download URL: commit_updater-0.3.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 |
39a88ce51a7b1a33a70433a9ddb33fbae7cca4eda308e87dc197fff7398e5e74
|
|
| MD5 |
8ffd22bf04825927bfed27203e8af0a7
|
|
| BLAKE2b-256 |
4ee5bafb26c0a7f464d673ebd994c474c1447da70d3f6ac414b4e7fbb4461908
|