brew: check installed apps against their pins after self-update
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
Direzione di ricerca
This depends on #65, which provides the pins and verify-casks --installed; read that issue and inspect the existing dotfiles doctor command entry point. Start by running the installed-cask check and trace how its results can be reported. Done when one command reports each installed cask's signer state, stays silent on success unless asked, and fails when a pin is changed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Brew installs an app once. After that, the app updates itself. Ten of
the thirteen desktop casks set auto_updates. Their updaters deliver
all later code. Brew does not see it.
The pins from #65 still apply. An update signed by a different team is
the event to catch.
Do
Run verify-casks --installed on a schedule. Two choices:
- A launchd agent, daily. It writes failures to a log and posts a
notification. - A
dotfiles doctorsubcommand, run by hand.
Start with the subcommand. Add the agent if the subcommand is forgotten.
Output
One line per app. Say nothing on success unless asked.
FAIL signer: /Applications/Slack.app is not signed by BQR82RBBHL
FAIL gatekeeper: /Applications/eul.app is not notarized
UNPINNED tolaria
Not in scope
The check does not stop a bad update. It finds one after the fact. To
stop updates, disable the updater. That trades a rare risk for a
constant one: browsers and password managers then wait for a manual
bump. Do not do that.
Done when
- One command reports the signer state of every installed cask.
- Changing a pin by one character makes that command fail.
Depends on #65.
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di indexzero/dotfiles
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
Tutte le issue di indexzero/dotfiles
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
richardcase/skills#29 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
openziti/helm-charts#427 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
blocked
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 73/100
fullsend-ai/agents#1908 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno