would like an idempotent humility flash with verification
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Individua il punto di ingresso del comando flash e confronta il modo in cui --check e --verify determinano i relativi stati di uscita. Aggiungi la modalità idempotente richiesta, in modo che la verifica continui ad avere esito positivo con stato 0 quando la ROM corrisponde già, quindi prova il comportamento esistente della verifica di flash e conferma che lo stato normale non idempotente rimanga invariato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Right now, the humility flash --verify command does almost everything we want: it checks not merely the image ID but also the ROM contents to make sure they match the image. Somewhat regrettably it then exits with a non-zero status code if the image is actually correct, informing the user that they should rerun with --force if they want to rewrite the ROM even though it ostensibly matches.
I think this behaviour is useful in the cases where you expect that the ROM is not correct and want to know if your expectations are not met. However, in manufacturing we have to do basically this every time:
if ! humility flash --check; then
humility flash --verify
fi
It would be really helpful if there was a humility flash --verify --idempotent (or whatever) that does what flash --verify does today, but which still exits 0 if it did not have to do any work.
- Lingua principale
- Rust
- Stelle
- 587
- Fork
- 64
- Merge medio
- 2g 15h
- PR unite (30g)
- 5
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 oxidecomputer/humility
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
oxidecomputer/humility#737 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
oxidecomputer/humility#730 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
oxidecomputer/humility#729 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
oxidecomputer/humility#723 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
oxidecomputer/humility#705 · 12 commenti ·
Tutte le issue di oxidecomputer/humility
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
dependencies effort:low flow:chore rust
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
jaroslawherod/micold-ai-ide#875 ·
I maintainer di solito rispondono entro 1 giorno
-
priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
storytold/photocraft#6286 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Four problem loader browser tests fail on WindowsForse già presa @Patriciaath999 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Kazakh (kk_KZ) and Georgian (ka_GE) system locales get English instead of the shipped translationsApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno