`get_development_flag` does a database check if COLLECTOSS_DEV is not present in an environment variable

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

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

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

評価

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

調査の方向性

Read collectoss/application/config.py at lines 31–32 and collectoss/tasks/github/issues.py at line 21 to trace how get_development_flag is configured and used. Check how the value is fetched when COLLECTOSS_DEV is unset and whether that triggers a database check during import; done means the flag can be fetched without that unintended database dependency.

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

説明

needs-plan

The way that fetching this variable is configured may create a dependency on the database if it isnt specified on the command line
https://github.com/chaoss/CollectOSS/blob/52c792684a31b126f5b078c3faa4675279b9caf7/collectoss/application/config.py#L31-L32

this is used in

https://github.com/chaoss/CollectOSS/blob/52c792684a31b126f5b078c3faa4675279b9caf7/collectoss/tasks/github/issues.py#L21

This is a low priority issue to flag this as it could be partially working against our goal of reducing the amount of weirdness that happens at import time in CollectOSS.

主要言語
Python
スター
17
フォーク
30
平均マージ
6時間 16分
マージ済み PR(30日)
9

環境構築

はじめの一歩

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

chaoss/CollectOSS のほかの issue

chaoss/CollectOSS の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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