canonical / canonical/layer-basic
Latest master doesn't have the basic hooks
- 主要言語
- Python
- スター
- 10
- フォーク
- 42
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
It seems like the latest master remove the basic hooks from the hooks folder.
I saw the comment on the latest commit that affected the hooks folder:
> This also finishes the move to hook.template since `charm build` has
> supported binding from there for a while now.
Although, running `charm build` on my charm doesn't seem to create the hooks, but rather complains about the lack of hooks with the following output:
> [abso-magento1] proof: I: missing recommended hook install
> [abso-magento1] proof: I: missing recommended hook start
> [abso-magento1] proof: I: missing recommended hook stop
> [abso-magento1] proof: I: missing recommended hook config-changed
I'm not sure if it should've created the hooks automatically? or if I should copy the template and paste them into my charms?
I'm using charm-tools 2.2.3 for MacOS through Homebrew.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず hooks フォルダーと hook.template を比較し、記載されている charm-tools 2.2.3 のセットアップを使って報告された charm build の出力を再現します。charm build が install、start、stop、config-changed のフックを生成すべきかを判断します。期待される動作が復元されるか、明確に文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100