config values can sometimes be globals, not something that needs to be set in configuration
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Refactoring
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- mysql
- Bereich
- databases
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- HTML
- Sterne
- 11
- Forks
- 4
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus scripting/feedlandInstall
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
scripting/feedlandInstall#79 · 1 Kommentar · 1 Reaktion ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 55/100
scripting/feedlandInstall#77 · 3 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
scripting/feedlandInstall#76 · 3 Kommentare ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 20/100
scripting/feedlandInstall#74 · 3 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 20/100
scripting/feedlandInstall#73 · 1 Kommentar ·
Alle Issues in scripting/feedlandInstall
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
First install: chat-model install reports failure on a fresh library (settings.key UNIQUE race)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
[P2] Workspace updates silently ignore forbidden assignments while staging the rowEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag