gmoirod
(Guillaume Moirod)
28.Июнь.2022 19:28:40
1
Hi !
Changes in commit FEATURE: Allow excluding groups from leaderboards (#37) · discourse/discourse-gamification@ac393c7 · GitHub , file db/migrate/20220623182333_add_excluded_groups_to_leaderboards.rb breaks when upgrading on a “stable” Discourse install.
It happened previously in calendar plugin and fixed by this commit : FIX: Stable core still needs a 6.1 migration (#285) · discourse/discourse-calendar@259f7bf · GitHub
Could you bring back compatibility please ?
By the way, i did not see any branch or tag for plugins. Would it be nice to get a “stable” version of plugins like for Discourse ?
1 лайк
RGJ
(Richard - Communiteq)
28.Июнь.2022 22:48:28
2
There is .discourse-compatibility and when that is not honored we at Communiteq keep a large amount of working forks for stable on https://github.com/discourse-plugins/
3 лайка
sam
(Sam Saffron)
29.Июнь.2022 00:58:39
3
discourse-gamification is a very new plugin, we do not expect to support it on the stable version of discourse. The first officially supported stable version will be on the next release of Discourse.
That said @Falco I have been using ActiveRecord::Migration[6.0] in a few places for easy cross compatibility.
1 лайк
gmoirod
(Guillaume Moirod)
29.Июнь.2022 08:02:06
4
Otherwise i suppose i can give a git ref on my app.yaml file to pin a precise commit of the plugin no ?
Falco
(Falco)
29.Июнь.2022 15:00:54
5
Yes, any normal git command or flag will work there.
2 лайка
gmoirod
(Guillaume Moirod)
30.Июнь.2022 07:56:29
6
Didn’t find a convenient git command to do this but this below in container config did the trick :
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/discourse-gamification && cd discourse-gamification && git checkout 48b2decfbefda6044953ca0413e45ca3cc18b156
1 лайк
gmoirod
(Guillaume Moirod)
21.Июль.2022 16:36:50
7
Is this commit bringing back compatibility for “stable” version ?
committed 09:56AM - 05 Jul 22 UTC
1 лайк
I believe so, but perhaps @hyphalos can confirm it’s working for them?
Awesome, thanks for your response @JammyDodger ! I ended up forking it but looks like they accepted my PR, so I’ll revert back to their repo.
gmoirod
(Guillaume Moirod)
25.Июль.2022 07:35:17
9
I confirm : I updated to the latest commit while in “stable” discourse branch and it is good now
2 лайка