Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

config values can sometimes be globals, not something that needs to be set in configuration

Đang mở
#55 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của scripting/feedlandInstall

Tất cả issue của scripting/feedlandInstall

Issue tương tự

Thêm issue về Databases

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.