Default to version: "current" instead of version: "latest" for Prism 2.0?
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
Start with the linked Ruby bug discussion and the existing Prism version option behavior. Assess the compatibility consequence described here—raising when Prism lacks a parser for RUBY_VERSION—and whether defaulting to "current" is appropriate for Prism 2.0; done means the default and its consequences are clearly decided.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Coming from https://bugs.ruby-lang.org/issues/22379#note-13 and previous discussions on this topic, I think it would be more intuitive and less error-prone for most Prism users for the default version to be "current" and not "latest".
Another POV, if there was no default for the version, would there be more people specifying "current" or "latest"? I suspect more for "current" and "latest" would actually be pretty rare. I think most Prism use cases want either "current"/"nearest" or a fixed version, and rarely "latest".
Is that something that could be considered for the upcoming Prism 2.0?
Known consequences:
- It will raise an exception if Prism doesn't have a parser for
RUBY_VERSION. I think this is fine, and make people think about the right solution (update to a newer Prism, run on a newer Ruby, use "latest"/"nearest" knowing it won't be the exact grammar, etc).
- Linguagem predominante
- C
- Estrelas
- 1k
- Forks
- 198
- Merge médio
- 7h 59min
- PRs com merge (30d)
- 61
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ruby/prism
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
ruby/prism#4305 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 70/100
ruby/prism#4304 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
[cmocka] update to 2.0.2Abertaupdate-request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
msys2/MINGW-packages#33004 ·
Mantenedores costumam responder em até 1 dia
-
area:buffer good first issue type:documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
sudo-project/sudo#586 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
OpenPrinting/cups#1795 ·
Mantenedores costumam responder em até 1 dia