#repo #performance #repository #android #status #sync #management

bin+lib pore

a performance oriented reimplementation of repo

12 releases

0.1.11 Feb 16, 2024
0.1.10 Nov 8, 2023
0.1.8 Jan 24, 2023
0.1.6 Dec 15, 2022
0.0.0 Jun 25, 2016

#22 in #repo

Download history 129/week @ 2024-02-12 42/week @ 2024-02-19 27/week @ 2024-02-26 1/week @ 2024-03-04 8/week @ 2024-03-11 136/week @ 2024-04-01

144 downloads per month

Apache-2.0

160KB
4K SLoC

pore

CircleCI

pore is a reimplementation of Android's repository management tool, repo, with a focus on performance. Tree-wide operations such as status and sync are up to 10 times faster in pore. Additionally, pore always does the equivalent of repo's --reference transparently, so a fresh checkout of a new tree takes on the order of one minute, instead of tens of minutes.

Installation and usage

The following instructions probably work on a Debian-ish system:

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

By default, pore uses a configuration suited for AOSP development that stores its mirror in ~/.pore/android. If you wish to change this, either use a symlink, or edit the output of pore config and save it to ~/.pore.toml.

License

This project is licensed under the Apache License, Version 2.0.

Dependencies

~23–39MB
~657K SLoC