macOS
brew install braidlocal Homebrew formula metadata
安装
brew install braidlocal Homebrew formula metadata
概览
Simple tool to help track vendor branches in a Git repository
历史
Braid is a Ruby command-line tool for tracking vendored Git repositories inside another Git repository. It records vendored mirrors in .braids.json and provides commands to add, update, diff, and push changes back.
The GitHub repository for Braid was created in February 2008. Its official site frames the project around the old vendoring problem: projects often copied third-party source into their tree, then struggled to update it or send local changes upstream.
Braid's solution is to keep metadata about the external repository, branch, tag, revision, or subdirectory in .braids.json. That gives a plain Git repository enough memory to update a vendored copy later without converting the vendored directory into a nested repository.
The official documentation presents RubyGems installation with gem install braid, while the input facts record Homebrew packaging. Its audience is narrower than Git itself: teams that deliberately vendor source and need repeatable updates.
Braid remained useful where teams preferred checked-in source copies over package-manager references, especially when local patches or co-evolution with the upstream library made binary package dependencies awkward.
Typical usage starts with braid add <repo> <path>, which vendors a remote Git repository into a project path and updates .braids.json. Later, braid update pulls upstream changes, braid diff emits local changes as a patch, and braid push can send local changes back to a source branch.
The documentation also covers pinning to branches, tags, or revisions and selecting subdirectories from a remote repository, making Braid a lightweight alternative to manual copy-and-patch vendoring.
Braid is interesting because it sits at the boundary between dependency management and version control. It preserves vendored source inside one repository while adding just enough metadata to make updates reproducible.
For package historians, it captures a pre-monorepo, pre-lockfile style of dependency handling common in Ruby and web projects: when package registries existed, but teams still wanted patched source in-tree.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
<repository-root>/.braids.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
braid | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/cristibalan/braid
安装元数据
| 软件包键 | brew:braid |
|---|---|
| 版本 | 1.1.10 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/braid |
| 主页 | https://cristibalan.github.io/braid/ |
| 仓库 | https://github.com/cristibalan/braid |
| 上游文档 | https://cristibalan.github.io/braid |
| 许可证 | MIT |
| 源码归档 | https://github.com/cristibalan/braid/archive/refs/tags/v1.1.10.tar.gz |
| 最后更新 | 2026-04-20T01:21:19Z |
| Pulse | updated |
| 依赖 | ruby |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | braid |
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.