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

File extensions does not have to be .alert .dashboard

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

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

enhancement

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

alert
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

  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 box/wavectl

Tutte le issue di box/wavectl

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.