config values can sometimes be globals, not something that needs to be set in configuration
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- mysql
- Lĩnh vực
- databases
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- HTML
- Star
- 11
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của scripting/feedlandInstall
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
scripting/feedlandInstall#79 · 1 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
scripting/feedlandInstall#77 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
scripting/feedlandInstall#76 · 3 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
scripting/feedlandInstall#74 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
scripting/feedlandInstall#73 · 1 bình luận ·
Tất cả issue của scripting/feedlandInstall
Issue tương tự
-
perf(core): getComments() runs the approved count and the comment list as two sequential queriesĐang mởarea/core bot:bug bot:working
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
emdash-cms/emdash#3905 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Arkansas 2025 tax is $1.70 high above $100,000 net taxable income ($3,809 + 3.9% rule)Có thể đã có người làm @PavelMakarchuk đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
PolicyEngine/policyengine-us#9828 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[destination-snowflake] Custom domains rejected unlike source connectionsCó thể đã có người làm @kuza55 đã nhận hôm nay. Đang mởautoteam community connectors/destination/snowflake team/use
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
cybersemics/treecrdt#267 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100