Fix test fixture, README provenance and remaining Windows-only polish
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 62/100
Línea de trabajo
Empieza con el fixture TestCompareWindowsOnly en plugin/scripts/godebugdiff_test.go, donde winreadlinkvolume se espera como Changed: 26 y debería ser 23. Reproduce el punto 1 comentando c.WindowsOnly = isWindowsOnly(k) en compare() y revisa la URL en el mensaje de fallo. Está listo cuando el fixture verifica 23 con la URL #go-123 y comprueba Before, After y Package, y examples/README.md indica en un solo lugar la toolchain de cada archivo.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up from #12:
- TestCompareWindowsOnly (plugin/scripts/godebugdiff_test.go) gives winreadlinkvolume Changed: 26. The real value is 23, so the change gets the URL go.dev/doc/godebug#go-126 instead of #go-123. To reproduce: comment out c.WindowsOnly = isWindowsOnly(k) in compare() and run the test; the failure message prints URL:https://go.dev/doc/godebug#go-126. Use 23. The test also ignores the second value compare() returns and never checks Before, After or Package. Asserting them costs nothing.
- The WindowsOnly field comment now says "Windows-specific setting", but isWindowsOnly only checks the "win" name prefix. Make the comment match the rule, or derive the mark from an explicit list.
- examples/README.md line 12 still says the real outputs were made with Go 1.27.3, and the new line 24 says cobra.txt was redone with Go 1.27.4. Put the toolchain for each file in one place, for example a column in the table.
- Item 3 of #11 is still open, although #12 closes #11: the "No binary imports the package, so no effect" section still adds "(Windows only)". To reproduce: run from 1.22 to 1.23 on a module whose only binary is an empty func main() {}. Also, windowsOnly still uses omitempty while goCommand is always emitted, and the report does not tell Linux-only services that they can ignore the pins for Windows-only settings.
GillMacedo
- Lenguaje dominante
- Go
- Estrellas
- 0
- Forks
- 3
- Merge medio
- 4 h 55 min
- PR fusionados (30 d)
- 4
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 GillMacedo/godebugdiff
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Add a --only flag to filter by packagePosiblemente ocupada @snehaapratap la tomó hace 13 días. Abiertogood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
-
Read the go line from go.work in workspace modePosiblemente ocupada @ducnhan123-co la tomó hace 12 días. Abiertogood first issue
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
GillMacedo/godebugdiff#4 · 1 comentario ·
-
good first issue
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Todos los issues de GillMacedo/godebugdiff
Issues similares
-
good first issue severity: low tech-debt
Dificultad 2/5 Medio día Aptitud para principiantes 75/100
TMHSDigital/subenum#329 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
GillMacedo/racesift#14 ·
-
IsTextFile reads the whole file into memory (OOM on large files in the file watcher)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
gtsteffaniak/filebrowser#3395 ·
Los mantenedores suelen responder en 1 día
-
effort:s impact:low raised-by:worker risk:low
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
medici-finance/assay#6496 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
kind/bug require/reproduce require/severity
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día