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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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.5.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: commit_updater-0.5.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.4 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acff18ea14aaf1ccff68a2befdbe43fa734b01f6d3f458a910b4e583d82b4480
|
|
| MD5 |
d093973f0c26d5c8fb18f5bd52b3cc81
|
|
| BLAKE2b-256 |
a506d648b5e4322587483ca69ae77a69e03f605334a082101565e4173b1fef89
|