RGJ
(Richard - Communiteq)
7 Luglio 2023, 8:31am
1
Al momento è impossibile installare il componente discourse-gifs su stabile.
L’aggiunta del componente tema fallisce con un errore del server 500.
Ciò accade perché il file .discourse-compatibility file contiene un riferimento non valido, l’hash 4ce8ea7496fa630246e17a62a8bf87298338ed25 non esiste. @j.jaffeux hai qualche idea su quale dovrebbe essere l’hash?
2 Mi Piace
nat
(Natalie T)
10 Luglio 2023, 9:18am
2
Ah, 4ce8ea7496fa630246e17a62a8bf87298338ed25 è disponibile su main.
committed 04:41PM - 29 May 23 UTC
Usage:
```
api.sendChatMessage(channelId, message, { threadId: 6 });
```
Separately, I think we have to bump that line up to 3.1.0.beta5 3.1.0.beta4 (instead of 3.1.0.beta3) as well looking at this commit above?
Will leave this to Joffrey.
4 Mi Piace
nat
(Natalie T)
12 Luglio 2023, 7:52am
10
Ho testato questa correzione localmente e dovrebbe essere risolta qui (la PR fornisce una descrizione 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 Mi Piace
nat
(Natalie T)
Chiuso
15 Luglio 2023, 12:00am
11
Questo argomento è stato chiuso automaticamente dopo 2 giorni. Non sono più consentite nuove risposte.