fix: update schema where necessary to make rg-db-group checks run without warnings

Aperta
#1,237 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start by running the rg-db-group checks and reviewing the warnings against schemas.json. Identify which values should be added to the schema's eallowed fields and which require updates to the rg-db-group databases. The work is done when the checks run without these warnings.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

Warnings abound when rg-db-group checks are run:
e.g. (but there are many more)

/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "backburner" is not in the preferred entries for "status", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "pr" is not in the preferred entries for "type", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "skeleton" is not in the preferred entries for "type", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "pending" is not in the preferred entries for "status", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "converge" is not in the preferred entries for "status", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "deliverable" is not in the preferred entries for "type", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "finish" is not in the preferred entries for "status", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "sent" is not in the preferred entries for "type", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "tbd" is not in the preferred entries for "type", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "beamtime" is not in the preferred entries for "type", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "Masters Researcher" is not in the preferred entries for "position", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
/usr/share/miniconda/envs/test/lib/python3.11/site-packages/regolith/schemas.py:186: UserWarning: "masters" is not in the preferred entries for "status", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.
  warn(
Proposed solution

we would like to get rid of these warnings. Some will require updating the databases in rg-db-group, but some are errors because we need to add desired vallues to eallowed fields in schemas.json here in regolith

Lingua principale
Python
Stelle
16
Fork
71
Merge medio
21m
PR unite (30g)
27

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna 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 regro/regolith

Tutte le issue di regro/regolith

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.