Make status information available as JSON
- Lingua principale
- Go
- Stelle
- 13.6k
- Fork
- 1.4k
- Merge medio
- 2h 31m
- PR unite (30g)
- 4
Descrizione
It would be great if we could get the status info available as JSON, perhaps with a `status-json` command. This would make things easier to parse by other tools and more future-proof as we don't have to think about how to format the data as new status fields get added.
This could also be made available to the `gh-ost-on-status` hook via a `GH_OST_STATUS_JSON` env var.
Related to #242 since adding more fields requires us to think about formatting.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il comando status esistente e il punto di ingresso dell’hook gh-ost-on-status. Determina come vengono prodotti attualmente i campi di stato, quindi definisci l’output JSON per un comando status-json e il valore dell’hook GH_OST_STATUS_JSON; il lavoro è completo quando entrambi i consumer ricevono dati di stato analizzabili man mano che i campi evolvono.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- go, mysql
- Ambito
- cli, database
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100