config values can sometimes be globals, not something that needs to be set in configuration
還沒有人認領這個 Issue。
評估
- 難度
- 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 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
scripting/feedlandInstall 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 55/100
scripting/feedlandInstall#79 · 4 則留言 · 2 個 reaction ·
-
難度 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
-
Gradle liquibaseDiffChangelog drops jhi_date_time_wrapper可能已有人在做 @mraible 今天認領。 未關閉area: triage theme: undefined
難度 2/5 1-3 小時 新手友好度 88/100
jhipster/generator-jhipster#35998 ·
維護者通常 1 天內回覆
-
bug good first issue
難度 2/5 1-3 小時 新手友好度 78/100
-
enhancement help wanted
難度 2/5 1-3 小時 新手友好度 68/100
elliotchance/vsql#983 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
paperclipai/paperclip#19077 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
btclib-org/btclib-wallet#675 ·
維護者通常 1 天內回覆