Automic VaultAutomic Vault

brew

使用 Homebrew 安装 bazel-diff

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bazel-diff

local Homebrew formula metadata

概览

软件包摘要

Performs Bazel Target Diffing between two revisions in Git

命令和别名

  • bazel-diff

历史

项目历史与用法

bazel-diff is Tinder's command-line utility for computing the Bazel targets affected between two Git revisions, letting CI systems build or test the precise changed target set instead of rerunning an entire monorepo.

项目历史

The upstream repository begins in September 2020 with a v1.0-era implementation of Bazel target diffing. Its README frames the project as an answer to a gap in Bazel itself, pointing to the long-running Bazel feature request for native target diffing and to a BazelCon talk as design inspiration.

The tool's implementation history is tied to very large Bazel graphs: the README calls out streamed protobuf query output, avoidance of long command-line query lists, support for renamed/deleted/modified files, and testing against projects with tens of thousands of targets.

采用历史

Adoption is strongest among Bazel monorepo users who need deterministic affected-target selection for pull-request CI. The Homebrew formula packages it as a standalone CLI, making it accessible outside the original Tinder repository.

Later README additions describe an experimental HTTP query service and cached hash generation, showing a shift from one-shot local comparison toward always-on CI infrastructure for large repositories.

使用方式

A typical workflow checks out a base revision, generates Bazel graph hashes, checks out a final revision, generates hashes again, and runs get-impacted-targets to emit the changed target labels as JSON.

The tool is used when correctness matters more than approximate file globs: its docs explicitly warn that incorrect affected-test selection erodes trust in green-to-red CI transitions.

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

For package-history nerds, bazel-diff is a good example of the post-Bazel ecosystem filling operational gaps around monorepo CI rather than replacing Bazel itself.

It also illustrates why Bazel-adjacent packages often matter more as automation primitives than as developer-facing build tools: the interesting artifact is the affected-target JSON consumed by CI.

时间线

  • 2020-09: Upstream git history starts with the initial v1.0-era bazel-diff code.
  • 2020s: Homebrew packages bazel-diff as a standalone CLI for macOS and Linux users.
  • 2020s: README-documented features expand to build graph distance metrics and an experimental long-running query service.

Related projects

  • Bazel supplies the query and build graph model that bazel-diff analyzes.
  • Aspect's impacted command is documented by bazel-diff as a Starlark/Aspect CLI way to expose a similar impacted-target workflow.
  • Bazelisk is commonly paired with bazel-diff in CI so the Bazel binary used for graph hashing matches the workspace's pinned version.

安全态势

尚未找到受保护工具覆盖

没有找到 bazel-diff 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bazel-diffcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本31.3.2
管理器更新时间2026-07-08
本地数据OK
上游当前
检测到的最新版本v31.3.2

https://github.com/Tinder/bazel-diff

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:bazel-diff
版本31.3.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bazel-diff
主页https://github.com/Tinder/bazel-diff/
仓库https://github.com/Tinder/bazel-diff
上游文档https://github.com/Tinder/bazel-diff#readme
许可证BSD-3-Clause
源码归档https://github.com/Tinder/bazel-diff/archive/refs/tags/v31.3.2.tar.gz
最后更新2026-07-08T03:19:16Z
Pulseupdated
依赖openjdk
构建依赖bazel
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment