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

Proposal: Add `devcontainers init` command similar to `devcontainerize`

オープン
#890 コメント 3 件 リアクション 2 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

まず既存のCLI構造を確認し、devcontainerizeツールおよびdevcontainers/imagesリポジトリと比較します。公式の devcontainers init コマンドがプロジェクトの種類を検出し、適切なDockerfileとdevcontainer.jsonを取得して .devcontainer を作成し、Gitリポジトリ内の .gitignore を必要に応じて更新できれば完了です。

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

説明

feature-request

Hello devcontainers team,

I've recently created a tool called devcontainerize (https://www.npmjs.com/package/devcontainerize, https://github.com/mathdroid/devcontainerize) that automatically detects a project's type and sets up the appropriate devcontainer configuration.

The tool:

  1. Detects the project type based on files in the current directory.
  2. Fetches appropriate Dockerfile and devcontainer.json from the devcontainers/images repository.
  3. Creates a .devcontainer directory with these files.
  4. Optionally adds .devcontainer to .gitignore if in a Git repository.

I believe a similar functionality could be valuable as part of the official devcontainers CLI, potentially as a devcontainers init command.

I'm keen to contribute this functionality to the official CLI if the team is interested. This could help streamline the process of setting up devcontainers for various project types and improve the overall developer experience.

Would you be open to discussing this further? I'd be happy to provide more details about the implementation or discuss how we could adapt it to fit within the existing CLI structure.

主要言語
TypeScript
スター
3k
フォーク
461
平均マージ
18分
マージ済み PR(30日)
5

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

devcontainers/cli のほかの issue

devcontainers/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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