PHP plugin - cannot easily run multiple versions concurrently
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by reading the PHP plugin and the automatic plugin-inclusion mechanism; the issue does not identify their file paths, so locate them in the repository. Then determine how package versions select plugins and how version-specific environment variables affect process-compose. Done means multiple PHP versions can run concurrently with the appropriate plugins and the behavior is covered by tests.
索引モデルが issue の本文から書いたものです。
説明
What problem are you trying to solve?
Hello,
Use case
I want to build a dev stack for our dev team based on devbox. The full featured application is micro-services oriented, so running a fully working application requires to run multiple smaller projects simultaneously. Those applications are mostly in PHP, but the required versions are not always the same. To avoid running a devbox for each project, which would be perfect to manage versions but hard to orchestrate and resource consuming (n web server process and m PHP FPM while 1 web server and less PHP FPM are really required).
What I am willing to achieve
A single stack built on devbox running a single web server (nginx) and multiple PHP-FPM to run all micro-services simultaneously from a centralized.
What makes it hard
Currently, when a PHP package is added, the generic PHP plugin is enabled. If another PHP package is added, the same plugin is used and that forbids to run concurrent PHP FPM servers with process-compose.
Good to know
Devbox is great, I love it :)
What solution would you like?
Solution : Split the official PHP plugin into PHP plugins by version
Duplicate the official PHP plugin : one per version (probably minor versions : 7.4, 8.0, 8.1, ...)
Each plugin has then to be modified to use version specific env vars.
I guess that is the main change on the plugin itself.
The other modification is probably to be done on the automatic plugin inclusion mechanism that should include the right plugin depending on the adde PHP package version (I do not know how that is done at the time and cannot evaluate the impact of such a change).
Main advantage : It would benefit to all devbox users.
Of course, I would be glad to participate actively to the implementation.
Alternatives you've considered
Selfish solution : create my own private plugins based on the official PHP plugins
I guess I would :
- create thoses plugins by version in a private repo
- disable php plugin
- include manually the plugins by version in the full stack devbox config
- 主要言語
- Go
- スター
- 12.4k
- フォーク
- 358
- 平均マージ
- 17時間 12分
- マージ済み PR(30日)
- 31
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jetify-com/devbox のほかの issue
-
feature triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
jetify-com/devbox#3038 ·
メンテナーはふだん 1 日以内に返信
-
pulumi is outdatedオープンbug p4 package processed triage unrelated
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
jetify-com/devbox#2898 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
p4 processed unrelated
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
jetify-com/devbox#2750 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Storydenオープンp4 package processed triage unrelated
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
jetify-com/devbox#2685 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
looks easy p4 package processed triage
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
jetify-com/devbox#2656 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
jetify-com/devbox の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
blocked-needs-validation bug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
projectcapsule/capsule#2280 ·
メンテナーはふだん 1 日以内に返信
-
bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
kerti/balances-v2#801 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
[BUG] AdvancedCronJob validating webhook reports incorrect field paths for concurrencyPolicy and pod templates対応中かも @bhuvan-somisetty が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openkruise/kruise#2650 ·
メンテナーはふだん 1 日以内に返信