Automic VaultAutomic Vault

brew

b4 を Homebrew, apk, apt, dnf, Nix, pacman, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install b4

local Homebrew formula metadata

Linux

Alpine Linux apk確認済み · 92%
sudo apk add b4

Alpine Linux edge package indexes · b4 · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install b4

Debian stable package indexes · b4 · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install b4

Fedora Rawhide package metadata · b4 · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#b4

nixpkgs package indexes · pkgs/by-name/b4/b4/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S b4

Arch Linux sync databases · b4 · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install b4

openSUSE Tumbleweed package metadata · b4 · ソース: download.opensuse.org

概要

パッケージ概要

Tool to work with public-inbox and patch archives

履歴

プロジェクトの歴史と使われ方

b4 is a kernel.org-hosted command-line tool for distributed development workflows built around mailing-list patches. It helps contributors, reviewers, and maintainers retrieve threads from public-inbox archives, prepare and send patch series, apply patches, collect trailers, and tie Git commits back to list discussion.

プロジェクトの歴史

b4 grew out of the Linux kernel community's long-running email patch workflow. Its documentation states that it was created to make it easier for developers and maintainers to use distributed workflows that rely on patches and distribution lists for contribution and review.

The project is hosted under kernel.org's utilities namespace and its docs are divided by role: maintainers who receive and apply series, reviewers who inspect patches, and contributors who prepare and send work. That structure mirrors the social workflow of kernel development more than a generic Git porcelain.

採用の歴史

b4's adoption follows the public-inbox and lore.kernel.org era of kernel development: instead of scraping local mailboxes, it can operate against archived mailing-list threads by message id and then produce mbox, git-am, trailer, and review workflows.

The package metadata in this batch shows b4 available through Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, and openSUSE. That is a practical sign that the tool moved from kernel-maintainer specialty into the general Unix developer toolbox.

使われ方

Maintainers use b4 commands such as mbox, am, shazam, diff, pr, ty, review, and kr to fetch patch threads, apply series, compare revisions, process pull requests, send feedback, and work with contributor keys.

Contributors use b4 prep, send, and trailers to prepare patch series, send mail, and collect reviewed-by or acked-by trailers from mailing-list discussion. Configuration is intentionally Git-native, using system, user, repository, and optional .b4-config settings.

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

b4 is package-nerd gold because it packages a culture, not just a command. It encodes the Linux kernel's email-first review workflow into reproducible CLI steps that can be installed on macOS and Linux without joining the whole kernel.org infrastructure by hand.

It also marks the modern public-inbox turn in open-source packaging: source history, review, and artifact provenance are stitched together by message ids, Link trailers, and git metadata rather than by a web forge alone.

タイムライン

  • 2019: b4 documentation copyright begins, matching the period when kernel.org tooling around public-inbox workflows became formalized.
  • 2022: b4 end-user docs cover maintainer and contributor workflows, including patch retrieval, application, diffing, pull requests, and automated feedback.
  • 2026: b4 release notes document newer review and bug-tracking workflows, showing the tool expanding beyond patch retrieval into broader maintainer workflow support.

Related projects

  • public-inbox and lore.kernel.org provide the archived mailing-list substrate b4 works against.
  • git-am is the traditional Git patch-application workflow that b4 helps feed.
  • git-config is the configuration mechanism used by b4.
  • Patchwork and git-bug appear in b4's documented integrations and newer workflow areas.

セキュリティ状態

保護ツール対応はまだ見つかっていません

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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/gitconfig~/.gitconfigsomerepo/.git/config.b4-config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/etc/gitconfig~/.gitconfigsomerepo/.git/config

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
b4cliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版0.15.2
マネージャ更新日2026-05-20
ローカルデータOK
上流not checked
検出された最新未検出

https://b4.docs.kernel.org/en/latest/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:b4
バージョン0.15.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/b4
ホームページhttps://b4.docs.kernel.org/en/latest/
リポジトリhttps://git.kernel.org/pub/scm/utils/b4/b4.git
上流ドキュメントhttps://b4.docs.kernel.org/en/latest
ライセンスGPL-2.0-or-later
ソースアーカイブhttps://files.pythonhosted.org/packages/c3/34/7f17fce52acb992d7b70aaa956e6dec4dc432ce8d195a176f232fcd6315c/b4-0.15.2.tar.gz
最終更新2026-05-20T10:36:58Z
Pulseupdated
依存関係certifi, cffi, libsodium, python@3.14
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameb4
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

b4 0.14.2-2

helper utility to work with patches made available via a public-inbox archive

https://git.kernel.org/pub/scm/utils/b4/b4.git

sudo apt install b4
  • Section: python
  • Architecture: all
  • 6 依存関係
  • normalized package name match
  • 一致条件: B4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: b4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

b4

nix profile install nixpkgs#b4
  • normalized package name match
  • 一致条件: B4
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/b4/b4/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

b4 0.13.0-1

helper utility to work with patches made available via a public-inbox archive

https://git.kernel.org/pub/scm/utils/b4/b4.git

sudo apt install b4
  • Section: universe/python
  • Architecture: all
  • 6 依存関係
  • normalized package name match
  • 一致条件: B4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: b4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

b4 0.15.2-r0

Tool to help with email-based patch workflows

https://b4.docs.kernel.org/

sudo apk add b4
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: b4
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: B4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: b4 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

b4-doc 0.15.2-r0

Tool to help with email-based patch workflows (documentation)

https://b4.docs.kernel.org/

sudo apk add b4-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: b4
  • normalized package name match
  • 一致条件: B4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: b4-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

b4-pyc 0.15.2-r0

Precompiled Python bytecode for b4

https://b4.docs.kernel.org/

sudo apk add b4-pyc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: b4
  • 1 依存関係
  • normalized package name match
  • 一致条件: B4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: b4-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

b4 0.14.3-3.fc45

A helper tool to work with public-inbox and patch series

https://git.kernel.org/pub/scm/utils/b4/b4.git

sudo dnf install b4
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-b4
  • 2 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: B4
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: b4 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

b4 0.15.2-1

Helper utility to work with patches made available via a public-inbox archive like lore.kernel.org.

https://git.kernel.org/pub/scm/utils/b4/b4.git/

sudo pacman -S b4
  • License: GPL-2.0-or-later
  • Architecture: any
  • 5 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: B4
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: b4 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

b4 0.15.2-1.1

Helper scripts for kernel.org patches

https://git.kernel.org/pub/scm/utils/b4/b4.git

sudo zypper install b4
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: b4
  • 7 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: B4
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: b4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

Combined YAML source

View the package source record on GitHub.

combined/b4.yml

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment