Repo checker: a clean result on two targets says "a wheel for all 2 targets"
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, node.js
Línea de trabajo
La redacción incorrecta viene de la línea where en verdictText() en site/check/check-logic.mjs, que muestra “todos los 2 targets” para dos targets. Repróducelo llamando a verdictText en Node con targets en 1, 2 y 3. Está listo cuando el encabezado para dos targets dice “ambos targets”, la redacción para uno y para tres o más sigue igual, y node --test tests/site/check-logic.test.mjs pasa con casos nuevos para 1, 2 y 3 targets, con y sin paquetes notChecked.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A clean result on two targets gets the headline "All 3 packages have a wheel for all 2 targets". Read from verdictText() in site/check/check-logic.mjs on main and run in Node:
verdictText({packages: 3, gaps: 0, unknown: 0, targets: 2}) -> "✓ All 3 packages have a wheel for all 2 targets"
verdictText({packages: 3, gaps: 0, unknown: 0, targets: 5}) -> "✓ All 3 packages have a wheel for all 5 targets"
"all 2" isn't how anyone says it; "both targets" is. Two targets is a common pick (Linux x86_64 and Linux ARM64, say), so this is the headline many visitors see first. The gaps headline for two targets ("at least one of the 2 targets") reads fine and isn't part of this.
Where
verdictText() in site/check/check-logic.mjs: const where = h.targets === 1 ? "this target" : \all ${h.targets} targets`;`
What to do
- Make
where"both targets" for 2, keep "this target" for 1 and "all N targets" for 3 or more. - Check whether any other text built from the same count says "all 2" (
shareText()says "2 platforms", which is fine) and fix it the same way if so.
Done when
- Tests in
tests/site/check-logic.test.mjsfor 1, 2 and 3 targets, with and without packages left unchecked (notChecked). The 2-target ones fail onmain. -
node --test tests/site/check-logic.test.mjspasses. The tests need no network.
- Lenguaje dominante
- JavaScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 1 h 37 min
- PR fusionados (30 d)
- 134
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wheelgap/tracker
-
bug good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
Los mantenedores suelen responder en 1 día
Todos los issues de wheelgap/tracker
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
louislam/uptime-kuma#8257 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
good first issue help wanted translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
bug documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día