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

オープン
#1,237 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
16
フォーク
71
平均マージ
21分
マージ済み PR(30日)
27

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

regro/regolith のほかの issue

regro/regolith の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。