Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#55 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
mysql
Domínio
databases

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
HTML
Estrelas
11
Forks
4
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de scripting/feedlandInstall

Todas as issues de scripting/feedlandInstall

Issues semelhantes

Mais issues de Databases

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.