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

Abierto
#1,237 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
16
Forks
71
Merge medio
21 min
PR fusionados (30 d)
27

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de regro/regolith

Todos los issues de regro/regolith

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.