gmoirod
(Guillaume Moirod)
June 28, 2022, 7:28pm
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 Like
RGJ
(Richard - Communiteq)
June 28, 2022, 10:48pm
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 Likes
sam
(Sam Saffron)
June 29, 2022, 12:58am
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 Like
gmoirod
(Guillaume Moirod)
June 29, 2022, 8:02am
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)
June 29, 2022, 3:00pm
5
Yes, any normal git command or flag will work there.
2 Likes
gmoirod
(Guillaume Moirod)
June 30, 2022, 7:56am
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 Like
gmoirod
(Guillaume Moirod)
July 21, 2022, 4:36pm
7
Is this commit bringing back compatibility for “stable” version ?
committed 09:56AM - 05 Jul 22 UTC
1 Like
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)
July 25, 2022, 7:35am
9
I confirm : I updated to the latest commit while in “stable” discourse branch and it is good now
2 Likes