Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 b4

查看 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 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

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