canonical / canonical/layer-basic

Latest master doesn't have the basic hooks

Abierto
#128 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
10
Forks
42
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza comparando la carpeta hooks con hook.template y reproduce la salida informada de charm build usando la configuración de charm-tools 2.2.3 descrita. Determina si charm build debería generar los hooks install, start, stop y config-changed; se considera terminado cuando se haya restaurado el comportamiento esperado o se haya documentado claramente.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
build-system
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.