16 个版本
0.1.17 | 2024年7月11日 |
---|---|
0.1.11 | 2024年2月16日 |
0.1.10 | 2023年11月8日 |
0.1.8 | 2023年1月24日 |
0.0.0 |
|
#16 in #repo
每月118次下载
160KB
4K SLoC
孔隙
孔隙是对 Android 的仓库管理工具 repo 的重实现,侧重于性能。如 status
和 sync
这样的树级操作在孔隙中可以达到 10 倍 的速度。此外,孔隙始终透明地执行 repo 的 --reference
等价操作,因此新树的全新检出只需大约一分钟,而不是数十分钟。
安装和使用
以下说明可能适用于类似 Debian 的系统
sudo apt-get install -y build-essential ca-certificates curl git libssl-dev pkg-config ssh
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
cargo install --git https://github.com/jmgao/pore --force
默认情况下,孔隙使用适合 AOSP 开发的配置,将其镜像存储在 ~/.pore/android
。如果您想更改此设置,可以使用符号链接,或者编辑 pore config
的输出并将其保存到 ~/.pore.toml
。
许可证
本项目采用 Apache 许可证,版本 2.0。
依赖项
~20–35MB
~606K SLoC