# git-review を Homebrew, apk, apt, dnf, MacPorts, Nix, zypper でインストール

git-review のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:git-review
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install git-review
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-review
```

  証拠: MacPorts ports tree: devel/git-review/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add git-review
```

  証拠: Alpine Linux edge package indexes: git-review from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install git-review
```

  証拠: Debian stable package indexes: git-review from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install git-review
```

  証拠: Fedora Rawhide package metadata: git-review from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#git-review
```

  証拠: nixpkgs package indexes: pkgs/by-name/gi/git-review/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install git-review
```

  証拠: openSUSE Tumbleweed package metadata: git-review from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:git-review
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.5.0
- **ソース概要:** Submit git branches to gerrit for review
- **ホームページ:** <https://opendev.org/opendev/git-review>
- **最終更新:** 2026-05-21T12:11:46Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- git-review (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.5.0
## プロジェクトの歴史と使われ方

git-review is an OpenDev tool for submitting Git branches to Gerrit. It standardizes the client-side workflow around `.gitreview` project metadata, Gerrit remotes, Change-Id hooks, and patchset upload/download commands.

### プロジェクトの歴史

The project grew out of the OpenStack and OpenDev review workflow, where Gerrit is the central code-review system. Its repository has a long 1.x tag series and a 2.x series documented through OpenDev release notes, reflecting years of adaptation to Gerrit, Git, OpenSSH, and Python changes.

The 2.0.0 release marked a major maintenance boundary by dropping Python 2.7 support and removing Gerrit draft-change options after Gerrit itself removed that state. Later releases added safer hook installation, support for newer Git and OpenSSH behavior, and upload options such as hashtags, patchset messages, and carbon-copy recipients.

### 採用の歴史

git-review became significant in the OpenStack/OpenDev ecosystem because it turned Gerrit's `refs/for/*` push workflow into a repeatable Git subcommand. Package availability through PyPI, system packages, and Homebrew made it convenient for contributors joining Gerrit-hosted projects.

### 使われ方

Practitioners run `git review` to upload the working branch to Gerrit, use options for target branch, topic, reviewers, and CCs, and use `git review -d` to download changes or patchsets for local review. On first run, it can read `.gitreview`, create the Gerrit remote, and install the commit-msg hook used for Change-Id generation.

### パッケージ好きにとっての重要性

The package is notable because it encodes a whole hosted-review convention in a small command-line client. For package maintainers and contributors, it reduces Gerrit onboarding friction and keeps repository-specific review metadata versioned alongside the project.

### タイムライン

- 1.0: Early public tag in the OpenDev repository.
- 1.28.0: OpenStack-specific topic-name automation removed.
- 2.0.0: Python 2.7 support and Gerrit draft-change upload options removed.
- 2.4.0: Gerrit commit-msg hook embedded for safer setup.
- 2.5.0: CC upload option and branch-filtered review listing added.

### Related projects

- Related projects and systems include Gerrit, OpenDev, OpenStack, Git, and the `.gitreview` metadata convention used by Gerrit-hosted repositories.

### ソース

- <https://formulae.brew.sh/formula/git-review>
- <https://opendev.org/opendev/git-review>
- <https://opendev.org/opendev/git-review/raw/branch/master/README.rst>
- <https://opendev.org/opendev/git-review/raw/branch/master/doc/source/installation.rst>
- <https://opendev.org/opendev/git-review/raw/branch/master/doc/source/releasenotes.rst>
- <https://opendev.org/opendev/git-review/raw/branch/master/doc/source/usage.rst>


## セキュリティノート

git-review に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .gitreview, ~/.config/git-review/git-review.conf, /etc/git-review/git-review.conf
## 他のパッケージマネージャ記録

- Debian apt - git-review - 2.4.0-1: normalized package name match | Debian stable package indexes: git-review from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | git command for submitting branches to Gerrit | https://opendev.org/opendev/git-review
- Nix - git-review: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-review/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - git-review - 2.3.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: git-review from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | git command for submitting branches to Gerrit | https://opendev.org/opendev/git-review
- apk - git-review - 2.5.0-r2: normalized package name match | Alpine Linux edge package indexes: git-review from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | git command for submitting branches to Gerrit | https://opendev.org/opendev/git-review
- apk - git-review-doc - 2.5.0-r2: normalized package name match | Alpine Linux edge package indexes: git-review-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | git command for submitting branches to Gerrit (documentation) | https://opendev.org/opendev/git-review
- apk - git-review-pyc - 2.5.0-r2: normalized package name match | Alpine Linux edge package indexes: git-review-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for git-review | https://opendev.org/opendev/git-review
- dnf - git-review - 2.5.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: git-review from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A Git helper for integration with Gerrit | https://opendev.org/opendev/git-review
- zypper - git-review - 2.5.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: git-review from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tool to submit code to Gerrit | https://git.openstack.org/cgit/openstack-infra/git-review
- MacPorts - git-review: normalized package name match | MacPorts ports tree: devel/git-review/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
