Check the Terraform version from .terraform-version
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 2
- フォーク
- 3
- 平均マージ
- 10時間 51分
- マージ済み PR(30日)
- 40
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Evalogical-Inc/devReady のほかの issue
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Evalogical-Inc/devReady#71 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Evalogical-Inc/devReady#66 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 3〜5日 初心者へのやさしさ 72/100
Evalogical-Inc/devReady#61 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
Evalogical-Inc/devReady#72 ·
メンテナーはふだん 1 日以内に返信
-
Read the Java pin from .sdkmanrc対応中かも @Utkarsh3725 が今日担当しました。 オープンenhancement good first issue help wanted
難易度 3/5 半日 初心者へのやさしさ 74/100
Evalogical-Inc/devReady#70 ·
メンテナーはふだん 1 日以内に返信
Evalogical-Inc/devReady の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dbt-labs/spark-utils#51 ·
-
bug pydanty:is-working
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pydantic/pydantic-ai#13444 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
good first issue help wanted
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
changelog investigate
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
ramnes/notion-sdk-py#502 ·