Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Resolve and validate tool versions against the installed parent version

オープン
#7,669 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, typescript
領域
backend, devtools

調査の方向性

Start with install-tool.service.ts and the npm resolver metadata; then read python/schema.ts to see how PyPI runtime requirements are parsed. Compare how version resolution and installation handle parent versions for npm, PyPI, and RubyGems. Done means compatible releases are selected and explicitly requested incompatible versions produce the agreed behavior; the issue leaves exact-version handling and missing or unparseable ranges open.

索引モデルが issue の本文から書いたものです。

説明

status:ready type:feature

Tools with a parent (npm tools and vp on node, pip tools on python, gems on ruby, gradle/maven/sbt on java, composer on php, elixir on erlang, …) only check that some parent version is installed (install-tool.service.ts, MissingParent). Neither version resolution nor installation looks at which parent versions the tool actually supports. So install-tool can install a version that doesn't run on the current parent, or resolve latest to a release requiring a newer runtime, and the failure only shows up later. This came up in #7338 for Vite+, which needs a supported Node range for vp sync-versions.

Proposal:

  • Resolve against the parent: when resolving latest or a partial version, skip releases whose declared runtime range excludes the current parent version, where the registry provides it:
    • npm: engines.node, already present in the abbreviated metadata the npm resolver fetches
    • PyPI: requires_python, already parsed in python/schema.ts but unused
    • RubyGems: required_ruby_version
  • Validate on install: reject an explicitly requested version whose range excludes the installed parent, with a clear error, instead of installing it and failing at runtime.
  • Tools without registry metadata (e.g. gradle/maven on java, buildx on docker): optionally a static minimum parent version per tool service.

Open questions: whether an incompatible exact version should fail or only warn (Renovate pins exact versions), and how to treat a missing or unparseable range (probably: allow).

(Issue drafted by Claude Opus 5.5 in Claude Code on behalf of @viceice.)

主要言語
TypeScript
スター
58
フォーク
65
平均マージ
11時間 31分
マージ済み PR(30日)
443

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

containerbase/base のほかの issue

containerbase/base の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。