Crates.io | repo-utils |
lib.rs | repo-utils |
version | 0.3.0 |
source | src |
created_at | 2022-10-14 08:39:05.363211 |
updated_at | 2022-10-14 08:39:05.363211 |
description | Utilities for google's repo-tool |
homepage | |
repository | |
max_upload_size | |
id | 688031 |
size | 42,116 |
Utilities for google's repo-tool written in Rust
A collection of commands to work on git repositories managed by google's repo tool.
repo-utils is written in rust. You need the rust toolchain installed to be able to use it:
https://www.rust-lang.org/tools/install
Then you simply install the latest repo-utils release with:
cargo install repo-utils
from the central crates.io repository
Execute commands on git repositories managed by repo, see https://github.com/elektronenhirn/repo-utils
Usage: repo-forall [OPTIONS] [COMMAND]...
Arguments:
[COMMAND]...
Options:
-C, --cwd <DIR> change working directory (mostly useful for testing)
-m, --manifest <FILE> ignore projects which are not defined in the given manifest file(s)
-g, --group <GROUP> ignore projects which are not part of the given group(s)
-v, --verbose Verbose output
-f, --fail-fast Stop running commands for anymore projects whenever one failed
-p, --print-project-path Print project path before printing command output
-h, --help Print help information
-V, --version Print version information
Supports the following environment variables in the command:
REPO_PATH
: relative path to the projectExample:
repo-forall 'echo $REPO_PATH'
Check if repos managed by git-repo have uncommited changes, see https://github.com/elektronenhirn/repo-utils
Usage: repo-status [OPTIONS]
Options:
-C, --cwd <DIR> change working directory (mostly useful for testing)
-m, --manifest <FILE> ignore projects which are not defined in the given manifest file(s)
-g, --group <GROUP> ignore projects which are not part of the given group(s)
-v, --verbose Verbose output, e.g. print local path before executing command
-h, --help Print help information
-V, --version Print version information