coder / coder/envbuilder

feat: add `envbuilder install-feature` command

オープン
#361 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
300
フォーク
64
平均マージ
20分
マージ済み PR(30日)
1

説明

I am looking into adding a module to the registry that would let template administrators install Dev Container features inside Coder Workspaces (even outside of `envbuilder`).

I think `envbuilder` already has the logic to install features, so I think the most logical thing to do would be to create a separate command just to install a given feature.

While Dev Container features are only shell scripts, there is still some logic needed for arguments in the manifest, e.g `dependsOn`.

See https://github.com/coder/modules/issues/307 for more context.

## Usage

`envbuilder install-feature `
Ideally, `source` could be either a Git URL, a local folder or a path to an image.

---

cc: @johnstcn

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、envbuilder にある既存の Dev Container feature のインストールロジックを見つけ、feature manifest が引数と dependsOn をどのように扱うかを確認します。コンテキストとして coder/modules#307 を読み、その後、Git URL、ローカルフォルダー、イメージパスに対するコマンドのスコープを判断します。完了条件は、文書化された install-feature コマンドが合意済みのソース形式と依存関係の処理をサポートすることです。

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

評価

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

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

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