RGJ
(Richard - Communiteq)
7 Julio, 2023 08:31
1
Actualmente es imposible instalar el componente discourse-gifs en estable.
Al añadir el componente de tema falla con un error de servidor 500.
Esto está sucediendo porque el archivo .discourse-compatibility file contiene una referencia inválida, el hash 4ce8ea7496fa630246e17a62a8bf87298338ed25 no existe. @j.jaffeux ¿tienes alguna idea de cuál debería ser el hash?
2 Me gusta
nat
(Natalie T)
10 Julio, 2023 09:18
2
Ah, 4ce8ea7496fa630246e17a62a8bf87298338ed25 está disponible en main.
committed 04:41PM - 29 May 23 UTC
Usage:
```
api.sendChatMessage(channelId, message, { threadId: 6 });
```
Por separado, creo que también tenemos que subir esa línea a 3.1.0.beta5 3.1.0.beta4 (en lugar de 3.1.0.beta3) si miramos este commit de arriba.
Se lo dejo a Joffrey.
4 Me gusta
nat
(Natalie T)
12 Julio, 2023 07:52
10
Probé esta corrección localmente y debería estar resuelta aquí (la PR proporciona una descripción del problema):
main ← update-discourse-compat
opened 07:47AM - 12 Jul 23 UTC
`.discourse-compatibility` can be quite confusing, but the gist of it is:
✔️ `… <discourse-core-version>: theme-sha`
❌ `<discourse-core-version>: discourse-core-sha`
Scenario:
Discourse core current version is `3.1.0.beta5`, and I make a commit to core that defines a new API.
In my plugin / theme, I make a commit that uses that API. That commit's sha is `eb3ec48c`.
The values that go into the compat file is:
`3.1.0.beta5` `-1`: `eb3ec48c` `-1`
therefore
`3.1.0.beta4: c48cf8812c3d`
Related:
- Solves https://meta.discourse.org/t/invalid-hash-in-discourse-compatiblity/270865/2
- https://github.com/discourse/discourse-gifs/pull/38
- https://github.com/discourse/discourse/pull/21783
6 Me gusta
nat
(Natalie T)
Cerrado
15 Julio, 2023 00:00
11
Este tema se cerró automáticamente después de 2 días. Ya no se permiten nuevas respuestas.