Check the Terraform version from .terraform-version
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
Start in src/devready/checks/runtimes.py, where the RUNTIMES table and the _first_version pin extractor live, then check open pull request #74 before writing anything. Also look at the explain.py entries, docs/checks.md and the existing unit tests for the other runtime pins. Done means .terraform-version with 1.7.5 gives one warn when Terraform 1.5 is installed, latest gives no pin result, and pytest, ruff check and ruff format --check all pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem: Terraform repos pin the CLI with .terraform-version (tfenv/tenv) or .tool-versions (terraform 1.7.5). A wrong Terraform version can rewrite state in a newer format, so it is worth catching early. DevReady does not check it.
Do:
- Add a
terraformrow toRUNTIMESinsrc/devready/checks/runtimes.py(exeterraform, argsversion,.tool-versionsnameterraform). - Pin file:
.terraform-versionwith_first_version. Values such aslatestormin-requiredmust give no result (the extractor returnsNone). Idproject.terraform.pin, miss =warn. - Add the
explain.pyentry, adocs/checks.mdrow, a CHANGELOG line, the README check list mention and unit tests (plain version,latest, missing terraform, too old).
Done when:
.terraform-version=1.7.5with Terraform 1.5 installed gives onewarn..terraform-version=latestgives no pin result.
Out of scope: required_version inside *.tf files (needs a file glob; can be a follow-up issue).
Done when: see the list above, plus pytest, ruff check and ruff format --check pass.
Notes:
- Read-only: never execute project files, never echo file contents; only a validated version or spec reaches the report.
- No network, no new runtime dependencies (Python >= 3.10 stdlib only).
- Comment below to claim it and I will assign you.
- Lenguaje dominante
- Python
- Estrellas
- 2
- Forks
- 3
- Merge medio
- 10 h 51 min
- PR fusionados (30 d)
- 40
Preparar el entorno
- 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 Evalogical-Inc/devReady
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Evalogical-Inc/devReady#71 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Evalogical-Inc/devReady#66 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 3-5 días Aptitud para principiantes 72/100
Evalogical-Inc/devReady#61 ·
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
Evalogical-Inc/devReady#72 ·
Los mantenedores suelen responder en 1 día
-
Read the Java pin from .sdkmanrcPosiblemente ocupada @Utkarsh3725 la tomó hoy. Abiertoenhancement good first issue help wanted
Dificultad 3/5 Medio día Aptitud para principiantes 74/100
Evalogical-Inc/devReady#70 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Evalogical-Inc/devReady
Issues similares
-
Contributing instructionsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
dbt-labs/spark-utils#51 ·
-
bug pydanty:is-working
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pydantic/pydantic-ai#13444 ·
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
good first issue help wanted
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
-
changelog investigate
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
ramnes/notion-sdk-py#502 ·