config values can sometimes be globals, not something that needs to be set in configuration
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- mysql
- 領域
- databases
調査の方向性
Review the config declaration and the FeedLand startup code in feedland.js around line 1516, where config.flFeedsHaveIds and config.mysqlVersion are set. Trace how these values are described in the installation material and identify the change needed to distinguish software-set globals from installer configuration. Done means the distinction is unambiguous and the initialization no longer causes confusion.
索引モデルが issue の本文から書いたものです。
説明
BTW, there was some confusion as to whether config.flFeedsHaveIds needs to be set by the installation. It doesn't and it shouldn't.
config values can also be globals, set by the software itself, and this is one of those values.
When feedland server boots up, it checks to see if the feeds table has an ID column, and if it does, it sets config.flFeedsHaveIds true, otherwise false, overwriting whatever the installer put there. It probably shouldn't be initialized to false in the declaration of config, because that is itself confusing.
At this time there is only one other value like this, config.mysqlVersion. Both values are set in the startup code in feedland.js.
So to summarize, sometimes config.x is a global not really a config value.
- 主要言語
- HTML
- スター
- 11
- フォーク
- 4
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
scripting/feedlandInstall のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
scripting/feedlandInstall#79 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
scripting/feedlandInstall#77 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
scripting/feedlandInstall#76 · コメント 3 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
scripting/feedlandInstall#74 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
scripting/feedlandInstall#73 · コメント 1 件 ·
scripting/feedlandInstall の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
Add: YRF Musicオープンcheck:passed feeds:add
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
iptv-org/database#37102 · コメント 2 件 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
oracle/go-oracledb#105 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
WingedGuardian/GENesis-AGI#3095 ·
メンテナーはふだん 1 日以内に返信