# 使用 Homebrew 安装 gerrit-tools

查看 gerrit-tools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:gerrit-tools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gerrit-tools
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gerrit-tools
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gerrit-tools>
- **版本:** 1.0.0
- **来源摘要:** Tools to ease Gerrit code review
- **主页:** <https://github.com/indirect/gerrit-tools>
- **仓库:** <https://github.com/indirect/gerrit-tools>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/indirect/gerrit-tools/archive/refs/tags/v1.0.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gerrit-setup (cli)
- gerrit-setup (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0.0
- 本地数据: OK
- 上游仓库: https://github.com/indirect/gerrit-tools
- 检测到的最新版本: v1.0.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

gerrit-tools is a small collection of command-line scripts for developers working with Gerrit Code Review. Its scope is narrow: help developers set up a Gerrit remote, fetch changes for review, push changes, approve changes, and reset their review workflow.

### 项目历史

The GitHub repository was opened in January 2010 and its README presents the project as scripts that make Gerrit-based code review easier. The scripts reflect early Gerrit workflows, including a cherry-pick helper, a setup helper for repositories cloned from GitHub, and a `git review` wrapper.

### 采用历史

The project appears to have served a small Gerrit-using developer audience rather than a broad tool ecosystem. Its value was in codifying a workflow around Gerrit changesets at a time when teams often carried local helper scripts for review operations.

### 使用方式

Practitioners use `gerrit-setup` to convert a GitHub-origin clone to use Gerrit as the origin, and `git review` to push a changeset, review another changeset by number, approve after tests, or reset local review state. The README also suggests aliasing the review command for faster use.

### 为什么软件包爱好者会关心

For package-manager users, gerrit-tools is interesting as a tiny workflow package: it wraps project-specific Gerrit review habits into installable scripts, useful for developers who still encounter older Gerrit review flows.

### 时间线

- 2010: The gerrit-tools repository was opened on GitHub.
- 2010s: The README documents scripts for Gerrit cherry-picking, remote setup, review, approval, and reset workflows.
- 2020: Official GitHub metadata shows the repository still receiving maintenance-era activity.

### Related projects

- Gerrit Code Review, Git

### 来源

- <https://api.github.com/repos/indirect/gerrit-tools>
- <https://github.com/indirect/gerrit-tools>
- <https://raw.githubusercontent.com/indirect/gerrit-tools/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gerrit-tools
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** git-gerrit, git-review
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [hunk](https://pkg.so/zh-hans/brew/hunk/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools, git.
- [onefetch](https://pkg.so/zh-hans/brew/onefetch/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [serie](https://pkg.so/zh-hans/brew/serie/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [git-review](https://pkg.so/zh-hans/brew/git-review/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools, gerrit, git.
- [rbtools](https://pkg.so/zh-hans/brew/rbtools/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools.
- [spr](https://pkg.so/zh-hans/brew/spr/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools.
- [prr](https://pkg.so/zh-hans/brew/prr/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools.
- [git-cal](https://pkg.so/zh-hans/brew/git-cal/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [git-gerrit](https://pkg.so/zh-hans/brew/git-gerrit/) - Local package facts share a topical domain. Shared terms: cli, code, code-review, developer, developer-tools.
- [diffr](https://pkg.so/zh-hans/brew/diffr/) - Local package facts share a topical domain. Shared terms: cli, code, code-review, developer, developer-tools.
- [difi](https://pkg.so/zh-hans/brew/difi/) - Local package facts share a topical domain. Shared terms: cli, code, code-review, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/gerrit-tools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gerrit-tools.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
