Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Catch deprecated and disabled formulae before a bootstrap run does

Đang mở
#59 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
39/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
bash, shell, zsh
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Start by reading install/bootstrap.zsh and the hostdiff brew lens, then trace how brewwr install adds packages. Compare the proposed brew info --json=v2 fields with the existing brew bundle check flow and identify how drift should report dates, reasons, and replacements. Done means deprecated and disabled formulae are surfaced during bootstrap checks and when adding a package.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The name audit done while bringing up `install/bootstrap.zsh` only checked that each formula in `install/brew.d` exists. `xsv` existed, poured from a bottle, and printed:

```
Warning: xsv has been deprecated because it has an archived upstream repository! It was disabled on 2026-04-27.
```

A disabled formula stops installing at some point after its disable date, so the next `xsv` will be found by a VM run, or by a new laptop, rather than by a check. (`xsv` itself is now `xan`.)

Where the check belongs

  • `hostdiff`'s brew lens: after `brew bundle check`, read `brew info --json=v2` for each entry and report `deprecated` / `disabled` with the date and reason as drift, with the fix line naming the replacement when Homebrew gives one.
  • `brewwr install`: refuse, or warn loudly, when the package being added is already deprecated or disabled.

`brew info --json=v2 ` returns `deprecated`, `deprecation_date`, `deprecation_reason`, `disabled`, `disable_date` per formula, so both are a filter over one call. Tap formulae need the tap present; core names can also be read from `https://formulae.brew.sh/api/formula/.json` without Homebrew.

Opened from the bootstrap bring-up, 2026-10-21.

Ngôn ngữ chính
Shell
Star
1
Fork
0
Merge trung bình
14 giờ 36 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của indexzero/dotfiles

Tất cả issue của indexzero/dotfiles

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.