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

オープン 初心者向け
#67 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
85/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
shell
領域
tooling

調査の方向性

install/brew と brew.d の下にある Brewfile を読み、現在 tap がどのように収集され、信頼されているかを確認してください。各サードパーティ tap とその理由を記載した install/brew.d/taps を追加し、次に 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分
マージ済み PR(30日)
5

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

indexzero/dotfiles のほかの issue

indexzero/dotfiles の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。