canonical / canonical/layer-basic
Latest master doesn't have the basic hooks
- Vorherrschende Sprache
- Python
- Sterne
- 10
- Forks
- 42
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne mit dem Vergleich des Ordners hooks mit hook.template und reproduziere die gemeldete Ausgabe von charm build mit dem beschriebenen Setup von charm-tools 2.2.3. Ermittle, ob charm build die Hooks install, start, stop und config-changed erzeugen sollte; abgeschlossen ist die Aufgabe, wenn das erwartete Verhalten wiederhergestellt oder eindeutig dokumentiert ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- build-system
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100