Improve CORE_DST handling
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
調査の方向性
Read .env.example, the Compose file, and docker/orchestrator/entrypoint.sh, focusing on CORE_DST, volume paths, and the reload function. Remove the configuration defaults described in the issue while keeping the paths available in the environment, then check the reload fallback for the specified pyproject.toml conditions. Done when users no longer need to configure CORE_DST and the package still installs correctly in the fallback cases.
索引モデルが issue の本文から書いたものです。
説明
The CORE_DST / *_DST variables came from CORE_OVERRIDE in the example-orchestrator repo. However, I don't think there's much value to keeping them, and they add some overhead to onboarding and finickiness to maintenance. Right now, @Mark90 reported issues leaving CORE_DST commented out.
We do still want to keep these consistent across files, though. To avoid magic paths getting thrown around, I recommend we:
- Remove these variables from
.env.example. Users shouldn't need to configure this. - Set
CORE_DSTas a top-level variable in the Compose file - Continue setting the paths in the
environment:section (so they're available to both Compose and the entry point)- i.e. don't remove
CORE_DST: ${CORE_DST}
- i.e. don't remove
- Get rid of the default case under
volumes:- e.g. replace
"${CORE_SRC:-./docker/overrides/orchestrator-core}:${CORE_DST:-/home/orchestrator/orchestrator-core}"with just"${CORE_SRC:-./docker/overrides/orchestrator-core}:${CORE_DST}"
- e.g. replace
- As a backup, update the
reloadfunction indocker/orchestrator/entrypoint.shto install the package via the projectpyproject.tomlif NOT-f ${pkg_dst}/pyproject.tomlORpkg_distis empty or unset.
- 主要言語
- Python
- スター
- 1
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
workfloworchestrator/orchestrator-dev のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
uv.lock not mounted対応中かも @eenblam が 10 日前に担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 25/100
-
Frontend has switched to pnpm対応中かも @eenblam が 10 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
workfloworchestrator/orchestrator-dev の issue をすべて見る
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信