brew: consolidate trusted third-party taps into install/brew.d/taps

未关闭 适合新手
#67 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
85/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
shell
领域
tooling

调研方向

阅读 install/brew 和 brew.d 下的 Brewfile,了解目前如何收集并信任 tap。添加 install/brew.d/taps,列出每个第三方 tap 及其原因,然后更新 install/brew,使其使用该文件,并报告其中缺失的任何 Brewfile tap。完成标准是:信任只来自 taps,且缺少条目时会停止安装并显示明确的消息。

由索引模型根据 Issue 内容生成。

描述

Each third-party tap in brew.d was trusted on purpose, when its package
was installed. That decision is recorded only by its presence in a
Brewfile. install/brew finds every tap named in brew.d and runs
brew trust --tap on each.

The Brewfiles name eight third-party taps today:

charmbracelet/tap   drolosoft/tap   fastly/tap   openai/tools
rtk-ai/tap          vshulcz/tap     withgraphite/tap   xwmx/taps

The trust is the same either way. What changes is where it is written
down. Put it in one file, with a reason per tap.

Do

  1. Add install/brew.d/taps. One tap per line, with a reason:

     # <tap>             # why
     fastly/tap          # fastly CLI
     withgraphite/tap    # gt, stacked PRs
    
  2. Trust the taps in that file. Remove the loop that collects them from
    the Brewfiles.

  3. If a Brewfile names a tap that taps does not, stop. Print the tap
    and the Brewfile.

Done when

  • install/brew.d/taps lists each third-party tap with a reason.
  • install/brew reads trust from that file only.
  • A tap in a Brewfile but not in taps fails the install with a clear
    message.
主要语言
Shell
星标
1
派生
0
平均合并
9 小时 5 分钟
30 天内合并 PR
5

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

indexzero/dotfiles 的其他 Issue

查看 indexzero/dotfiles 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。