ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Provider: Initialization

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

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

主要言語
Python
スター
18
フォーク
10
平均マージ
2日 20時間
マージ済み PR(30日)
14

説明

Is your feature request related to a problem?

Provider names are currently stored as plain strings in the database. This means there's no single source of truth for valid
providers, leading to potential inconsistencies and making it harder to manage providers across organizations.

Describe the solution you'd like

Add a provider table to the global schema (similar to the recently added languages table). This would:

  • Define all supported providers in one place
  • Allow organizations to add credentials to their project referencing this table via foreign key
  • Replace free-text provider strings with proper references, ensuring data consistency
  • Make it easy to onboard new providers once and have them available across all orgs

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

この issue ではファイルやテストが指定されていません。まず、最近追加された languages table と、プロジェクトの認証情報および provider 文字列が保存されている schema または models を見つけます。対応している provider に単一のグローバルなソースがあり、認証情報がそれを参照し、既存の provider 値が一貫して扱われていれば完了です。

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

評価

技術スタック
python
領域
backend, databases
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

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

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