File extensions does not have to be .alert .dashboard
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 32/100
Direzione di ricerca
Inizia tracciando il modo in cui i comandi pull e push determinano le estensioni dei file delle risorse; l’issue non indica file o test specifici. Verifica che le risorse di alert e dashboard possano usare .json in modo coerente, e verifica che entrambi i comandi continuino a leggere e scrivere la stessa estensione quando viene fornito il tipo di risorsa.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We are talking about the files where wavectl stores the json representation of resources. ( Alerts or Dashboards)
The file syntax is actually .json.
So for IDE support aspect, it makes sense to use the extension json.
The wavectl command could read the expected extension in an environment variable. But, I am actually not sure whether this is necessary. I do not think there is anything fundamental in the implementation that would break if we changed the .alert extension to .json.
In wavectl commands the user needs to specify the resource type already. For example
wavectl pull
wavectl push dashboard
So as long as the pull and the push command's file extension expectations are the same, using .json should work simply.
- Lingua principale
- Python
- Stelle
- 16
- Fork
- 10
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la 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 box/wavectl
-
documentation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
Add coverage tests Apertatestplan
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
testplan
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·