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 · 1 条评论 · 1 个 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
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
zcashlabs/thus-spoke-zakura#153 ·
维护者通常 1 天内回复
-
core
难度 2/5 1-3 小时 新手友好度 82/100
vectorize-io/hindsight#5276 ·
维护者通常 1 天内回复
-
duplicate request-theme
难度 1/5 1 小时以内 新手友好度 72/100
LizardByte/ThemerrDB#8856 · 1 条评论 ·
维护者通常 1 天内回复
-
perf(core): getComments() runs the approved count and the comment list as two sequential queries未关闭area/core bot:bug bot:working
难度 2/5 1-3 小时 新手友好度 76/100
emdash-cms/emdash#3905 · 2 条评论 ·
维护者通常 1 天内回复
-
Arkansas 2025 tax is $1.70 high above $100,000 net taxable income ($3,809 + 3.9% rule)可能已有人在做 @PavelMakarchuk 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
PolicyEngine/policyengine-us#9828 ·
维护者通常 2 天内回复