Add a flag to restart development on provision
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Trace the trellis provision command and its --tags handling, then inspect the vm/vagrant stop/start flow and the provisioning step that runs “Setup composer authentications.” Done means a reload option mounts site folders before provisioning so the example command succeeds without manually stopping and starting the VM.
索引モデルが issue の本文から書いたものです。
説明
Summary
Would a flag to also restart the vm on provision be possible, something like trellis provision --reload --tags wordpress development (taking reload from vagrant)?
Currently to perform actions such as adding a new site, assuming the vm/vagrant is running, you must do the following:
trellis vm stop(ortrellis downfor vagrant)trellis vm start(ortrellis upfor vagrant)trellis provision --tags wordpress development
If you don't perform these steps, the provision fails on "Setup composer authentications":
TASK [wordpress-install : Setup composer authentications (HTTP Basic) - example.com] ***
failed: [default] (item=default-type.composer.deliciousbrains.com) => {"ansible_loop_var": "item", "changed": false, "item": {"hostname": "composer.deliciousbrains.com", "password": "hahayeahright", "username": "notleavingthishere"}, "msg": "In ConfigCommand.php line 218: File \"./composer.json\" cannot be found in the current directory config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [-j|--json] [-m|--merge] [--append] [--source] [--] [<setting-key> [<setting-value>...]]", "stdout": "\nIn ConfigCommand.php line 218:\n \n File \"./composer.json\" cannot be found in the current directory [the rest redacted, you get the gist]
This is because the folders haven't been mounted yet. Navigating to the site folder within the vm/vagrant box shows only an empty web folder, hence the composer.json cannot be found error.
Additional context
Originally posted by @dalepgrant in https://github.com/roots/trellis-cli/issues/421#issuecomment-2274692127
As ever, thank you Roots team 🙏
- 主要言語
- Go
- スター
- 169
- フォーク
- 31
- 平均マージ
- 1時間 2分
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
roots/trellis-cli のほかの issue
-
GoReleaser: Switch to `homebrew_casks` from `brews`対応中かも @tangrufus が 214 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
roots/trellis-cli#669 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
roots/trellis-cli#670 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
roots/trellis-cli#504 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
❤️ as a developer i need to generate new salts in vaults for each environment when cloning a template repo using radicle/trellis so we can have better boilerplates対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
roots/trellis-cli#426 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
roots/trellis-cli#408 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
roots/trellis-cli の issue をすべて見る
似ている issue
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
harvester/harvester#12311 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
verifyrun --bracket-digest --credit: relative --witness is could-not-check, absolute path creditsオープンbug effort:s impact:low raised-by:desk risk:low
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
medici-finance/assay#6580 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
blinklabs-io/gouroboros#3026 ·
メンテナーはふだん 1 日以内に返信