Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Catch deprecated and disabled formulae before a bootstrap run does

Aperta
#59 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
39/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bash, shell, zsh
Ambito
cli, tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Shell
Stelle
1
Fork
0
Merge medio
9h 5m
PR unite (30g)
5

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di indexzero/dotfiles

Tutte le issue di indexzero/dotfiles

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.