Move to using ubuntu as base with feature already installed for devcontainer
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- bash, docker, python, ubuntu, zsh
調査の方向性
devcontainer.json と既存の base-container セットアップを確認し、python-copier-template と epics-containers がそれをどのように利用するかを追跡します。Ubuntu LTS イメージに uv、bash、zsh、bash-config feature が含まれていることを確認し、生成された設定で永続的な bash-config mount が提供されることを検証します。
索引モデルが issue の本文から書いたものです。
説明
At the moment we:
- Use
python:3.xxas the base container - Make a venv
- Install into it and use that
- Apply the
bash-configfeature on top
This means that vscode is taking up to 30s adding in the feature every time. We were thinking of putting the feature in the base container for epics-containers but publishing this for multiple python bases would be prohibitive for the copier template.
However with uv we now have a different option:
- Publish an ubuntu LTS derived devcontainer with uv, bash and zsh, and the
bash-configfeature installed - Use it for both
python-copier-templateandepics-containers - Get
uvto manage the version of python
This should allow us to have a much better out of the box experience by pulling a single rarely changing base image that will be used for many purposes. The only downside is that every devcontainer.json will need to provide the mount of ${localEnv:HOME}/.config/bash-config to do persistent history, but as we use copier that is easy to arrange for.
As discussed with @gilesknap @callumforrester
- 主要言語
- Jinja
- スター
- 25
- フォーク
- 10
- 平均マージ
- 4日 17時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DiamondLightSource/python-copier-template のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
-
documentation good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/python-copier-template の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vercel-labs/just-bash#464 ·
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Automattic/safe-publish#594 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug feat:crypto feat:utils
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100