# 使用 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
- **版本:** 1.0.0
- **来源摘要:** Tools to ease Gerrit code review
- **主页:** <https://github.com/indirect/gerrit-tools>
- **仓库:** <https://github.com/indirect/gerrit-tools>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gerrit-setup (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.0
## 项目历史与用法

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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
