canonical / canonical/layer-basic

Latest master doesn't have the basic hooks

Aperta
#128 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
10
Fork
42
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia confrontando la cartella hooks con hook.template e riproduci l'output segnalato di charm build usando la configurazione di charm-tools 2.2.3 descritta. Determina se charm build debba generare gli hook install, start, stop e config-changed; il lavoro è completato quando il comportamento previsto è stato ripristinato o documentato chiaramente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
build-system
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.